CVE-2022-29918
High · 8.8CVSS
8.8
EPSS
0.6%
Published
Dec 22, 2022
CISA due date
—
Cloudanix analysis
A flaw in certain software versions lets attackers potentially take over a computer by sending specially crafted data, so updating to the newest version removes the risk.
- 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 in the affected software versions cause memory corruption that can be leveraged to execute arbitrary code.
Why it matters to the business
Attackers could gain full control of affected systems, resulting in data theft, ransomware deployment, or unauthorized access to internal resources; the long window since disclosure increases exposure for unpatched environments with high downstream usage.
How an attack unfolds
An attacker crafts specially formed input that triggers one of the memory corruption conditions when processed by the vulnerable runtime or browser; with sufficient effort this leads to arbitrary code execution. No named threat actors or ransomware campaigns are associated with this issue.
How to fix it
Upgrade all listed packages to the stated fixed versions: dotnet6 on Ubuntu 22.04 to 6.0.109-0ubuntu1~22.04.1; Microsoft.AspNetCore.App.Runtime packages to 3.1.29 or 6.0.9 as applicable for each architecture and OS flavor. Remove or isolate any remaining older installations.
How to confirm the fix worked
Verify installed package versions match or exceed the listed fixed releases using package managers or runtime version queries; re-run any available memory-safety test suites or fuzzers against the updated binaries.
Typical attack path
- Identify a target running an unpatched version of the affected product
- Deliver malicious content via network request, file, or web page
- Trigger the memory safety flaw to corrupt process memory
- Achieve arbitrary code execution within the process context
How to detect it
Review application and system logs for unexpected process crashes or memory-related errors around the time of suspected activity; correlate with network or file access from untrusted sources.
What your security team should do
- Prioritize patching all internet-facing or high-value systems within the next 30 days given the public disclosure timeline
- Add the fixed package versions to approved software lists and block older builds via policy
- Scan internal repositories and build pipelines for any pinned vulnerable versions
The record
Mozilla developers Gabriele Svelto, Randell Jesup and the Mozilla Fuzzing Team reported memory safety bugs present in Firefox 99. 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 < 100.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Ubuntu:18.04:LTS | firefox | 0 | 100.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 | 100.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 | 100.0-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