CVE-2022-40958

NameCVE-2022-40958
DescriptionBy injecting a cookie with certain special characters, an attacker on a shared subdomain which is not a secure context could set and thus overwrite cookies from a secure context, leading to session fixation and other attacks. This vulnerability affects Firefox ESR < 102.3, Thunderbird < 102.3, and Firefox < 105.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-3121-1, DLA-3123-1, DSA-5237-1, DSA-5238-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
firefox (PTS)sid133.0.3-1fixed
firefox-esr (PTS)bullseye115.14.0esr-1~deb11u1fixed
bullseye (security)128.5.0esr-1~deb11u1fixed
bookworm128.3.1esr-1~deb12u1fixed
bookworm (security)128.5.0esr-1~deb12u1fixed
trixie128.5.0esr-1fixed
sid128.5.1esr-1fixed
thunderbird (PTS)bullseye1:115.12.0-1~deb11u1fixed
bullseye (security)1:128.5.0esr-1~deb11u1fixed
bookworm1:115.16.0esr-1~deb12u1fixed
bookworm (security)1:128.5.0esr-1~deb12u1fixed
sid, trixie1:128.5.2esr-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
firefoxsource(unstable)105.0-1
firefox-esrsourcebuster102.3.0esr-1~deb10u2DLA-3121-1
firefox-esrsourcebullseye102.3.0esr-1~deb11u1DSA-5237-1
firefox-esrsource(unstable)102.3.0esr-1
thunderbirdsourcebuster1:102.3.0-1~deb10u1DLA-3123-1
thunderbirdsourcebullseye1:102.3.0-1~deb11u1DSA-5238-1
thunderbirdsource(unstable)1:102.3.0-1

Notes

https://www.mozilla.org/en-US/security/advisories/mfsa2022-40/#CVE-2022-40958
https://www.mozilla.org/en-US/security/advisories/mfsa2022-41/#CVE-2022-40958
https://www.mozilla.org/en-US/security/advisories/mfsa2022-42/#CVE-2022-40958

Search for package or bug name: Reporting problems