# CVE-2021-23434: Prototype Pollution

- Severity: Medium 5.6 (CVSS:3.1, scored by snyk) `CVSS:3.1/AV:N/AC:H/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): 1.90%, higher than 80% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2021-08-27T16:50:13.019Z
- Modified: 2026-06-17T03:38:45.380Z
- Also known as: GHSA-v39p-96qg-c8rf
- Weaknesses: CWE-843, CWE-1321
- Assigned by: snyk

## Description

This affects the package object-path before 0.11.6. A type confusion vulnerability can lead to a bypass of CVE-2020-15256 when the path components used in the path parameter are arrays. In particular, the condition currentPath === '__proto__' returns false if currentPath is ['__proto__']. This is because the === operator returns always false when the type of the operands is different.

(As written by CVE List.)

## Affected

- object-path: from unspecified before 0.11.6
- object-path (npm): before 0.11.6
- object-path_project object-path: before 0.11.6
- debian debian_linux: 10.0

## Every score

- snyk: CVSS:3.1 5.6 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L`
- GitHub: CVSS:3.1 5.6 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L`
- NVD: CVSS:3.1 8.6 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/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-OBJECTPATH-1569453> (exploit, third-party-advisory, web)
- <https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1570423> (exploit, third-party-advisory, web)
- <https://github.com/mariocasciaro/object-path/commit/7bdf4abefd102d16c163d633e8994ef154cab9eb> (patch, third-party-advisory, web)
- <https://github.com/mariocasciaro/object-path%230116> (broken-link, web)
- <https://lists.debian.org/debian-lts-announce/2023/01/msg00031.html> (mailing-list, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-23434> (advisory)
- <https://github.com/mariocasciaro/object-path> (package)
- <https://github.com/mariocasciaro/object-path#0116> (web)

## Sources

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

---

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