Quantum Secular Labs / Blog / Advisories
CVE-2017-7819: Mozilla Firefox: Use after free
CVE-2017-7819 is rated critical with a CVSS v3.0 base score of 9.8 and affects Mozilla Firefox, along with 6 other products in NVD’s configuration data. Per its scoring, it can be exploited over the network, without authentication, without any user interaction. The scored impact on confidentiality, integrity and availability is the highest available.
Vulnerability description
A use-after-free vulnerability can occur in design mode when image objects are resized if objects referenced during the resizing have been freed from memory. This results in a potentially exploitable crash. This vulnerability affects Firefox < 56, Firefox ESR < 52.4, and Thunderbird < 52.4.
Severity breakdown
CVSS v3.0 9.8: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack vector: Network. Exploitable remotely over the network, with no need for local or physical access.
- Attack complexity: Low. No special conditions; the attack can be repeated reliably.
- Privileges required: None. No account or prior access is needed.
- User interaction: None. No action from any user is needed.
- Scope: Unchanged. Impact stays within the vulnerable component.
- Confidentiality impact: High. Total loss of confidentiality; sensitive data can be fully disclosed.
- Integrity impact: High. Total loss of integrity; data or system state can be fully modified.
- Availability impact: High. Total loss of availability; the component can be shut down.
Underlying weakness
CWE-416: Use After Free
The product reuses or references memory after it has been freed. At some point afterward, the memory may be allocated again and saved in another pointer, while the original pointer references a location somewhere within the new allocation. Any operations using the original pointer are no longer valid because the memory belongs to the code that operates on the new pointer.
Affected products
- Mozilla Firefox: before 52.4.0; before 56.0
- Mozilla Thunderbird: before 52.4.0
- Red Hat Enterprise Linux Desktop: 6.0; 7.0
- Red Hat Enterprise Linux Server: 6.0; 7.0
- Red Hat Enterprise Linux Server Aus: 7.4
- Red Hat Enterprise Linux Server Eus: 7.5
- Red Hat Enterprise Linux Workstation: 6.0; 7.0
- Debian Linux: 7.0; 8.0; 9.0
References
- https://bugzilla.mozilla.org/show_bug.cgi?id=1380292
- https://www.mozilla.org/security/advisories/mfsa2017-21/
- https://www.mozilla.org/security/advisories/mfsa2017-22/
- https://www.mozilla.org/security/advisories/mfsa2017-23/
- http://www.securityfocus.com/bid/101055
- http://www.securitytracker.com/id/1039465
- https://access.redhat.com/errata/RHSA-2017:2831
- https://access.redhat.com/errata/RHSA-2017:2885
- https://lists.debian.org/debian-lts-announce/2017/11/msg00000.html
- https://security.gentoo.org/glsa/201803-14
- https://www.debian.org/security/2017/dsa-3987
- https://www.debian.org/security/2017/dsa-4014