CVE-2024-1557
High · 8.1CVSS
8.1
EPSS
0.6%
Published
Feb 20, 2024
CISA due date
—
Cloudanix analysis
A problem in the web browser could let a harmful website take over a person's computer.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- High
- Impact
- Remote Code Execution
- Component
- Application
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Memory corruption flaws that can be leveraged to execute arbitrary code within the browser process.
Why it matters to the business
Attackers could gain full control over affected user systems, enabling theft of credentials, data, or installation of persistent malware across an organization.
How an attack unfolds
An attacker hosts or compromises a web page containing specially crafted content that triggers one of the memory safety bugs when rendered in an unpatched browser instance, resulting in arbitrary code execution.
How to fix it
Upgrade all Firefox installations to version 123 or later as soon as possible.
How to confirm the fix worked
Confirm the installed Firefox version is 123 or newer; re-test with known memory-safety test cases or browser fuzzing tools if needed.
Typical attack path
- Attacker prepares malicious web content designed to trigger memory corruption
- Victim is lured to the attacker-controlled or compromised page via phishing or watering-hole tactics
- Browser processes the content and the memory safety bug is triggered
- Attacker achieves arbitrary code execution and establishes persistence or exfiltrates data
How to detect it
Examine browser crash reports, memory dumps, and EDR telemetry for unexpected crashes or code injection attempts originating from web content; review proxy logs for visits to suspicious domains around the time of any anomalous browser behavior.
What your security team should do
- Prioritize immediate deployment of Firefox 123 or newer across all endpoints
- Monitor browser update compliance through endpoint management tooling
- Review web proxy or EDR logs for unusual browser process behavior
The record
Memory safety bugs present in Firefox 122. Some of these bugs showed evidence of memory corruption and we presume that with enough effort some of these could have been exploited to run arbitrary code. This vulnerability affects Firefox < 123.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Ubuntu:18.04:LTS | mozjs38 | 0 | No fix |
| Ubuntu:18.04:LTS | mozjs52 | 0 | No fix |
| Ubuntu:20.04:LTS | firefox | 0 | 123.0+build3-0ubuntu0.20.04.1 |
| Ubuntu:20.04:LTS | mozjs52 | 0 | No fix |
| Ubuntu:20.04:LTS | mozjs68 | 0 | No fix |
| Ubuntu:22.04:LTS | mozjs102 | 0 | No fix |
| Ubuntu:22.04:LTS | mozjs78 | 0 | No fix |
| Ubuntu:22.04:LTS | mozjs91 | 0 | No fix |
| Ubuntu:24.04:LTS | mozjs102 | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | mozjs38 | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | mozjs52 | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | mozjs52 | 0 | No fix |
| Ubuntu:Pro:20.04:LTS | mozjs68 | 0 | No fix |
| Ubuntu:Pro:22.04:LTS | mozjs78 | 0 | No fix |
| Ubuntu:Pro:24.04:LTS | mozjs102 | 0 | No fix |
| openSUSE:Tumbleweed | MozillaFirefox | 0 | 123.0-1.1 |
| openSUSE:Tumbleweed | firefox-esr | 0 | 128.5.1-1.1 |
Related vulnerabilities
- CVE-2025-0243 Memory safety bugs present in Firefox 133, Thunderbird 133, Firefox ESR 128.5, and… Also affects mozjs38
- CVE-2025-0237 The WebChannel API, which is used to transport various information across processes, did… Also affects mozjs38
- CVE-2025-0238 Assuming a controlled failed memory allocation, an attacker could have caused a… Also affects mozjs38
- CVE-2025-0240 Parsing a JavaScript module as JSON could, under some circumstances, cause… Also affects mozjs38
- CVE-2025-0239 When using Alt-Svc, ALPN did not properly validate certificates when the original server… Also affects mozjs38
- CVE-2025-0241 When segmenting specially crafted text, segmentation would corrupt memory leading to a… Also affects mozjs38
- CVE-2025-0242 Memory safety bugs present in Firefox 133, Thunderbird 133, Firefox ESR 115.18, Firefox… Also affects mozjs38
- CVE-2024-11704 A double-free issue could have occurred in `sec_pkcs7_decoder_start_decrypt()` when… Also affects mozjs38