mirror of
https://github.com/0xMarcio/cve.git
synced 2026-05-31 10:09:29 +02:00
20 lines
963 B
Markdown
20 lines
963 B
Markdown
### [CVE-2020-7766](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-7766)
|
|

|
|

|
|

|
|
|
|
### Description
|
|
|
|
This affects all versions of package json-ptr. The issue occurs in the set operation (https://flitbit.github.io/json-ptr/classes/_src_pointer_.jsonpointer.htmlset) when the force flag is set to true. The function recursively set the property in the target object, however it does not properly check the key being set, leading to a prototype pollution.
|
|
|
|
### POC
|
|
|
|
#### Reference
|
|
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1038396
|
|
- https://snyk.io/vuln/SNYK-JS-JSONPTR-1016939
|
|
|
|
#### Github
|
|
- https://github.com/Live-Hack-CVE/CVE-2020-7766
|
|
- https://github.com/dellalibera/dellalibera
|
|
|