CVE-2022-42930
High · 7.1CVSS
7.1
EPSS
0.4%
Published
Dec 22, 2022
CISA due date
—
Cloudanix analysis
A timing problem in the browser could let attackers interfere with how cache storage is set up when multiple tasks run at once, so updating the software removes the flaw.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- High
- Impact
- Full Compromise
- Component
- Application
- Class
- Race Condition
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Data race in ThirdPartyUtil when two Workers simultaneously initialize CacheStorage, potentially leading to memory corruption or inconsistent state.
Why it matters to the business
Risk of browser instability or exploitation in environments using affected versions; low exploit likelihood but requires prompt patching due to 1395 days since publication and repeated dependency exposure in tensorflow/tensorflow ecosystem.
How an attack unfolds
An attacker would need to trigger concurrent Worker initialization of CacheStorage in a browser context to hit the race condition in ThirdPartyUtil; no known threat actors or ransomware use reported.
How to fix it
Upgrade affected Firefox installations to version 106 or later; for tensorflow/tensorflow (GIT) apply the fix in commit bce3717eaef4f769019fd18e990464ca4a2efeea.
How to confirm the fix worked
Confirm browser version is at least 106; verify tensorflow/tensorflow commit is bce3717eaef4f769019fd18e990464ca4a2efeea or newer; test concurrent Worker cache initialization scenarios.
Typical attack path
- Craft web content that spawns multiple Workers
- Force simultaneous CacheStorage initialization
- Trigger data race in ThirdPartyUtil to corrupt state or leak data
How to detect it
Review browser process logs and crash reports for ThirdPartyUtil anomalies during Worker initialization; search application logs for concurrent cache access patterns.
What your security team should do
- Prioritize upgrade of all Firefox instances to 106+
- Apply tensorflow/tensorflow commit bce3717eaef4f769019fd18e990464ca4a2efeea across dependent packages
- Monitor EPSS trend for any increase beyond current 0.00402
- Audit Worker and CacheStorage usage patterns in web applications
The record
If two Workers were simultaneously initializing their CacheStorage, a data race could have occurred in the `ThirdPartyUtil` component. This vulnerability affects Firefox < 106.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Ubuntu:18.04:LTS | firefox | 0 | 106.0.2+build1-0ubuntu0.18.04.1 |
| Ubuntu:20.04:LTS | firefox | 0 | 106.0.2+build1-0ubuntu0.20.04.1 |
| Ubuntu:20.04:LTS | thunderbird | 0 | 1:102.4.2+build2-0ubuntu0.20.04.1 |
| Ubuntu:22.04:LTS | thunderbird | 0 | 1:102.4.2+build2-0ubuntu0.22.04.1 |
| openSUSE:Tumbleweed | MozillaFirefox | 0 | 106.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