Integer overflow in Mozilla Firefox - CVE-2020-12422

 

Integer overflow in Mozilla Firefox - CVE-2020-12422

Published: July 2, 2020 / Updated: July 31, 2020


Vulnerability identifier: #VU29461
CSH Severity: High
CVSS v4: 8.5 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2020-12422
CWE-ID: CWE-190
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to integer overflow within the nsJPEGEncoder::emptyOutputBuffer function when processing JPEG images. A remote attacker can create a specially crafted JPEG image, trick the victim into visiting a web page with such an image, trigger integer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

Mozilla Firefox
Gentoo Linux
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for Power, big endian
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux Server - TUS
Opensuse
Ubuntu
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
Red Hat Enterprise Linux Server for x86_64 - Update Services for SAP Solutions
firefox (Alpine package)
firefox (Red Hat package)
firefox (Ubuntu package)
Mozilla Thunderbird

How to mitigate CVE-2020-12422

Install updates from vendor's website.

Mozilla Firefox - update to 78.0.1
Mozilla Thunderbird - addressed in versions 68.10.0, 78.0
firefox (Alpine package) - update to 78.0.1-r0
firefox (Red Hat package) - addressed in versions 78.2.0-2.el8_2, 78.2.0-3.el8_0, 78.2.0-3.el8_1, 78.3.0-1.el7_9
firefox (Ubuntu package) - addressed in versions 78.0.1+build1-0ubuntu0.16.04.1, 78.0.1+build1-0ubuntu0.18.04.1, 78.0.1+build1-0ubuntu0.19.10.1, 78.0.1+build1-0ubuntu0.20.04.1

External References

Related Security Bulletins