Use-after-free in Mozilla Firefox and Firefox ESR - CVE-2023-25739

 

Use-after-free in Mozilla Firefox and Firefox ESR - CVE-2023-25739

Published: February 15, 2023


Vulnerability identifier: #VU72254
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-2023-25739
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 in mozilla::dom::ScriptLoadContext::~ScriptLoadContext(). Module load requests that failed were not being checked as to whether or not they were cancelled in ScriptLoadContext. 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

Mozilla Firefox
Firefox ESR
Debian Linux
Gentoo Linux
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Workstation Extension 15
SUSE Linux Enterprise Software Development Kit 12
SUSE CaaS Platform
SUSE Manager Server
SUSE Manager Retail Branch Server
SUSE Manager Proxy
SUSE Linux Enterprise Micro
Anolis OS
Red Hat Enterprise Linux Server
Red Hat Enterprise Linux for Power, little endian
Red Hat Enterprise Linux for Power, big endian
Red Hat Enterprise Linux Desktop
Red Hat Enterprise Linux for IBM z Systems
Red Hat Enterprise Linux Workstation
CentOS
SUSE Enterprise Storage
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux Server - AUS
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
Red Hat Enterprise Linux for x86_64 - Extended Update Support
SUSE OpenStack Cloud
SUSE OpenStack Cloud Crowbar
Oracle Solaris
SUSE Linux Enterprise Server 12 SP2 BCL
SUSE Linux Enterprise Server 12 SP4 LTSS
SUSE Linux Enterprise Server 12 SP4 ESPOS
Slackware Linux
SUSE Linux Enterprise High Performance Computing 15 SP1 LTSS
SUSE Linux Enterprise Server 15 SP1 LTSS
SUSE Linux Enterprise Server for SAP
SUSE Linux Enterprise Server
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Realtime Extension
SUSE Linux Enterprise Desktop
SUSE Package Hub 15
SUSE Linux Enterprise Server for SAP Applications
SUSE Linux Enterprise Module for Desktop Applications
openSUSE Leap
Ubuntu
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
thunderbird (Ubuntu package)
mozilla-thunderbird
mozilla-firefox
firefox-esr (Debian package)
thunderbird (Debian package)
thunderbird (Red Hat package)
firefox (Red Hat package)
thunderbird
firefox
MozillaFirefox-devel
MozillaFirefox-translations-common
MozillaFirefox
MozillaFirefox-debugsource
MozillaFirefox-debuginfo
MozillaFirefox-translations-other
MozillaThunderbird-translations-common
MozillaThunderbird
MozillaThunderbird-debuginfo
MozillaThunderbird-translations-other
MozillaThunderbird-debugsource
MozillaFirefox-branding-upstream
mail-client/thunderbird
mail-client/thunderbird-bin
libmozjs-102-0 (Ubuntu package)
www-client/firefox
firefox (Ubuntu package)
Firefox for Android
Firefox Focus for Android
Mozilla Thunderbird
IBM Cloud Pak for Multicloud Management Monitoring

How to mitigate CVE-2023-25739

Install updates from vendor's website.

Mozilla Firefox - update to 110.0
Firefox ESR - update to 102.8.0
Firefox for Android - update to 110.0
Mozilla Thunderbird - update to 102.8.0
Firefox Focus for Android - update to 110.0.1
IBM Cloud Pak for Multicloud Management Monitoring - update to 2.3 Fix Pack 7
thunderbird (Ubuntu package) - addressed in versions 1:102.8.0+build2-0ubuntu0.18.04.1, 1:102.8.0+build2-0ubuntu0.20.04.1, 1:102.8.0+build2-0ubuntu0.22.04.1, 1:102.8.0+build2-0ubuntu0.22.10.1
mozilla-thunderbird - update to 102.8.0
mozilla-firefox - addressed in versions 102.8.0esr, 110.0
firefox-esr (Debian package) - update to 102.8.0esr-1~deb11u1
thunderbird (Debian package) - update to 1:102.8.0-1~deb11u1
thunderbird (Red Hat package) - addressed in versions 102.8.0-2.el7_9, 102.8.0-2.el8_1, 102.8.0-2.el8_2, 102.8.0-2.el8_4, 102.8.0-2.el8_6, 102.8.0-2.el8_7, 102.8.0-2.el9_0, 102.8.0-2.el9_1
firefox (Red Hat package) - addressed in versions 102.8.0-2.el7_9, 102.8.0-2.el8_1, 102.8.0-2.el8_2, 102.8.0-2.el8_4, 102.8.0-2.el8_6, 102.8.0-2.el8_7, 102.8.0-2.el9_0, 102.8.0-2.el9_1
thunderbird - update to 102.8.0-2.0.1
firefox - update to 102.8.0-2.0.1
MozillaFirefox-devel - addressed in versions 102.8.0-112.150.1, 102.8.0-150000.150.76.1, 102.8.0-150200.152.78.1
MozillaFirefox-translations-common - addressed in versions 102.8.0-112.150.1, 102.8.0-150000.150.76.1, 102.8.0-150200.152.78.1
MozillaFirefox - addressed in versions 102.8.0-112.150.1, 102.8.0-150000.150.76.1, 102.8.0-150200.152.78.1
MozillaFirefox-debugsource - addressed in versions 102.8.0-112.150.1, 102.8.0-150000.150.76.1, 102.8.0-150200.152.78.1
MozillaFirefox-debuginfo - addressed in versions 102.8.0-112.150.1, 102.8.0-150000.150.76.1, 102.8.0-150200.152.78.1
MozillaFirefox-translations-other - addressed in versions 102.8.0-150000.150.76.1, 102.8.0-150200.152.78.1
MozillaThunderbird-translations-common - update to 102.8.0-150200.8.105.2
MozillaThunderbird - update to 102.8.0-150200.8.105.2
MozillaThunderbird-debuginfo - update to 102.8.0-150200.8.105.2
MozillaThunderbird-translations-other - update to 102.8.0-150200.8.105.2
MozillaThunderbird-debugsource - update to 102.8.0-150200.8.105.2
MozillaFirefox-branding-upstream - update to 102.8.0-150200.152.78.1
mail-client/thunderbird - update to 102.10.0
mail-client/thunderbird-bin - update to 102.10.0
libmozjs-102-0 (Ubuntu package) - addressed in versions 102.11.0-0ubuntu0.22.04.1, 102.11.0-0ubuntu0.22.10.1, 102.11.0-0ubuntu0.23.04.1
www-client/firefox - update to 104
firefox (Ubuntu package) - addressed in versions 110.0+build3-0ubuntu0.18.04.1, 110.0+build3-0ubuntu0.20.04.1, 110.0.1+build2-0ubuntu0.18.04.1, 110.0.1+build2-0ubuntu0.20.04.1

External References

Related Security Bulletins