CVE-2022-21189

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-21189
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-21189.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-21189
Aliases
Published
2022-05-01T16:15:08Z
Modified
2024-05-15T01:15:27.960886Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/dexie/dexie.js

Affected ranges

Type
GIT
Repo
https://github.com/dexie/dexie.js
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

v1.*

v1.0
v1.0.1
v1.0.2
v1.0.3
v1.0.4
v1.1
v1.1.0
v1.2
v1.2.0
v1.3.0
v1.3.1
v1.3.2
v1.3.3
v1.3.4
v1.3.4-beta
v1.3.4-beta2
v1.3.5-beta
v1.3.5-beta.2
v1.3.6
v1.3.6-beta.1
v1.3.6-beta.2
v1.3.6-beta.3
v1.3.6-rc.1
v1.4.0
v1.4.0-beta
v1.4.0-beta.3
v1.4.0-beta2
v1.4.0-rc.1
v1.4.1
v1.4.2
v1.4.3-rc
v1.5.0-rc

v2.*

v2.0.0
v2.0.0-beta.1
v2.0.0-beta.10
v2.0.0-beta.11
v2.0.0-beta.2
v2.0.0-beta.3
v2.0.0-beta.4
v2.0.0-beta.5
v2.0.0-beta.6
v2.0.0-beta.7
v2.0.0-beta.8
v2.0.0-beta.9
v2.0.0-rc.1
v2.0.1

v3.*

v3.0.0-alpha.1
v3.0.0-alpha.2
v3.0.0-alpha.3
v3.0.0-alpha.4