Files
CVEs-PoC/2021/CVE-2021-23434.md
T
2024-05-25 21:48:12 +02:00

21 lines
1.0 KiB
Markdown

### [CVE-2021-23434](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-23434)
![](https://img.shields.io/static/v1?label=Product&message=object-path&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=%3C%200.11.6%20&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=Prototype%20Pollution&color=brighgreen)
### 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.
### POC
#### Reference
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1570423
- https://snyk.io/vuln/SNYK-JS-OBJECTPATH-1569453
#### Github
- https://github.com/ARPSyndicate/cvemon
- https://github.com/Live-Hack-CVE/CVE-2021-23434
- https://github.com/dellalibera/dellalibera