CVE-2023-6213
High · 8.8CVSS
8.8
EPSS
0.7%
Published
Nov 21, 2023
CISA due date
—
Cloudanix analysis
An older version of the Firefox browser had flaws that could let a harmful website take over a user's computer.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Moderate
- Impact
- Remote Code Execution
- Component
- Application
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Memory safety bugs resulting in memory corruption that can be leveraged for arbitrary code execution.
Why it matters to the business
Attackers could achieve remote code execution on user systems, enabling data theft, malware deployment, or lateral movement; widespread Firefox usage amplifies organizational exposure and incident response costs.
How an attack unfolds
An attacker crafts malicious web content that triggers the memory corruption flaws when rendered in vulnerable Firefox. A victim visits the page, the browser processes the input leading to memory corruption, and with sufficient effort the attacker gains arbitrary code execution in the browser process.
How to fix it
Upgrade all instances of Firefox to version 120 or later as soon as possible.
How to confirm the fix worked
Confirm installed Firefox version is 120 or higher via about:support or equivalent; review crash reports and memory error logs for signs of attempted exploitation.
Typical attack path
- Attacker prepares and hosts malicious webpage exploiting memory safety issues
- Victim opens the page in Firefox version prior to 120
- Browser memory corruption occurs during page processing
- Attacker achieves arbitrary code execution within the browser context
How to detect it
Inspect browser crash logs and memory fault reports for indicators of corruption; correlate web access logs with unusual process behavior or unexpected code execution artifacts.
What your security team should do
- Immediately deploy Firefox 120 or newer across all endpoints
- Enable automatic browser updates to prevent future delays
- Monitor for anomalous browser crashes or memory-related errors in endpoint logs
The record
Memory safety bugs present in Firefox 119. 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 < 120.
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 | 120.0+build2-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 | 120.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