Vulnerability · Published Sep 12, 2021 · Assigned by snyk
CVE-2021-23440Prototype Pollution
High 7.3
In plain English
A high-severity security flaw in set-value. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.2% (higher than 83% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)7.3High
Exploit odds (30 days)2.2%top 17.4% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | node-set-value | 3.0.1-3 | DEBIAN-CVE-2021-23440 |
| Debian:13 | node-set-value | 3.0.1-3 | DEBIAN-CVE-2021-23440 |
| Debian:14 | node-set-value | 3.0.1-3 | DEBIAN-CVE-2021-23440 |
| NuGet | set-value-nuget | 2.0.0 | GHSA-4jqc-8m5r-9rpr |
| Ubuntu:22.04:LTS | node-set-value | no fix listed | UBUNTU-CVE-2021-23440 |
| Ubuntu:24.04:LTS | node-set-value | no fix listed | UBUNTU-CVE-2021-23440 |
| Ubuntu:25.10 | node-set-value | no fix listed | UBUNTU-CVE-2021-23440 |
| Ubuntu:26.04:LTS | node-set-value | no fix listed | UBUNTU-CVE-2021-23440 |
| Ubuntu:26.10 | node-set-value | no fix listed | UBUNTU-CVE-2021-23440 |
| npm | set-value | 3.0.3 | GHSA-4jqc-8m5r-9rpr |
| npm | set-value | 2.0.1 | GHSA-4jqc-8m5r-9rpr |
| npm | set-value | 4.0.1 | GHSA-4jqc-8m5r-9rpr |
Affected products (as reported)
References
- https://snyk.io/vuln/SNYK-JS-SETVALUE-1540541 x_refsource_MISC
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1584212 x_refsource_MISC
- https://github.com/jonschlinkert/set-value/commit/7cf8073bb06bf0c15e08475f9f952823b4576452 x_refsource_MISC
- https://www.huntr.dev/bounties/2eae1159-01de-4f82-a177-7478a408c4a2/ x_refsource_MISC
- https://github.com/jonschlinkert/set-value/pull/33 x_refsource_MISC
- https://www.oracle.com/security-alerts/cpujan2022.html x_refsource_MISC