Use-after-free in Firefox ESR and Mozilla Firefox - CVE-2021-38496

 

Use-after-free in Firefox ESR and Mozilla Firefox - CVE-2021-38496

Published: October 5, 2021 / Updated: October 12, 2021


Vulnerability identifier: #VU57064
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-38496
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 during operations on MessageTasks. A remote attacker can trick the victim to visit a specially crafted web page, trigger a use-after-free error and execute arbitrary code on the system.

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


Affected software

Firefox ESR
Mozilla Firefox
SUSE CaaS Platform
SUSE Enterprise Storage
CentOS
Red Hat Enterprise Linux for Power, little endian
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 Server
Red Hat Enterprise Linux Workstation
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for ARM 64
SUSE OpenStack Cloud Crowbar
SUSE OpenStack Cloud
HPE Helion Openstack
Anolis OS
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 Software Development Kit
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Workstation Extension
SUSE Linux Enterprise Module for Desktop Applications
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 (Red Hat package)
MozillaFirefox
MozillaFirefox-translations-other
MozillaFirefox-translations-common
MozillaFirefox-devel
MozillaFirefox-debugsource
MozillaFirefox-debuginfo
firefox (Red Hat package)
thunderbird (Ubuntu package)
MozillaThunderbird-translations-common
MozillaThunderbird-debugsource
MozillaThunderbird-debuginfo
MozillaThunderbird
MozillaThunderbird-translations-other
thunderbird (Debian package)
MozillaFirefox-branding-SLE
thunderbird
firefox
MozillaFirefox-branding-SLED
firefox (Ubuntu package)
Mozilla Thunderbird

How to mitigate CVE-2021-38496

Install updates from vendor's website.

Firefox ESR - addressed in versions 78.15.0, 91.2.0
Mozilla Firefox - update to 93.0
firefox-esr (Debian package) - addressed in versions 78.15.0esr-1~deb10u1, 78.15.0esr-1~deb11u1
Mozilla Thunderbird - addressed in versions 78.15.0, 91.2.0
thunderbird (Red Hat package) - addressed in versions 91.2.0-1.el7_9, 91.2.0-1.el8_1, 91.2.0-1.el8_2, 91.2.0-1.el8_4
MozillaFirefox - addressed in versions 91.2.0-3.155.2, 91.2.0-8.54.1, 91.2.0-78.143.1, 91.2.0-112.74.1
MozillaFirefox-translations-other - addressed in versions 91.2.0-3.155.2, 91.2.0-8.54.1, 91.2.0-78.143.1
MozillaFirefox-translations-common - addressed in versions 91.2.0-3.155.2, 91.2.0-8.54.1, 91.2.0-78.143.1, 91.2.0-112.74.1
MozillaFirefox-devel - addressed in versions 91.2.0-3.155.2, 91.2.0-8.54.1, 91.2.0-112.74.1
MozillaFirefox-debugsource - addressed in versions 91.2.0-3.155.2, 91.2.0-8.54.1, 91.2.0-112.74.1
MozillaFirefox-debuginfo - addressed in versions 91.2.0-3.155.2, 91.2.0-8.54.1, 91.2.0-78.143.1, 91.2.0-112.74.1
firefox (Red Hat package) - addressed in versions 91.2.0-4.el7_9, 91.2.0-4.el8_1, 91.2.0-4.el8_2, 91.2.0-4.el8_4
thunderbird (Ubuntu package) - addressed in versions 1:91.2.1+build1-0ubuntu0.21.10.1, 1:91.5.0+build1-0ubuntu0.18.04.1, 1:91.5.0+build1-0ubuntu0.20.04.1
MozillaThunderbird-translations-common - update to 91.4.0-8.45.2
MozillaThunderbird-debugsource - update to 91.4.0-8.45.2
MozillaThunderbird-debuginfo - update to 91.4.0-8.45.2
MozillaThunderbird - update to 91.4.0-8.45.2
MozillaThunderbird-translations-other - update to 91.4.0-8.45.2
thunderbird (Debian package) - addressed in versions 1:91.4.1-1~deb10u1, 1:91.4.1-1~deb11u1
MozillaFirefox-branding-SLE - addressed in versions 91-4.19.1, 91-9.5.1
thunderbird - update to 91.6.0-1.0.1
firefox - update to 91.6.0-1.0.1
MozillaFirefox-branding-SLED - update to 91-21.18.1
firefox (Ubuntu package) - addressed in versions 93.0+build1-0ubuntu0.18.04.1, 93.0+build1-0ubuntu0.20.04.1, 93.0+build1-0ubuntu0.21.04.1

External References

Related Security Bulletins