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 BT: 6.1 [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/E:U/U:Amber]
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
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux for Power, big endian
CentOS
Anolis OS
SUSE OpenStack Cloud Crowbar
SUSE OpenStack Cloud
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for ARM 64
HPE Helion Openstack
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 x86_64 - Extended Update Support
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux Server - AUS
SUSE Linux Enterprise Debuginfo
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP
SUSE Linux Enterprise Server for SAP Applications
SUSE Linux Enterprise Software Development Kit
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-esr (Debian package)
thunderbird (Debian package)
firefox (Red Hat package)
thunderbird (Red Hat package)
thunderbird (Ubuntu package)
thunderbird
firefox
MozillaFirefox-translations-other
MozillaFirefox
MozillaFirefox-debuginfo
MozillaFirefox-debugsource
MozillaFirefox-devel
MozillaFirefox-translations-common
MozillaThunderbird-debugsource
MozillaThunderbird-debuginfo
MozillaThunderbird
MozillaThunderbird-translations-common
MozillaThunderbird-translations-other
firefox (Ubuntu package)
MozillaFirefox-branding-SLE
mail-client/thunderbird-bin
mail-client/thunderbird
MozillaFirefox-branding-SLED
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
Mozilla Thunderbird - update to 78.13.0
firefox-esr (Debian package) - update to 78.13.0esr-1~deb10u1
thunderbird (Debian package) - addressed in versions 1:78.13.0-1~deb10u1, 1:78.13.0-1~deb11u1
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
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
thunderbird - update to 78.13.0-1.0.1
firefox - update to 78.13.0-2.0.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
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
MozillaThunderbird-debugsource - update to 78.13.0-8.36.1
MozillaThunderbird-debuginfo - update to 78.13.0-8.36.1
MozillaThunderbird - 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
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
MozillaFirefox-branding-SLE - addressed in versions 91-4.19.1, 91-9.5.1, 91-35.6.6
mail-client/thunderbird-bin - update to 91.12.0
mail-client/thunderbird - update to 91.12.0
MozillaFirefox-branding-SLED - update to 91-21.18.1

External References

Related Security Bulletins