Buffer overflow in Firefox ESR and Mozilla Firefox - CVE-2021-29986

 

Buffer overflow in Firefox ESR and Mozilla Firefox - CVE-2021-29986

Published: August 10, 2021


Vulnerability identifier: #VU55678
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-2021-29986
CWE-ID: CWE-119
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 race condition in getaddrinfowhen resolving DNS names. A remote attacker can create a specially crafted web page, trick the victim into opening it, trigger memory corruption and execute arbitrary code on the target system.

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

Note, the vulnerability affects Linux systems only.


Affected software

Firefox ESR
Mozilla Firefox
Arch Linux
Gentoo Linux
SUSE CaaS Platform
SUSE Manager Proxy
SUSE Manager Retail Branch Server
SUSE Manager Server
SUSE Enterprise Storage
CentOS
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux for Power, big endian
Red Hat Enterprise Linux for IBM z Systems
SUSE OpenStack Cloud
HPE Helion Openstack
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux for x86_64
SUSE OpenStack Cloud Crowbar
Anolis OS
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
Red Hat Enterprise Linux Server - AUS
Debian Linux
SUSE Linux Enterprise Debuginfo
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP
SUSE Linux Enterprise Software Development Kit
SUSE Linux Enterprise Server for SAP Applications
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Module for Desktop Applications
SUSE Linux Enterprise Workstation Extension
Ubuntu
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 (Red Hat package)
thunderbird (Red Hat package)
firefox-esr (Debian package)
thunderbird (Debian package)
thunderbird
firefox
MozillaFirefox
MozillaFirefox-debuginfo
MozillaFirefox-debugsource
MozillaFirefox-devel
MozillaFirefox-translations-common
MozillaFirefox-translations-other
MozillaThunderbird
MozillaThunderbird-debuginfo
MozillaThunderbird-debugsource
MozillaThunderbird-translations-common
MozillaThunderbird-translations-other
MozillaFirefox-branding-SLE
MozillaFirefox-branding-SLED
mail-client/thunderbird-bin
mail-client/thunderbird
firefox (Ubuntu package)
thunderbird (Ubuntu package)
IBM Cloud Application Performance Management (APM)
Mozilla Thunderbird

How to mitigate CVE-2021-29986

Install updates from vendor's website.

Firefox ESR - update to 78.13.0
Mozilla Firefox - update to 91.0
firefox (Red Hat package) - addressed in versions 78.13.0-2.el7_9, 78.13.0-2.el8_1, 78.13.0-2.el8_2, 78.13.0-2.el8_4
thunderbird (Red Hat package) - addressed in versions 78.13.0-1.el7_9, 78.13.0-1.el8_1, 78.13.0-1.el8_2, 78.13.0-1.el8_4
Mozilla Thunderbird - update to 78.13.0
firefox-esr (Debian package) - addressed in versions 78.13.0esr-1~deb9u1, 78.13.0esr-1~deb10u1, 78.13.0esr-1~deb11u1
thunderbird (Debian package) - addressed in versions 1:78.13.0-1~deb9u1, 1:78.13.0-1~deb10u1, 1:78.13.0-1~deb11u1
thunderbird - update to 78.13.0-1.0.1
firefox - update to 78.13.0-2.0.1
MozillaFirefox - addressed in versions 78.13.0-3.150.1, 78.13.0-8.49.1, 78.13.0-78.137.1, 78.13.0-112.68.1, 91.1.0-112.71.1, 91.2.0-3.155.2, 91.2.0-8.54.1, 91.2.0-78.143.1, 91.9.0-112.104.1, 91.9.0-150000.150.34.1
MozillaFirefox-debuginfo - addressed in versions 78.13.0-3.150.1, 78.13.0-8.49.1, 78.13.0-78.137.1, 78.13.0-112.68.1, 91.1.0-112.71.1, 91.2.0-3.155.2, 91.2.0-8.54.1, 91.2.0-78.143.1, 91.9.0-112.104.1, 91.9.0-150000.150.34.1
MozillaFirefox-debugsource - addressed in versions 78.13.0-3.150.1, 78.13.0-8.49.1, 78.13.0-112.68.1, 91.1.0-112.71.1, 91.2.0-3.155.2, 91.2.0-8.54.1, 91.9.0-112.104.1, 91.9.0-150000.150.34.1
MozillaFirefox-devel - addressed in versions 78.13.0-3.150.1, 78.13.0-8.49.1, 78.13.0-112.68.1, 91.1.0-112.71.1, 91.2.0-3.155.2, 91.2.0-8.54.1, 91.9.0-112.104.1, 91.9.0-150000.150.34.1
MozillaFirefox-translations-common - addressed in versions 78.13.0-3.150.1, 78.13.0-8.49.1, 78.13.0-78.137.1, 78.13.0-112.68.1, 91.1.0-112.71.1, 91.2.0-3.155.2, 91.2.0-8.54.1, 91.2.0-78.143.1, 91.9.0-112.104.1, 91.9.0-150000.150.34.1
MozillaFirefox-translations-other - addressed in versions 78.13.0-3.150.1, 78.13.0-8.49.1, 78.13.0-78.137.1, 91.2.0-3.155.2, 91.2.0-8.54.1, 91.2.0-78.143.1, 91.9.0-150000.150.34.1
MozillaThunderbird - update to 78.13.0-8.36.1
MozillaThunderbird-debuginfo - update to 78.13.0-8.36.1
MozillaThunderbird-debugsource - update to 78.13.0-8.36.1
MozillaThunderbird-translations-common - update to 78.13.0-8.36.1
MozillaThunderbird-translations-other - update to 78.13.0-8.36.1
MozillaFirefox-branding-SLE - addressed in versions 91-4.19.1, 91-9.5.1, 91-35.6.6
MozillaFirefox-branding-SLED - update to 91-21.18.1
mail-client/thunderbird-bin - update to 91.12.0
mail-client/thunderbird - update to 91.12.0
firefox (Ubuntu package) - addressed in versions 91.0+build2-0ubuntu0.18.04.1, 91.0+build2-0ubuntu0.20.04.1, 91.0+build2-0ubuntu0.21.04.1
thunderbird (Ubuntu package) - addressed in versions 1:78.13.0+build1-0ubuntu0.18.04.1, 1:78.13.0+build1-0ubuntu0.20.04.2, 1:78.13.0+build1-0ubuntu0.21.04.2

External References

Related Security Bulletins