Privileged code execution via Array prototype setter
Published Dec 22, 2022 · Updated Apr 16, 2025
Prototype pollution in Mozilla Firefox, Firefox ESR, Firefox for Android, and Thunderbird allows remote attackers to execute privileged JavaScript. SpiderMonkey's GatherAsyncParentCompletions uses an ordinary Array and std_Array_push, so an attacker-defined Array.prototype setter captures an internal Module object whose unsafe methods enable memory corruption. Exploitation requires processing malicious asynchronous-module JavaScript and user interaction; affected releases precede Firefox 100.0.2, Firefox ESR and Thunderbird 91.9.1, and Firefox for Android 100.3.0.
Summary
What happened
Prototype pollution in Mozilla Firefox, Firefox ESR, Firefox for Android, and Thunderbird allows remote attackers to execute privileged JavaScript. SpiderMonkey's GatherAsyncParentCompletions uses an ordinary Array and std_Array_push, so an attacker-defined Array.prototype setter captures an internal Module object whose unsafe methods enable memory corruption. Exploitation requires processing malicious asynchronous-module JavaScript and user interaction; affected releases precede Firefox 100.0.2, Firefox ESR and Thunderbird 91.9.1, and Firefox for Android 100.3.0.
The record
- CVE
- CVE-2022-1802
- Published
- Dec 22, 2022
- Updated
- Apr 16, 2025
- Vendor
- Mozilla
- Product
- Firefox
- Classifications
- CWE-1321, T1203
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Dec 22, 2022CVE publishedPublication date reported by the CVE source.
- Apr 16, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=unspecified <100.0.2
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- CVE-2022-1802 renderer exploitfunctional · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Reported exploitation
- Pwn2Own Vancouver 2022 Firefox exploit chainexploit chain
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo