Heap-based buffer overflow in Mozilla products - CVE-2023-6861

 

Heap-based buffer overflow in Mozilla products - CVE-2023-6861

Published: December 19, 2023


Vulnerability identifier: #VU84564
CSH Severity: Medium
CVSS v4: 7.5 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2023-6861
CWE-ID: CWE-122
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 boundary error within the nsWindow::PickerOpen(void) method when the browser is running in headless mode. A remote attacker can trick the victim to visit a specially crafted website, trigger a heap-based buffer overflow and execute arbitrary code on the target system.

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


Affected software

Firefox for Android
Mozilla Firefox
Firefox ESR
Gentoo Linux
Debian 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 LTSS 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Software Development Kit 12
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise High Performance Computing 12
SUSE Linux Enterprise Workstation Extension 15
SUSE CaaS Platform
SUSE Manager Proxy
SUSE Manager Retail Branch Server
SUSE Manager Server
SUSE Linux Enterprise Micro
Anolis OS
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 Enterprise Storage
Red Hat Enterprise Linux for x86_64
Red Hat Enterprise Linux for ARM 64
Red Hat Enterprise Linux Server - AUS
Red Hat Enterprise Linux Server - TUS
Red Hat Enterprise Linux for ARM 64 - Extended Update Support
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
Slackware Linux
SUSE Linux Enterprise High Performance Computing 15 SP1 LTSS
SUSE Linux Enterprise Server 15 SP1 LTSS
SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS
SUSE Linux Enterprise Server 15 SP2 LTSS
SUSE Linux Enterprise Server 15 SP3 LTSS
SUSE Linux Enterprise Desktop 15 SP4 LTSS
SUSE Linux Enterprise Server 15 SP4 LTSS
Desktop Applications Module
SUSE Package Hub 15
openSUSE Leap
Ubuntu
openEuler
Fedora
Red Hat Enterprise Linux Server for Power LE - Update Services for SAP Solutions
flatpak-sdk
flatpak-runtime
www-client/firefox
thunderbird (Ubuntu package)
mozilla-thunderbird
mozilla-firefox
firefox-esr (Debian package)
thunderbird (Red Hat package)
firefox (Red Hat package)
thunderbird
thunderbird (Debian package)
firefox
MozillaFirefox-debuginfo
MozillaFirefox-debugsource
MozillaFirefox-devel
MozillaFirefox-translations-common
MozillaFirefox
MozillaFirefox-translations-other
MozillaThunderbird-debugsource
MozillaThunderbird-translations-common
MozillaThunderbird
MozillaThunderbird-translations-other
MozillaThunderbird-debuginfo
MozillaFirefox-branding-upstream
mail-client/thunderbird
mail-client/thunderbird-bin
firefox (Ubuntu package)
firefox-flatpak
firefox-debuginfo
firefox-debugsource
Mozilla Thunderbird

How to mitigate CVE-2023-6861

Install updates from vendor's website.

Firefox for Android - update to 121.0
Mozilla Firefox - update to 121.0
Firefox ESR - update to 115.6.0
Mozilla Thunderbird - update to 115.6.0
flatpak-sdk - update to f39-7
flatpak-runtime - update to f39-16
www-client/firefox - update to 104
thunderbird (Ubuntu package) - addressed in versions 1:115.6.0+build2-0ubuntu0.20.04.1, 1:115.6.0+build2-0ubuntu0.22.04.1, 1:115.6.0+build2-0ubuntu0.23.04.1, 1:115.6.0+build2-0ubuntu0.23.10.1
mozilla-thunderbird - update to 115.6.0
mozilla-firefox - update to 115.6.0esr
firefox-esr (Debian package) - addressed in versions 115.6.0esr-1~deb11u1, 115.6.0esr-1~deb12u1
thunderbird (Red Hat package) - addressed in versions 115.6.0-1.el7_9, 115.6.0-1.el8_2, 115.6.0-1.el8_4, 115.6.0-1.el8_6, 115.6.0-1.el8_8, 115.6.0-1.el8_9, 115.6.0-1.el9_0, 115.6.0-1.el9_2, 115.6.0-1.el9_3
firefox (Red Hat package) - addressed in versions 115.6.0-1.el7_9, 115.6.0-1.el8_2, 115.6.0-1.el8_4, 115.6.0-1.el8_6, 115.6.0-1.el8_8, 115.6.0-1.el8_9, 115.6.0-1.el9_0, 115.6.0-1.el9_2, 115.6.0-1.el9_3
thunderbird - addressed in versions 115.6.0-1.fc38, 115.6.0-1.fc39
thunderbird (Debian package) - addressed in versions 1:115.6.0-1~deb11u1, 1:115.6.0-1~deb12u1
firefox - update to 115.6.0-1.0.1
thunderbird - update to 115.6.0-1.0.1
MozillaFirefox-debuginfo - addressed in versions 115.6.0-112.194.1, 115.6.0-150000.150.119.1, 115.6.0-150200.152.120.1
MozillaFirefox-debugsource - addressed in versions 115.6.0-112.194.1, 115.6.0-150000.150.119.1, 115.6.0-150200.152.120.1
MozillaFirefox-devel - addressed in versions 115.6.0-112.194.1, 115.6.0-150000.150.119.1, 115.6.0-150200.152.120.1
MozillaFirefox-translations-common - addressed in versions 115.6.0-112.194.1, 115.6.0-150000.150.119.1, 115.6.0-150200.152.120.1
MozillaFirefox - addressed in versions 115.6.0-112.194.1, 115.6.0-150000.150.119.1, 115.6.0-150200.152.120.1
MozillaFirefox-translations-other - addressed in versions 115.6.0-150000.150.119.1, 115.6.0-150200.152.120.1
MozillaThunderbird-debugsource - update to 115.6.0-150200.8.142.2
MozillaThunderbird-translations-common - update to 115.6.0-150200.8.142.2
MozillaThunderbird - update to 115.6.0-150200.8.142.2
MozillaThunderbird-translations-other - update to 115.6.0-150200.8.142.2
MozillaThunderbird-debuginfo - update to 115.6.0-150200.8.142.2
MozillaFirefox-branding-upstream - update to 115.6.0-150200.152.120.1
mail-client/thunderbird - update to 115.7.0
mail-client/thunderbird-bin - update to 115.7.0
firefox (Ubuntu package) - addressed in versions 121.0+build1-0ubuntu0.20.04.1, 121.0.1+build1-0ubuntu0.20.04.1
firefox-flatpak - update to 121.0-1
firefox-debuginfo - update to 128.8.0-1
firefox-debugsource - update to 128.8.0-1
firefox - update to 128.8.0-1

External References

Related Security Bulletins