CVE-2022-46879
High · 8.8CVSS
8.8
EPSS
0.7%
Published
Dec 22, 2022
CISA due date
—
Cloudanix analysis
An older version of the Firefox browser contained 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 corruption bugs in the browser engine that can be triggered to execute arbitrary code.
Why it matters to the business
Attackers could gain full control of affected user systems, enabling data theft, malware installation, or further network compromise; with thousands of days since disclosure and low EPSS the immediate risk to unpatched instances remains but widespread ecosystem impact is limited to legacy Firefox deployments.
How an attack unfolds
An attacker hosts or delivers a malicious webpage that triggers one of the memory safety flaws when rendered in vulnerable Firefox; with sufficient effort the corruption is turned into arbitrary code execution, though no named threat actors or ransomware campaigns have been observed exploiting it.
How to fix it
Upgrade all instances of Firefox to version 108 or later; verify the update succeeded and remove or isolate any remaining version 107 or older installations.
How to confirm the fix worked
Query browser version strings across the environment and confirm none report a version earlier than 108; re-test any previously vulnerable pages or use memory-safety testing tools against the updated binaries.
Typical attack path
- Craft and host a webpage containing triggers for the memory corruption bugs
- Lure a user of Firefox version 107 or earlier to visit the page
- Trigger the flaw during page rendering to corrupt memory
- Escalate to arbitrary code execution within the browser process
How to detect it
Examine browser crash reports, process-creation logs, and web-proxy records for visits to suspicious domains followed by unexpected child processes or memory-related crashes; correlate with any available telemetry showing use of Firefox versions below 108.
What your security team should do
- Immediately inventory and update all Firefox deployments to 108 or newer
- Block or sandbox legacy browser versions through endpoint policy
- Review browser crash logs and process-creation events for signs of prior exploitation attempts
- Educate users on avoiding untrusted links until patches are confirmed deployed
The record
Mozilla developers and community members Lukas Bernhard, Gabriele Svelto, Randell Jesup, and the Mozilla Fuzzing Team reported memory safety bugs present in Firefox 107. 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 < 108.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Ubuntu:18.04:LTS | firefox | 0 | 108.0+build2-0ubuntu0.18.04.1 |
| Ubuntu:18.04:LTS | mozjs38 | 0 | No fix |
| Ubuntu:18.04:LTS | mozjs52 | 0 | No fix |
| Ubuntu:20.04:LTS | firefox | 0 | 108.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 | mozjs78 | 0 | No fix |
| Ubuntu:22.04:LTS | mozjs91 | 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 |
| openSUSE:Tumbleweed | MozillaFirefox | 0 | 108.0.1-1.1 |
| openSUSE:Tumbleweed | firefox-esr | 0 | 128.5.1-1.1 |
Related vulnerabilities
- CVE-2023-25736 An invalid downcast from `nsHTMLDocument` to `nsIContent` could have lead to undefined… Also affects firefox
- CVE-2023-25733 The return value from `gfx::SourceSurfaceSkia::Map()` wasn't being verified which could… Also affects firefox
- CVE-2023-32210 Documents were incorrectly assuming an ordering of principal objects when ensuring we… Also affects firefox
- CVE-2023-32216 Memory safety bugs present in Firefox 112. Also affects firefox
- CVE-2023-32209 A maliciously crafted favicon could have led to an out of memory crash. Also affects firefox
- CVE-2023-32208 Service workers could reveal script base URL due to dynamic `import()`. Also affects firefox
- CVE-2023-29551 Memory safety bugs present in Firefox 111. Also affects firefox
- CVE-2023-32207 A missing delay in popup notifications could have made it possible for an attacker to… Also affects firefox