Use-after-free in Firefox ESR and Mozilla Firefox - CVE-2020-12387

 

Use-after-free in Firefox ESR and Mozilla Firefox - CVE-2020-12387

Published: May 5, 2020


Vulnerability identifier: #VU27529
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-12387
CWE-ID: CWE-416
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to a use-after-free error caused by the race condition when running shutdown code for Web Worker. A remote attacker can create a specially crafted website, trick the victim into visiting it, trigger a use-after-free error and execute arbitrary code on the target system.

Successful exploitation of the vulnerability may allow an attacker to compromise vulnerable system.


Affected software

Firefox ESR
Mozilla Firefox
Arch Linux
Gentoo Linux
CentOS
Red Hat Enterprise Linux for Scientific Computing
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 Power, little endian
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for ARM 64
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 Power, little endian - 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)
thunderbird (Ubuntu package)
firefox-esr (Debian package)
firefox (Alpine package)
firefox-esr (Alpine package)
thunderbird (Red Hat package)
thunderbird (Debian package)
firefox (Red Hat package)
thunderbird (Alpine package)
mozjs68 (Alpine package)
Mozilla Thunderbird

How to mitigate CVE-2020-12387

Install updates from vendor's website.

Firefox ESR - update to 68.8.0
Mozilla Firefox - update to 76.0
firefox (Ubuntu package) - addressed in versions 76.0+build2-0ubuntu0.16.04.1, 76.0+build2-0ubuntu0.18.04.1, 76.0+build2-0ubuntu0.19.10.1, 76.0+build2-0ubuntu0.20.04.1, 76.0.1+build1-0ubuntu0.16.04.1, 76.0.1+build1-0ubuntu0.18.04.1, 76.0.1+build1-0ubuntu0.19.10.1, 76.0.1+build1-0ubuntu0.20.04.1
thunderbird (Ubuntu package) - addressed in versions 1:68.8.0+build2-0ubuntu0.16.04.2, 1:68.8.0+build2-0ubuntu0.18.04.2, 1:68.8.0+build2-0ubuntu0.19.10.2, 1:68.8.0+build2-0ubuntu0.20.04.2
Mozilla Thunderbird - update to 68.8.0
firefox-esr (Debian package) - addressed in versions 68.8.0esr-1~deb9u1, 68.8.0esr-1~deb10u1
firefox (Alpine package) - update to 76.0-r0
firefox-esr (Alpine package) - addressed in versions 68.8.0-r0, 68.9.0-r0
thunderbird (Red Hat package) - addressed in versions 68.8.0-1.el6_10, 68.8.0-1.el7_8, 68.8.0-1.el8_0, 68.8.0-1.el8_1, 68.8.0-1.el8_2
thunderbird (Debian package) - addressed in versions 1:68.8.0-1~deb8u1, 1:68.8.0-1~deb9u1, 1:68.8.0-1~deb10u1
firefox (Red Hat package) - addressed in versions 68.8.0-1.el6_10, 68.8.0-1.el7_8, 68.8.0-1.el8_0, 68.8.0-1.el8_1, 68.8.0-1.el8_2
thunderbird (Alpine package) - update to 68.8.0-r0
mozjs68 (Alpine package) - addressed in versions 68.8.0-r0, 68.9.0-r0

External References

Related Security Bulletins