- Description
- 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.
- Source
- report@snyk.io
- NVD status
- Modified
CVSS 3.1
- Type
- Primary
- Base score
- 9.8
- Impact score
- 5.9
- Exploitability score
- 3.9
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Severity
- CRITICAL
CVSS 2.0
- Type
- Primary
- Base score
- 7.5
- Impact score
- 6.4
- Exploitability score
- 10
- Vector string
- AV:N/AC:L/Au:N/C:P/I:P/A:P
- nvd@nist.gov
- CWE-1321
- Hype score
- Not currently trending
[
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:dexie:dexie:*:*:*:*:*:node.js:*:*",
"vulnerable": true,
"matchCriteriaId": "477C397F-F518-4C26-8936-C69EC6205F2B",
"versionEndExcluding": "3.2.2"
},
{
"criteria": "cpe:2.3:a:dexie:dexie:4.0.0:alpha1:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "ED9CE1D6-7FE7-4527-9717-9C3AA87616D6"
},
{
"criteria": "cpe:2.3:a:dexie:dexie:4.0.0:alpha2:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "9597D1AD-CB91-4D92-BF2A-F9BD48B889CD"
}
],
"operator": "OR"
}
]
}
]