Use-after-free in Firefox for Android and Mozilla Firefox - CVE-2024-5694

 

Use-after-free in Firefox for Android and Mozilla Firefox - CVE-2024-5694

Published: June 11, 2024


Vulnerability identifier: #VU91744
CSH Severity: Medium
CVSS v4: 5.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-5694
CWE-ID: CWE-416
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to gain access to sensitive information.

The vulnerability exists due to a use-after-free error in the JavaScript engine. A remote attacker can trick the victim to visit a specially crafted website and read memory in the JavaScript string section of the heap.


Affected software

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

How to mitigate CVE-2024-5694

Install updates from vendor's website.

Firefox for Android - update to 127.0
Mozilla Firefox - update to 127.0
www-client/firefox - update to 104
firefox - update to 127.0-1.fc40
firefox (Ubuntu package) - update to 127.0.2+build1-0ubuntu0.20.04.1
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