Use after free in Mozilla Firefox
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Partial Red Hat: 16 fixed, 1 without a fix
Attack profile from CVSS 3.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-416 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Mozilla | Firefox | before 56 | 56 | Patch available | CNA |
| Mozilla | Firefox ESR | before 52.4 | 52.4 | Patch available | CNA |
| Mozilla | Thunderbird | before 52.4 | 52.4 | Patch available | CNA |
- Firefox VendorMozilla Affected before 56 Fixed in 56 Patch available CNA
- Firefox ESR VendorMozilla Affected before 52.4 Fixed in 52.4 Patch available CNA
- Thunderbird VendorMozilla Affected before 52.4 Fixed in 52.4 Patch available CNA
CPE configurations NVD · 6
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:mozilla:firefox:52.4.0:*:*:*:*:*:*:* | 52.4.0 | Vulnerable | Mozilla |
| cpe:2.3:a:mozilla:firefox:56.0:*:*:*:*:*:*:* | 56.0 | Vulnerable | Mozilla |
| cpe:2.3:a:mozilla:thunderbird:52.4.0:*:*:*:*:*:*:* | 52.4.0 | Vulnerable | Mozilla |
| cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Debian |
| cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* | 8.0 | Vulnerable | Debian |
| cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* | 9.0 | Vulnerable | Debian |
- cpe:2.3:a:mozilla:firefox:52.4.0:*:*:*:*:*:*:* Versions 52.4.0 Vulnerable ·Mozilla
- cpe:2.3:a:mozilla:firefox:56.0:*:*:*:*:*:*:* Versions 56.0 Vulnerable ·Mozilla
- cpe:2.3:a:mozilla:thunderbird:52.4.0:*:*:*:*:*:*:* Versions 52.4.0 Vulnerable ·Mozilla
- cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Debian
- cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Vulnerable ·Debian
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* Versions 9.0 Vulnerable ·Debian
Remediation
- Fix · CNA Firefox (Mozilla) Fixed in 56
- Fix · CNA Firefox ESR (Mozilla) Fixed in 52.4
- Fix · CNA Thunderbird (Mozilla) Fixed in 52.4
Red Hat 1 advisory
- RHSA-2017:2832 Released 2017-09-28 · Red Hat rating Importantnss security update
- Red Hat Enterprise Linux Client (v. 7) nss-3.28.4-12.el7_4, nss-sysinit-3.28.4-12.el7_4, nss-tools-3.28.4-12.el7_4
- Red Hat Enterprise Linux Client Optional (v. 7) nss-devel-3.28.4-12.el7_4, nss-pkcs11-devel-3.28.4-12.el7_4
- Red Hat Enterprise Linux ComputeNode (v. 7) nss-3.28.4-12.el7_4, nss-sysinit-3.28.4-12.el7_4, nss-tools-3.28.4-12.el7_4
- Red Hat Enterprise Linux ComputeNode Optional (v. 7) nss-devel-3.28.4-12.el7_4, nss-pkcs11-devel-3.28.4-12.el7_4
- Red Hat Enterprise Linux Desktop (v. 6) nss-3.28.4-4.el6_9, nss-sysinit-3.28.4-4.el6_9, nss-tools-3.28.4-4.el6_9
- Red Hat Enterprise Linux Desktop Optional (v. 6) nss-devel-3.28.4-4.el6_9, nss-pkcs11-devel-3.28.4-4.el6_9
- Red Hat Enterprise Linux HPC Node (v. 6) nss-3.28.4-4.el6_9, nss-sysinit-3.28.4-4.el6_9, nss-tools-3.28.4-4.el6_9
- Red Hat Enterprise Linux HPC Node Optional (v. 6) nss-devel-3.28.4-4.el6_9, nss-pkcs11-devel-3.28.4-4.el6_9
- Red Hat Enterprise Linux Server (v. 6) nss-3.28.4-4.el6_9, nss-3.28.4-4.el6_9.ppc, nss-devel-3.28.4-4.el6_9 +3
- Red Hat Enterprise Linux Server (v. 7) nss-3.28.4-12.el7_4, nss-3.28.4-12.el7_4.ppc, nss-devel-3.28.4-12.el7_4 +3
- Red Hat Enterprise Linux Server Optional (v. 6) nss-pkcs11-devel-3.28.4-4.el6_9, nss-pkcs11-devel-3.28.4-4.el6_9.ppc
- Red Hat Enterprise Linux Server Optional (v. 7) nss-pkcs11-devel-3.28.4-12.el7_4, nss-pkcs11-devel-3.28.4-12.el7_4.ppc
- Red Hat Enterprise Linux Workstation (v. 6) nss-3.28.4-4.el6_9, nss-devel-3.28.4-4.el6_9, nss-sysinit-3.28.4-4.el6_9 +1
- Red Hat Enterprise Linux Workstation (v. 7) nss-3.28.4-12.el7_4, nss-devel-3.28.4-12.el7_4, nss-sysinit-3.28.4-12.el7_4 +1
- Red Hat Enterprise Linux Workstation Optional (v. 6) nss-pkcs11-devel-3.28.4-4.el6_9
- Red Hat Enterprise Linux Workstation Optional (v. 7) nss-pkcs11-devel-3.28.4-12.el7_4
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Advisory ·
Mozilla Firefox, Firefox ESR, Thunderbird — GLSA-201803-14
21 records Highest priority Priority MEDIUM 13 MEDIUM, 8 LOW
Other records, highest priority first
- TI-2017-05404 Memory corruption in Mozilla ThunderbirdPriority MEDIUM 49
- TI-2017-05403 Memory corruption in Mozilla ThunderbirdPriority MEDIUM 49
- TI-2017-05441 Memory corruption in Mozilla FirefoxPriority MEDIUM 48
- Advisory ·
Mozilla Firefox, Firefox ESR, Thunderbird — DSA-3987
8 records Highest priority Priority MEDIUM 5 MEDIUM, 3 LOW
Other records, highest priority first
- TI-2017-05441 Memory corruption in Mozilla FirefoxPriority MEDIUM 48
- TI-2017-05436 Use after free in Mozilla FirefoxPriority MEDIUM 48
- TI-2017-05435 Use after free in Mozilla FirefoxPriority MEDIUM 48
Show 1 more group
- Advisory ·
Mozilla Firefox, Firefox ESR, Thunderbird — DSA-4014
8 records Highest priority Priority MEDIUM 5 MEDIUM, 3 LOW
Other records, highest priority first
- TI-2017-05441 Memory corruption in Mozilla FirefoxPriority MEDIUM 48
- TI-2017-05436 Use after free in Mozilla FirefoxPriority MEDIUM 48
- TI-2017-05435 Use after free in Mozilla FirefoxPriority MEDIUM 48
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 5 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux Client (v. 7) | Fixed | RHSA-2017:2832 |
| Red Hat Enterprise Linux Client Optional (v. 7) | Fixed | RHSA-2017:2832 |
| Red Hat Enterprise Linux ComputeNode (v. 7) | Fixed | RHSA-2017:2832 |
| Red Hat Enterprise Linux ComputeNode Optional (v. 7) | Fixed | RHSA-2017:2832 |
| Red Hat Enterprise Linux Desktop (v. 6) | Fixed | RHSA-2017:2832 |
| Red Hat Enterprise Linux Desktop Optional (v. 6) | Fixed | RHSA-2017:2832 |
| Red Hat Enterprise Linux HPC Node (v. 6) | Fixed | RHSA-2017:2832 |
| Red Hat Enterprise Linux HPC Node Optional (v. 6) | Fixed | RHSA-2017:2832 |
| Red Hat Enterprise Linux Server (v. 6) | Fixed | RHSA-2017:2832 |
| Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2017:2832 |
| Red Hat Enterprise Linux Server Optional (v. 6) | Fixed | RHSA-2017:2832 |
| Red Hat Enterprise Linux Server Optional (v. 7) | Fixed | RHSA-2017:2832 |
| Red Hat Enterprise Linux Workstation (v. 6) | Fixed | RHSA-2017:2832 |
| Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2017:2832 |
| Red Hat Enterprise Linux Workstation Optional (v. 6) | Fixed | RHSA-2017:2832 |
| Red Hat Enterprise Linux Workstation Optional (v. 7) | Fixed | RHSA-2017:2832 |
Timeline
- 2026-10-02 Threatist record created from CVE-2017-7805
- 2026-10-03 Alias added: GHSA-595h-pjc7-9xf6
References
Advisory 10
- RHSA-2017:2832
- [debian-lts-announce] 20171101 [SECURITY] [DLA 1153-1] icedove/thunderbird security update
- https://www.mozilla.org/security/advisories/mfsa2017-22/
- https://bugzilla.mozilla.org/show_bug.cgi?id=1377618
- https://www.mozilla.org/security/advisories/mfsa2017-21/
- DSA-4014
- https://www.mozilla.org/security/advisories/mfsa2017-23/
- DSA-3998
- DSA-3987
- GLSA-201803-14
More Mozilla Firefox vulnerabilities
- TI-2024-08981 Use after free in Mozilla Firefox KEVCVSS 3.1CRITICAL 9.8
- TI-2022-09832 Use after free in Mozilla Firefox KEVCVSS 3.1CRITICAL 9.6
- TI-2019-08769 Improper input validation in Mozilla Firefox ESR KEVCVSS 3.1CRITICAL 10.0
- TI-2010-03577 Mozilla Firefox 3.5.x through 3.5.14 and 3.6.x through 3.6.11, Thunderbird 3.1.6 before… KEVCVSS 3.1CRITICAL 9.8
- TI-2023-04799 Out-of-bounds write in Google Chrome KEVCVSS 3.1HIGH 8.8
- TI-2023-04477 Out-of-bounds write in Google Chrome KEVCVSS 3.1HIGH 8.8
Sources
- CVE-2017-7805 · CVE Program
- CVE-2017-7805 · NVD
- FIRST EPSS
- GHSA-595h-pjc7-9xf6 · GitHub Advisory Database · CC BY 4.0
- CVE-2017-7805 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences