Out-of-bounds write in Mozilla Firefox - CVE-2020-6822

 

Out-of-bounds write in Mozilla Firefox - CVE-2020-6822

Published: April 7, 2020


Vulnerability identifier: #VU26650
CSH Severity: High
CVSS v4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2020-6822
CWE-ID: CWE-787
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 a boundary condition in GMPDecodeData when processing images larger than 4Gb on 32-bit builds. A remote attacker can create a specially crafted image, trick the victim into opening it, trigger out-of-bounds write and execute arbitrary code on the target system.


Affected software

Mozilla Firefox
Firefox ESR
Gentoo Linux
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, big endian
Red Hat Enterprise Linux for Scientific Computing
CentOS
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for Power, little endian - Extended Update Support
Red Hat Enterprise Linux for x86_64 - Extended Update Support
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Slackware Linux
Opensuse
Red Hat Enterprise Linux Server for x86_64 - Update Services for SAP Solutions
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
firefox (Ubuntu package)
firefox-esr (Debian package)
thunderbird (Debian package)
firefox (Alpine package)
thunderbird (Red Hat package)
firefox-esr (Alpine package)
firefox (Red Hat package)
thunderbird (Ubuntu package)
mozjs68 (Alpine package)
thunderbird (Alpine package)
Mozilla Thunderbird

How to mitigate CVE-2020-6822

Install updates from vendor's website.

Mozilla Firefox - update to 75.0
firefox (Ubuntu package) - addressed in versions 75.0+build3-0ubuntu0.16.04.1, 75.0+build3-0ubuntu0.18.04.1, 75.0+build3-0ubuntu0.19.10.1
firefox-esr (Debian package) - addressed in versions 68.7.0esr-1~deb9u1, 68.7.0esr-1~deb10u1
thunderbird (Debian package) - addressed in versions 1:68.7.0-1~deb9u1, 1:68.7.0-1~deb10u1
Firefox ESR - update to 68.7.0
Mozilla Thunderbird - update to 68.7.0
firefox (Alpine package) - update to 75.0-r0
thunderbird (Red Hat package) - addressed in versions 68.7.0-1.el6_10, 68.7.0-1.el7_8, 68.7.0-1.el8_0, 68.7.0-1.el8_1
firefox-esr (Alpine package) - update to 68.7.0-r0
firefox (Red Hat package) - addressed in versions 68.7.0-2.el6_10, 68.7.0-2.el7_8, 68.7.0-2.el8_0, 68.7.0-2.el8_1
thunderbird (Ubuntu package) - update to 1:68.7.0+build1-0ubuntu0.16.04.2
mozjs68 (Alpine package) - update to 68.7.0-r0
thunderbird (Alpine package) - update to 68.8.0-r0

External References

Related Security Bulletins