Prototype pollution in Dexie.js - CVE-2022-21189

 

Prototype pollution in Dexie.js - CVE-2022-21189

Published: May 16, 2023


Vulnerability identifier: #VU76188
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-21189
CWE-ID: CWE-1321
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary JavaScript code.

The vulnerability exists due to improper input validation in the Dexie.setByKeyPath(obj, keyPath, value) function. A remote attacker can pass specially crafted input to the application and perform prototype pollution, which can result in information disclosure or data manipulation.


Affected software

Dexie.js
IBM Edge Application Manager

How to mitigate CVE-2022-21189

Install update from vendor's website.

Dexie.js - addressed in versions 3.2.2, 4.0.0 alpha.3

External References

Related Security Bulletins