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 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
CentOS
Red Hat Enterprise Linux for Scientific Computing
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
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
thunderbird (Red Hat package)
firefox (Red Hat package)
firefox (Alpine package)
firefox-esr (Alpine package)
mozjs68 (Alpine package)
thunderbird (Alpine package)
firefox (Ubuntu package)
firefox-esr (Debian package)
thunderbird (Debian package)
thunderbird (Ubuntu package)
Mozilla Thunderbird

How to mitigate CVE-2020-6822

Install updates from vendor's website.

Mozilla Firefox - update to 75.0
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 (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
Firefox ESR - update to 68.7.0
Mozilla Thunderbird - update to 68.7.0
firefox (Alpine package) - update to 75.0-r0
firefox-esr (Alpine package) - update to 68.7.0-r0
mozjs68 (Alpine package) - update to 68.7.0-r0
thunderbird (Alpine package) - update to 68.8.0-r0
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
thunderbird (Ubuntu package) - addressed in versions 1:68.7.0+build1-0ubuntu0.16.04.2, 1:68.7.0+build1-0ubuntu0.18.04.1, 1:68.7.0+build1-0ubuntu0.19.10.1

External References

Related Security Bulletins