CVE-2021-23440
CRITICAL 9.8CVSS 3.1Prototype Pollution in set-value
This affects the package set-value before <2.0.1, >=3.0.0 <4.0.1. A type confusion vulnerability can lead to a bypass of CVE-2019-10747 when the user-provided keys used in the path parameter are arrays.
- Published
- 12 Sep 2021
- Last modified
- 17 Jun 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-1321CWE-843
- Also known as
- GHSA-4jqc-8m5r-9rpr
- Sources
- NVDJSONOSV GHSA-4jqc-8m5r-9rprJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | set-value_project | set-valuecpe:2.3:a:set-value_project:set-value:*:*:*:*:*:node.js:*:* |
< 2.0.1 | 2.0.1 |
| NVD | set-value_project | set-valuecpe:2.3:a:set-value_project:set-value:*:*:*:*:*:node.js:*:* |
>= 3.0.0, < 4.0.1 | 4.0.1 |
| NVD | oracle | communications_cloud_native_core_policycpe:2.3:a:oracle:communications_cloud_native_core_policy:1.14.0:*:*:*:*:*:*:* |
= 1.14.0 | |
| OSV | npm | set-value | >= 4.0.0, < 4.0.1 | 4.0.1 |
| OSV | NuGet | set-value-nuget | < 2.0.0 | 2.0.0 |
| OSV | npm | set-value | < 2.0.1 | 2.0.1 |
| OSV | npm | set-value | >= 3.0.0, < 3.0.3 | 3.0.3 |
References
- https://github.com/jonschlinkert/set-value/commit/7cf8073bb06bf0c15e08475f9f952823b4576452 · Patch, Third Party Advisory, WEB
- https://github.com/jonschlinkert/set-value/pull/33 · Patch, Third Party Advisory, WEB
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1584212 · Exploit, Third Party Advisory, WEB
- https://snyk.io/vuln/SNYK-JS-SETVALUE-1540541 · Exploit, Third Party Advisory, WEB
- https://www.huntr.dev/bounties/2eae1159-01de-4f82-a177-7478a408c4a2/ · Exploit, Third Party Advisory, WEB
- https://www.oracle.com/security-alerts/cpujan2022.html · Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-23440 · ADVISORY
- https://github.com/jonschlinkert/set-value/pull/33/commits/383b72d47c74a55ae8b6e231da548f9280a4296a · WEB
- https://github.com/jonschlinkert/set-value/commit/09c4b108fea3c0260008590053ff13da64913245 · WEB
- https://github.com/jonschlinkert/set-value/commit/cb12f14955dde6e61829d70d1851bfea6a3c31ad · WEB
- https://github.com/jonschlinkert/set-value · PACKAGE
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 12 Sep 2021)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 13 Sep 2021)