Prototype pollution in Dexie.js



Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2022-21189
CWE-ID CWE-1321
Exploitation vector Network
Public exploit N/A
Vulnerable software
Dexie.js
Web applications / JS libraries

Vendor Dexie

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Prototype pollution

EUVDB-ID: #VU76188

Risk: Medium

CVSSv3.1: 5.7 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-21189

CWE-ID: CWE-1321 - Improperly Controlled Modification of Object Prototype Attributes (\'Prototype Pollution\')

Exploit availability: No

Description

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.

Mitigation

Install update from vendor's website.

Vulnerable software versions

Dexie.js: 1.0 - 4.0.0 alpha.2

CPE2.3 External links

http://snyk.io/vuln/SNYK-JS-DEXIE-2607042
http://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2805308
http://github.com/dexie/Dexie.js/commit/1d655a69b9f28c3af6fae10cf5c61df387dc689b
http://github.com/dexie/Dexie.js/blob/fe682ef24568278c3b31d9d6c93de095d4b77ae8/src/functions/utils.ts%23L134-L164


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###