CVE-2017-7805
During 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.
What to do
Fixed builds are available from Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 18.04 | firefox | Fixed | 56.0+build6-0ubuntu1 | UBUNTU-CVE-2017-7805 |
| Ubuntu 18.04 | nss | Fixed | 2:3.32-1ubuntu3 | UBUNTU-CVE-2017-7805 |
| Ubuntu 18.04 | thunderbird | Fixed | 1:52.4.0+build1-0ubuntu2 | UBUNTU-CVE-2017-7805 |
| Ubuntu 16.04 | firefox | Fixed | 56.0+build6-0ubuntu0.16.04.1 | UBUNTU-CVE-2017-7805 |
| Ubuntu 16.04 | nss | Fixed | 2:3.28.4-0ubuntu0.16.04.3 | UBUNTU-CVE-2017-7805 |
| Ubuntu 16.04 | thunderbird | Fixed | 1:52.4.0+build1-0ubuntu0.16.04.2 | UBUNTU-CVE-2017-7805 |
| Ubuntu 14.04 | firefox | Fixed | 56.0+build6-0ubuntu0.14.04.1 | UBUNTU-CVE-2017-7805 |
| Ubuntu 14.04 | nss | Fixed | 2:3.28.4-0ubuntu0.14.04.3 | UBUNTU-CVE-2017-7805 |
| Ubuntu 14.04 | thunderbird | Fixed | 1:52.4.0+build1-0ubuntu0.14.04.2 | UBUNTU-CVE-2017-7805 |
| Debian 14 | firefox-esr | Fixed | 52.4.0esr-2 | DEBIAN-CVE-2017-7805 |
| Debian 14 | nss | Fixed | 2:3.33-1 | DEBIAN-CVE-2017-7805 |
| Debian 14 | thunderbird | Fixed | 1:52.4.0-1 | DEBIAN-CVE-2017-7805 |
| Debian 13 | firefox-esr | Fixed | 52.4.0esr-2 | DEBIAN-CVE-2017-7805 |
| Debian 13 | nss | Fixed | 2:3.33-1 | DEBIAN-CVE-2017-7805 |
| Debian 13 | thunderbird | Fixed | 1:52.4.0-1 | DEBIAN-CVE-2017-7805 |
| Debian 12 | firefox-esr | Fixed | 52.4.0esr-2 | DEBIAN-CVE-2017-7805 |
| Debian 12 | nss | Fixed | 2:3.33-1 | DEBIAN-CVE-2017-7805 |
| Debian 12 | thunderbird | Fixed | 1:52.4.0-1 | DEBIAN-CVE-2017-7805 |
| Red Hat Enterprise Linux 7 | nss | Fixed | 0:3.28.4-12.el7_4 | RHSA-2017:2832 |
| Red Hat Enterprise Linux 7 | nss-devel | Fixed | 0:3.28.4-12.el7_4 | RHSA-2017:2832 |
| Red Hat Enterprise Linux 7 | nss-pkcs11-devel | Fixed | 0:3.28.4-12.el7_4 | RHSA-2017:2832 |
| Red Hat Enterprise Linux 7 | nss-sysinit | Fixed | 0:3.28.4-12.el7_4 | RHSA-2017:2832 |
| Red Hat Enterprise Linux 7 | nss-tools | Fixed | 0:3.28.4-12.el7_4 | RHSA-2017:2832 |
| Red Hat Enterprise Linux 6 | nss | Fixed | 0:3.28.4-4.el6_9 | RHSA-2017:2832 |
| Red Hat Enterprise Linux 6 | nss-devel | Fixed | 0:3.28.4-4.el6_9 | RHSA-2017:2832 |
| Red Hat Enterprise Linux 6 | nss-pkcs11-devel | Fixed | 0:3.28.4-4.el6_9 | RHSA-2017:2832 |
| Red Hat Enterprise Linux 6 | nss-sysinit | Fixed | 0:3.28.4-4.el6_9 | RHSA-2017:2832 |
| Red Hat Enterprise Linux 6 | nss-tools | Fixed | 0:3.28.4-4.el6_9 | RHSA-2017:2832 |
| Red Hat Enterprise Linux 5 | nss | Will not fix Will not fix |
What the vendor says
As published in the CVE record by mozilla, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Mozilla Firefox: affected: unspecified to before 56; fixed in
56 - Mozilla Firefox ESR: affected: unspecified to before 52.4; fixed in
52.4 - Mozilla Thunderbird: affected: unspecified to before 52.4; fixed in
52.4
Vendor advisories:
- https://access.redhat.com/errata/RHSA-2017:2832 (vendor-advisory)
- https://www.debian.org/security/2017/dsa-4014 (vendor-advisory)
- https://www.debian.org/security/2017/dsa-3998 (vendor-advisory)
- https://www.debian.org/security/2017/dsa-3987 (vendor-advisory)
- https://security.gentoo.org/glsa/201803-14 (vendor-advisory)
References
- https://access.redhat.com/errata/RHSA-2017:2832
- http://www.securityfocus.com/bid/101059
- https://lists.debian.org/debian-lts-announce/2017/11/msg00000.html
- https://www.mozilla.org/security/advisories/mfsa2017-22/
- https://bugzilla.mozilla.org/show_bug.cgi?id=1377618
- http://www.securitytracker.com/id/1039465
- https://www.mozilla.org/security/advisories/mfsa2017-21/
- https://www.debian.org/security/2017/dsa-4014
- http://www.oracle.com/technetwork/security-advisory/cpuoct2018-4428296.html
- https://www.mozilla.org/security/advisories/mfsa2017-23/
- https://www.debian.org/security/2017/dsa-3998
- https://www.debian.org/security/2017/dsa-3987
- https://security.gentoo.org/glsa/201803-14
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.