VDB
CVE-2021-23440
CVE-2021-23440
PUBLISHED
CVSS 7.3 HIGH
Prototype Pollution
Reported by snyk · Published September 12, 2021
set-value is fixed in 4.0.1, 3.0.3 and 2.0.1 (npm)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| set-value | npm | 4.0.1, 3.0.3, 2.0.1 |
| set-value-nuget | NuGet | 2.0.0 |
| set-value | set-value_project | 4.0.1, 2.0.1 |
Risk scores
CVSS 3.1
7.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | set-value | <2.0.1, >=3.0.0 <4.0.1 |
| npm | set-value | 0, 3.0.0 |
| n/a | set-value | 0, 3.0.0 |
| NuGet | set-value-nuget | 0 |
Timeline
- Sep 12, 2021 CVE Published
- Sep 13, 2021 EPSS Score (30 in total, the first dated here)
- Mar 10, 2026 Security Advisory
- Aug 25, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-23440
vulnetix vdb fixes CVE-2021-23440
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-23440/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC
- https://github.com/advisories/GHSA-4jqc-8m5r-9rpr advisory
- https://nvd.nist.gov/vuln/detail/CVE-2021-23440 advisory