Lucene search

K
cvelistSnykCVELIST:CVE-2022-21189
HistoryMay 01, 2022 - 12:00 a.m.

CVE-2022-21189 Prototype Pollution

2022-05-0100:00:00
snyk
www.cve.org

7.3 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

LOW

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P

9.6 High

AI Score

Confidence

High

0.005 Low

EPSS

Percentile

76.1%

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.

CNA Affected

[
  {
    "product": "dexie",
    "vendor": "n/a",
    "versions": [
      {
        "lessThan": "3.2.2",
        "status": "affected",
        "version": "unspecified",
        "versionType": "custom"
      },
      {
        "lessThan": "unspecified",
        "status": "affected",
        "version": "4.0.0-alpha.1",
        "versionType": "custom"
      },
      {
        "lessThan": "4.0.0-alpha.3",
        "status": "affected",
        "version": "unspecified",
        "versionType": "custom"
      }
    ]
  }
]

7.3 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

LOW

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L/E:P

9.6 High

AI Score

Confidence

High

0.005 Low

EPSS

Percentile

76.1%