dexie
Affected
- introduced
0, fixed3.2.2(semver)
Fixed versions
3.2.2
Fix
- Fixed version
3.2.2npm install [email protected]
Advisory
Also known as: CVE-2022-21189
Prototype Pollution in Dexie
Dexie is a minimalistic wrapper for IndexedDB. 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.
High Basis: The source's own band: HIGH
0, fixed 3.2.2 (semver)3.2.2
3.2.2npm install [email protected]4.0.0-alpha.1, fixed 4.0.0-alpha.3 (semver)4.0.0-alpha.3
4.0.0-alpha.3npm install [email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0