Name | CVE-2024-6609 |
Description | When 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-3937-1, DSA-5807-1, ELA-1231-1 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
firefox (PTS) | sid | 133.0.3-1 | fixed |
nss (PTS) | jessie, jessie (lts) | 2:3.26-1+debu8u19 | fixed |
| stretch (security) | 2:3.26.2-1.1+deb9u5 | vulnerable |
| stretch (lts), stretch | 2:3.26.2-1.1+deb9u8 | fixed |
| buster, buster (lts) | 2:3.42.1-1+deb10u9 | fixed |
| buster (security) | 2:3.42.1-1+deb10u8 | vulnerable |
| bullseye | 2:3.61-1+deb11u3 | vulnerable |
| bullseye (security) | 2:3.61-1+deb11u4 | fixed |
| bookworm | 2:3.87.1-1 | vulnerable |
| bookworm (security) | 2:3.87.1-1+deb12u1 | fixed |
| sid, trixie | 2:3.106-1 | fixed |
The information below is based on the following data on fixed versions.
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)`.