CVE-2022-21189
Last modified
CVE-2022-21189 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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. EPSS estimates a 1.88% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Dexie | Dexie | < 3.2.2 | — |
| Dexie | Dexie | 4.0.0 | Alpha1 |
References
- https://github.com/dexie/Dexie.js/commit/1d655a69b9f28c3af6fae10cf5c61df387dc689bPatch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2805308Exploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-DEXIE-2607042Exploit, Third Party Advisory
- https://github.com/dexie/Dexie.js/commit/1d655a69b9f28c3af6fae10cf5c61df387dc689bPatch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2805308Exploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-DEXIE-2607042Exploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-21189?
How severe is CVE-2022-21189?
How do I fix CVE-2022-21189?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-21183Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2022-21184An information disclosure vulnerability exists in the Licens…5.9
- CVE-2022-21185Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2022-21186The package @acrontum/filesystem-template before 0.0.2 are v…9.8
- CVE-2022-21187The package libvcs before 0.11.1 are vulnerable to Command I…9.8
- CVE-2022-21188Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2022-2119OFFIS DCMTK's (All versions prior to 3.6.7) service class pr…9.8
- CVE-2022-21190This affects the package convict before 6.2.3. This is a byp…9.8
- CVE-2022-21191Versions of the package global-modules-path before 3.0.0 are…9.8
- CVE-2022-21192All versions of the package serve-lite are vulnerable to Dir…7.5
- CVE-2022-21193Directory traversal vulnerability in TransmitMail 2.5.0 to 2…7.5
- CVE-2022-21194The following Yokogawa Electric products do not change the p…9.8
Are you affected by CVE-2022-21189?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
