CVE-2017-7805

NameCVE-2017-7805
DescriptionDuring TLS 1.2 exchanges, handshake hashes are generated which point to a message buffer. This saved data is used for later messages but in some cases, the handshake transcript can exceed the space available in the current buffer, causing the allocation of a new buffer. This leaves a pointer pointing to the old, freed buffer, resulting in a use-after-free when handshake hashes are then calculated afterwards. This can result in a potentially exploitable crash. This vulnerability affects Firefox < 56, Firefox ESR < 52.4, and Thunderbird < 52.4.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-1118-1, DLA-1138-1, DLA-1153-1, DSA-3987-1, DSA-3998-1, DSA-4014-1
NVD severitymedium

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
firefox (PTS)sid72.0.2-1fixed
firefox-esr (PTS)jessie52.8.1esr-1~deb8u1fixed
jessie (security)68.4.0esr-1~deb8u1fixed
stretch60.7.1esr-1~deb9u1fixed
stretch (security)68.4.1esr-1~deb9u1fixed
buster68.2.0esr-1~deb10u1fixed
buster (security)68.4.1esr-1~deb10u1fixed
bullseye68.4.1esr-1fixed
sid68.4.2esr-1fixed
nss (PTS)jessie2:3.26-1+debu8u3fixed
jessie (security)2:3.26-1+debu8u10fixed
stretch (security), stretch2:3.26.2-1.1+deb9u1fixed
buster2:3.42.1-1+deb10u1fixed
buster (security)2:3.42.1-1+deb10u2fixed
bullseye, sid2:3.49.1-1fixed
thunderbird (PTS)jessie1:52.8.0-1~deb8u1fixed
jessie (security)1:68.4.1-1~deb8u1fixed
stretch1:60.8.0-1~deb9u1fixed
stretch (security)1:68.4.1-1~deb9u1fixed
buster1:60.9.0-1~deb10u1fixed
buster (security)1:68.4.1-1~deb10u1fixed
bullseye1:60.9.0-1fixed
sid1:68.4.2-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
firefoxsource(unstable)56.0-1
firefox-esrsource(unstable)52.4.0esr-2
firefox-esrsourcejessie52.4.0esr-1~deb8u1DSA-3987-1
firefox-esrsourcestretch52.4.0esr-1~deb9u1DSA-3987-1
firefox-esrsourcewheezy52.4.0esr-2~deb7u1DLA-1118-1
nsssource(unstable)2:3.33-1
nsssourcejessie2:3.26-1+debu8u3DSA-3998-1
nsssourcestretch2:3.26.2-1.1+deb9u1DSA-3998-1
nsssourcewheezy2:3.26-1+debu7u5DLA-1138-1
thunderbirdsource(unstable)1:52.4.0-1
thunderbirdsourcejessie1:52.4.0-1~deb8u1DSA-4014-1
thunderbirdsourcestretch1:52.4.0-1~deb9u1DSA-4014-1
thunderbirdsourcewheezy1:52.4.0-1~deb7u1DLA-1153-1

Notes

https://hg.mozilla.org/projects/nss/rev/839200ce0943166a079284bdf45dcc37bb672925
https://bugzilla.mozilla.org/show_bug.cgi?id=1377618 (not public)
https://www.mozilla.org/en-US/security/advisories/mfsa2017-21/#CVE-2017-7805
https://www.mozilla.org/en-US/security/advisories/mfsa2017-22/#CVE-2017-7805
https://www.mozilla.org/en-US/security/advisories/mfsa2017-23/#CVE-2017-7805

Search for package or bug name: Reporting problems