# CVE-2021-23440: Prototype Pollution

- Severity: High 7.3 (CVSS:3.1, scored by snyk) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.21%, higher than 83% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 3 links below, marked "exploit"
- Published: 2021-09-12T12:55:10.983Z
- Modified: 2026-06-17T03:38:46.060Z
- Also known as: GHSA-4jqc-8m5r-9rpr
- Weaknesses: CWE-843, CWE-1321
- Assigned by: snyk

## 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.

(As written by CVE List.)

## Affected

- set-value: <2.0.1; >=3.0.0 <4.0.1
- set-value (npm): from 4.0.0 before 4.0.1; before 2.0.1; from 3.0.0 before 3.0.3
- set-value-nuget (NuGet): before 2.0.0
- set-value_project set-value: before 2.0.1; from 3.0.0 before 4.0.1
- oracle communications_cloud_native_core_policy: 1.14.0

## Every score

- snyk: CVSS:3.1 7.3 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`
- GitHub: CVSS:3.1 7.3 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.5 High `AV:N/AC:L/Au:N/C:P/I:P/A:P`

## References

- <https://snyk.io/vuln/SNYK-JS-SETVALUE-1540541> (exploit, third-party-advisory, web)
- <https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1584212> (exploit, third-party-advisory, web)
- <https://www.huntr.dev/bounties/2eae1159-01de-4f82-a177-7478a408c4a2/> (exploit, third-party-advisory)
- <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://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)
- <https://www.huntr.dev/bounties/2eae1159-01de-4f82-a177-7478a408c4a2> (web)

## Sources

- CVE List: [CVE-2021-23440](https://www.cve.org/CVERecord?id=CVE-2021-23440), CVE Terms of Use, modified 2024-09-16
- GitHub Advisory Database: [GHSA-4jqc-8m5r-9rpr](https://github.com/advisories/GHSA-4jqc-8m5r-9rpr), CC-BY-4.0, modified 2025-01-14
- NVD: [CVE-2021-23440](https://nvd.nist.gov/vuln/detail/CVE-2021-23440), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-23440 · Whole record: https://cve.day/CVE-2021-23440.json · Rebuilt by cve.day 2026-11-25T22:58:03.894Z
