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)sid132.0.1-1fixed
firefox-esr (PTS)jessie, jessie (lts)68.9.0esr-1~deb8u2vulnerable
stretch (security), stretch (lts), stretch91.11.0esr-1~deb9u1vulnerable
buster (security), buster, buster (lts)115.12.0esr-1~deb10u1fixed
bullseye115.14.0esr-1~deb11u1fixed
bullseye (security)128.4.0esr-1~deb11u1fixed
bookworm115.14.0esr-1~deb12u1fixed
bookworm (security)128.4.0esr-1~deb12u1fixed
trixie128.3.1esr-2fixed
sid128.4.0esr-1fixed
thunderbird (PTS)jessie, jessie (lts)1:68.9.0-1~deb8u2vulnerable
stretch (security), stretch (lts), stretch1:91.10.0-1~deb9u1vulnerable
buster (security), buster, buster (lts)1:115.12.0-1~deb10u1fixed
bullseye1:115.12.0-1~deb11u1fixed
bullseye (security)1:128.4.0esr-1~deb11u1fixed
bookworm1:115.12.0-1~deb12u1fixed
bookworm (security)1:128.4.0esr-1~deb12u1fixed
trixie1:128.4.0esr-1fixed
sid1:128.4.2esr-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
firefoxsource(unstable)105.0-1
firefox-esrsourcejessie(unfixed)end-of-life
firefox-esrsourcestretch(unfixed)end-of-life
firefox-esrsourcebuster102.3.0esr-1~deb10u2DLA-3121-1
firefox-esrsourcebullseye102.3.0esr-1~deb11u1DSA-5237-1
firefox-esrsource(unstable)102.3.0esr-1
thunderbirdsourcejessie(unfixed)end-of-life
thunderbirdsourcestretch(unfixed)end-of-life
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