CVE-2024-7531

NameCVE-2024-7531
DescriptionCalling `PK11_Encrypt()` in NSS using CKM_CHACHA20 and the same buffer for input and output can result in plaintext on an Intel Sandy Bridge processor. In Firefox this only affects the QUIC header protection feature when the connection is using the ChaCha20-Poly1305 cipher suite. The most likely outcome is connection failure, but if the connection persists despite the high packet loss it could be possible for a network observer to identify packets as coming from the same source despite a network path change. This vulnerability affects Firefox < 129, Firefox ESR < 115.14, and Firefox ESR < 128.1.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-5740-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
firefox (PTS)sid132.0.2-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~deb10u1vulnerable
bullseye115.14.0esr-1~deb11u1fixed
bullseye (security)128.4.0esr-1~deb11u1fixed
bookworm128.3.1esr-1~deb12u1fixed
bookworm (security)128.4.0esr-1~deb12u1fixed
sid, trixie128.4.0esr-1fixed
nss (PTS)jessie, jessie (lts)2:3.26-1+debu8u19fixed
stretch (security)2:3.26.2-1.1+deb9u5fixed
stretch (lts), stretch2:3.26.2-1.1+deb9u8fixed
buster, buster (lts)2:3.42.1-1+deb10u9fixed
buster (security)2:3.42.1-1+deb10u8fixed
bullseye2:3.61-1+deb11u3fixed
bullseye (security)2:3.61-1+deb11u4fixed
bookworm2:3.87.1-1vulnerable
bookworm (security)2:3.87.1-1+deb12u1vulnerable
trixie2:3.105-2fixed
sid2:3.106-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
firefoxsource(unstable)129.0-1
firefox-esrsourcejessie(unfixed)end-of-life
firefox-esrsourcestretch(unfixed)end-of-life
firefox-esrsourcebuster(unfixed)end-of-life
firefox-esrsourcebullseye115.14.0esr-1~deb11u1DSA-5740-1
firefox-esrsourcebookworm115.14.0esr-1~deb12u1DSA-5740-1
firefox-esrsource(unstable)115.14.0esr-1
nsssourcejessie(not affected)
nsssourcestretch(not affected)
nsssourcebuster(not affected)
nsssourcebullseye(not affected)
nsssource(unstable)2:3.103-1

Notes

[bookworm] - nss <ignored> (Minor issue)
[bullseye] - nss <not-affected> (Vulnerable code introduced in 3.72)
https://bugzilla.mozilla.org/show_bug.cgi?id=1905691
https://www.mozilla.org/en-US/security/advisories/mfsa2024-33/#CVE-2024-7531
https://www.mozilla.org/en-US/security/advisories/mfsa2024-34/#CVE-2024-7531
https://firefox-source-docs.mozilla.org/security/nss/releases/nss_3_102_1.html
Fixed by: https://hg.mozilla.org/projects/nss/rev/525c5044cc9e53f5015c697b04b1405df91003ac
Fixed by: https://hg.mozilla.org/projects/nss/rev/b0b0b68f8c764bf7848ca94f8b011e4bf192dc3f (NSS_3_90_BRANCH)
https://groups.google.com/a/mozilla.org/g/dev-tech-crypto/c/h3Q2S0n2vTg/m/abQtMoYYAgAJ
[buster] - nss <not-affected> (vulnerable code not present in nss 3.42.1)
[stretch] - nss <not-affected> (vulnerable code not present in nss 3.26.2)
[jessie] - nss <not-affected> (vulnerable code not presnet in nss 3.26)

Search for package or bug name: Reporting problems