Out-of-bounds write in Mozilla Firefox and Firefox for Android - CVE-2023-5173

 

Out-of-bounds write in Mozilla Firefox and Firefox for Android - CVE-2023-5173

Published: September 26, 2023


Vulnerability identifier: #VU81132
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-5173
CWE-ID: CWE-787
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 boundary error when processing untrusted input. A remote attacker can trick the victim to open a specially crafted HTML file to trigger an out-of-bounds write and execute arbitrary code on the target system.

The vulnerability affects Firefox if a non-standard preference allowing non-HTTPS Alternate Services (network.http.altsvc.oe) is enabled.


Affected software

Mozilla Firefox
Firefox for Android
Gentoo Linux
Ubuntu
openEuler
Fedora
www-client/firefox
firefox (Ubuntu package)
firefox
firefox-debuginfo
firefox-debugsource

How to mitigate CVE-2023-5173

Install updates from vendor's website.

Mozilla Firefox - update to 118.0
Firefox for Android - update to 118.0
www-client/firefox - update to 104
firefox (Ubuntu package) - addressed in versions 118.0.1+build1-0ubuntu0.20.04.1, 118.0.2+build2-0ubuntu0.20.04.1
firefox - addressed in versions 118.0-1.fc37, 118.0-1.fc38, 118.0-1.fc39
firefox - update to 128.8.0-1
firefox-debuginfo - update to 128.8.0-1
firefox-debugsource - update to 128.8.0-1

External References

Related Security Bulletins