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

21 lines
1.5 KiB
Markdown

### [CVE-2020-15256](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-15256)
![](https://img.shields.io/static/v1?label=Product&message=object-path&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Vulnerability&message=%7B%22CWE-20%22%3A%22Improper%20Input%20Validation%22%7D&color=brighgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=%7B%22CWE-471%22%3A%22Modification%20of%20Assumed-Immutable%20Data%20(MAID)%22%7D&color=brighgreen)
### Description
A prototype pollution vulnerability has been found in `object-path` <= 0.11.4 affecting the `set()` method. The vulnerability is limited to the `includeInheritedProps` mode (if version >= 0.11.0 is used), which has to be explicitly enabled by creating a new instance of `object-path` and setting the option `includeInheritedProps: true`, or by using the default `withInheritedProps` instance. The default operating mode is not affected by the vulnerability if version >= 0.11.0 is used. Any usage of `set()` in versions < 0.11.0 is vulnerable. The issue is fixed in object-path version 0.11.5 As a workaround, don't use the `includeInheritedProps: true` options or the `withInheritedProps` instance if using a version >= 0.11.0.
### POC
#### Reference
No PoCs from references.
#### Github
- https://github.com/ARPSyndicate/cvemon
- https://github.com/Live-Hack-CVE/CVE-2021-23434
- https://github.com/ossf-cve-benchmark/CVE-2020-15256