CVE-2022-21189
Summary
| CVE | CVE-2022-21189 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2022-05-01 16:15:00 UTC |
| Updated | 2022-05-11 14:02:00 UTC |
| Description | The package dexie before 3.2.2, from 4.0.0-alpha.1 and before 4.0.0-alpha.3 are vulnerable to Prototype Pollution in the Dexie.setByKeyPath(obj, keyPath, value) function which does not properly check the keys being set (like __proto__ or constructor). This can allow an attacker to add/modify properties of the Object.prototype leading to prototype pollution vulnerability. **Note:** This vulnerability can occur in multiple ways, for example when modifying a collection with untrusted user input. |
Risk And Classification
Problem Types: CWE-1321
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Prototype Pollution in dexie | CVE-2022-21189 | Snyk | MISC | snyk.io | |
| Prohibit prototype pollution · dexie/Dexie.js@1d655a6 · GitHub | MISC | github.com | |
| Prototype Pollution in org.webjars.npm:dexie | CVE-2022-21189 | Snyk | MISC | snyk.io | |
| github.com/dexie/Dexie.js/blob/fe682ef24568278c3b31d9d6c93de095d4b77ae8/... | MISC | github.com | |
| Dexie.js/utils.ts at fe682ef24568278c3b31d9d6c93de095d4b77ae8 · dexie/Dexie.js · GitHub | MITRE | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
LEGACY: Alessio Della Libera of Snyk Security Team
Legacy QID Mappings
- 20355 Oracle Database 21c Critical Patch Update - July 2023