CVE-2021-23507 json
Prototype Pollution
published 4y ago modified 4mo ago also GHSA-h6pr-c536-6rjg , EUVD-2022-1036
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.1%
- EPSS 2.1% chance of exploitation in 30 days, percentile 82%
- public exploits
- 0
- none known
Summary
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
Patch / fix
- npm object-path-set 1.0.2
- n/a object-path-set 1.0.2
Is CVE-2021-23507 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
2.13% chance of exploitation in the next 30 days, higher than 82% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- snyk.io https://snyk.io/vuln/SNYK-JS-OBJECTPATHSET-2388576 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:P |
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | object-path-set | <1.0.2 |
1.0.2 |
Affected products
- n/a object-path-set
Classification
- Weakness
-
- CWE-1321 Improperly Controlled Modification of Object Prototype Attributes
References
-
github.com
/skratchdot/object-path-set/commit/2d67a714159c4099589b6661fa84e6d2adc31761
web, patch, third-party-advisory
-
snyk.io
/vuln/SNYK-JS-OBJECTPATHSET-2388576
web, exploit, third-party-advisory
-
snyk.io
/blog/remediate-javascript-type-confusion-bypassed-input-validation/
third-party-advisory
-
github.com
/skratchdot/object-path-set/blob/577f5299fed15bb9edd11c940ff3cf0b9f4748d5/index.js%23L8
web, broken-link
-
nvd.nist.gov
/vuln/detail/CVE-2021-23507
advisory
-
github.com
/skratchdot/object-path-set
web
-
snyk.io
/blog/remediate-javascript-type-confusion-bypassed-input-validation
web
Sources
- CVE List CVE-2021-23507
- GitHub Advisory GHSA-h6pr-c536-6rjg
- NVD CVE-2021-23507
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.