CVE-2024-6609

NameCVE-2024-6609
DescriptionWhen almost out-of-memory an elliptic curve key which was never allocated could have been freed again. This vulnerability affects Firefox < 128 and Thunderbird < 128.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-3937-1, DSA-5807-1, ELA-1231-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
firefox (PTS)sid132.0.2-1fixed
nss (PTS)jessie, jessie (lts)2:3.26-1+debu8u19fixed
stretch (security)2:3.26.2-1.1+deb9u5vulnerable
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+deb10u8vulnerable
bullseye2:3.61-1+deb11u3vulnerable
bullseye (security)2:3.61-1+deb11u4fixed
bookworm2:3.87.1-1vulnerable
bookworm (security)2:3.87.1-1+deb12u1fixed
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)128.0-1
nsssourcejessie2:3.26-1+debu8u19ELA-1231-1
nsssourcestretch2:3.26.2-1.1+deb9u8ELA-1231-1
nsssourcebuster2:3.42.1-1+deb10u9ELA-1231-1
nsssourcebullseye2:3.61-1+deb11u4DLA-3937-1
nsssourcebookworm2:3.87.1-1+deb12u1DSA-5807-1
nsssource(unstable)2:3.101-1

Notes

https://www.mozilla.org/en-US/security/advisories/mfsa2024-29/#CVE-2024-6609
To address CVE in older versions of src:nss what is needed is to add the error
handling code (confirmed by upstream):
https://searchfox.org/nss/rev/ba9330537e6e94971de8b9bc49460891b23afd4f/lib/freebl/ec.c#379-382
to the ec_NewKey function, in the cleanup section, after mp_clear and
before `if (rv)`.

Search for package or bug name: Reporting problems