CVE-2023-5173
High · 7.5CVSS
7.5
EPSS
0.9%
Published
Sep 27, 2023
CISA due date
—
Cloudanix analysis
A rare browser setting in Firefox could let network data cause memory problems that allow attackers to alter important internal information.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Moderate
- Impact
- Data Tampering
- Component
- Application
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Integer overflow triggered by network traffic under non-standard Alternate Services configuration leads to out-of-bounds write into privileged process memory.
Why it matters to the business
Potential browser memory corruption that could allow unauthorized modification of process data on affected systems, increasing risk of further compromise if the non-standard preference remains enabled.
How an attack unfolds
An attacker sends crafted network responses containing Alternate Services data that trigger the integer overflow when the non-standard preference is enabled, resulting in an out-of-bounds write to privileged memory.
How to fix it
Upgrade Mozilla Firefox to version 118 or later. Disable the non-standard preference network.http.altsvc.oe if it is not required.
How to confirm the fix worked
Verify installed Firefox version is 118 or higher and confirm the preference network.http.altsvc.oe is set to its default disabled state.
Typical attack path
- Confirm target has non-standard preference network.http.altsvc.oe enabled
- Craft malicious network traffic or webpage response to trigger integer overflow
- Achieve out-of-bounds write into privileged process memory
- Leverage corruption for further attacker-controlled actions
How to detect it
Review browser process memory for unexpected writes after Alternate Services traffic, inspect logs for non-standard Alternate Services usage, and check configuration for the enabling preference.
- network.http.altsvc.oe=true
What your security team should do
- Upgrade all Firefox deployments to version 118 or later immediately
- Audit environments for the non-standard preference network.http.altsvc.oe and disable where possible
- Monitor EPSS trend for continued increase and reassess prioritization
The record
In a non-standard configuration of Firefox, an integer overflow could have occurred based on network traffic (possibly under influence of a local unprivileged webpage), leading to an out-of-bounds write to privileged process memory. *This bug only affects Firefox if a non-standard preference allowing non-HTTPS Alternate Services (`network.http.altsvc.oe`) is enabled.* This vulnerability affects Firefox < 118.
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 | 118.0.1+build1-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 | 118.0.1-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