CVE-2022-21189

published 1 May 2022 · updated 16 Sep 2024

Prototype Pollution

7.3HighCVSS 7.3EPSS 2%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 2%. Fixed in 3.2.2, 4.0.0-alpha.3 and unspecified.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
<3.2.2, <4.0.0-alpha.3, >=4.0.0-alpha.1 <unspecified3.2.2, 4.0.0-alpha.3, unspecified

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-21189 severity on Zeptric[![CVE-2022-21189](https://zeptric.io/badge/cve/CVE-2022-21189.svg)](https://zeptric.io/cve/CVE-2022-21189)