CVE-2022-28287
Medium · 6.5CVSS
6.5
EPSS
0.6%
Published
Dec 22, 2022
CISA due date
—
Cloudanix analysis
A rare text-selection bug can make the program crash, potentially interrupting work for users until the software is updated.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Moderate
- Impact
- Denial Of Service
- Component
- Application
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Incorrect text selection caching under unusual circumstances triggers memory corruption resulting in application crash.
Why it matters to the business
Unreliable application behavior and denial of service for end users in environments running the affected software; low exploitability reduces immediate urgency but still requires patching.
How an attack unfolds
An attacker supplies specially crafted content that triggers edge-case text selection behavior; when a victim interacts with the content by selecting text the flawed caching logic corrupts memory and crashes the process.
How to fix it
Upgrade affected installations to a build containing commit 6863f73818c36b0b88c677ba533765c8074907b4 or later; apply vendor updates promptly given the availability of public exploit code.
How to confirm the fix worked
Confirm the installed version contains commit 6863f73818c36b0b88c677ba533765c8074907b4; re-test text selection operations that previously triggered crashes.
Typical attack path
- Deliver malicious content via web page or document
- Victim performs text selection on the crafted content
- Flawed caching logic executes and crashes the application
How to detect it
Review application crash logs and telemetry for sudden terminations during text-selection operations; correlate with access to untrusted web content around the time of the crash.
What your security team should do
- Prioritize patching all instances of the affected software within standard change windows
- Monitor vendor advisories for any related downstream components
- Verify that crash-reporting telemetry is enabled to detect residual exposure
The record
In unusual circumstances, selecting text could cause text selection caching to behave incorrectly, leading to a crash. This vulnerability affects Firefox < 99.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Ubuntu:18.04:LTS | firefox | 0 | 99.0+build2-0ubuntu0.18.04.2 |
| Ubuntu:20.04:LTS | firefox | 0 | 99.0+build2-0ubuntu0.20.04.2 |
| Ubuntu:22.04:LTS | firefox | 0 | 1:1snap1-0ubuntu1 |
| openSUSE:Tumbleweed | MozillaFirefox | 0 | 99.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