Vulnerability · Published Feb 4, 2022 · Assigned by snyk
CVE-2021-23507Prototype Pollution
High 7.5
In plain English
A high-severity security flaw in object-path-set. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.1% (higher than 82% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)7.5High
Exploit odds (30 days)2.1%top 18.0% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
The package object-path-set before 1.0.2 are vulnerable to Prototype Pollution via the setPath method, as it allows an attacker to merge object prototypes into it. *Note:* This vulnerability derives from an incomplete fix in https://security.snyk.io/vuln/SNYK-JS-OBJECTPATHSET-607908
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | object-path-set | 1.0.2 | GHSA-h6pr-c536-6rjg |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | object-path-set | unspecified – before 1.0.2 |
References
- https://snyk.io/blog/remediate-javascript-type-confusion-bypassed-input-validation/ x_refsource_MISC
- https://snyk.io/vuln/SNYK-JS-OBJECTPATHSET-2388576 x_refsource_MISC
- https://github.com/skratchdot/object-path-set/blob/577f5299fed15bb9edd11c940ff3cf0b9f4748d5/index.js%23L8 x_refsource_MISC
- https://github.com/skratchdot/object-path-set/commit/2d67a714159c4099589b6661fa84e6d2adc31761 x_refsource_MISC