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)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
firefox (PTS)sid130.0-2fixed
nss (PTS)jessie, jessie (lts)2:3.26-1+debu8u18vulnerable
stretch (security)2:3.26.2-1.1+deb9u5vulnerable
stretch (lts), stretch2:3.26.2-1.1+deb9u7vulnerable
buster (security), buster, buster (lts)2:3.42.1-1+deb10u8vulnerable
bullseye (security), bullseye2:3.61-1+deb11u3vulnerable
bookworm2:3.87.1-1vulnerable
trixie, sid2:3.103-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
firefoxsource(unstable)128.0-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