Description
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).
Recommendation
Update the dexie package to the latest compatible version. Followings are version details:
Affected version(s): **>= 4.0.0-alpha.1, <= 4.0.0-alpha.2 < 3.2.2** Patched version(s): **4.0.0-alpha.3 3.2.2**
References
Related Issues
- thlorenz browserify-shim vulnerable to prototype pollution (GHSA-cfgr-75jx-h88g) - CVE-2022-37623
- steal vulnerable to Prototype Pollution via alias variable - CVE-2022-37265
- Prototype Pollution in mout - CVE-2022-21213
- steal vulnerable to Prototype Pollution via requestedVersion variable - CVE-2022-37257
- Tags:
- npm
- dexie
Anything's wrong? Let us know Last updated on February 01, 2023