CVE-2020-7766
Prototype Pollution
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
2Exploited in Wild
-Decision
Descriptions
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.
Esto afecta a todas las versiones del paquete json-ptr. El problema ocurre en la operación de configuración (https://flitbit.github.io/json-ptr/classes/_src_pointer_.jsonpointer.htmlset) cuando el flag de fuerza se establece en verdadero. La función establece de forma recursiva la propiedad en el objeto objetivo, sin embargo, no comprueba correctamente la clave que está siendo configurada, lo que genera una contaminación de prototipo
CVSS Scores
SSVC
- Decision:-
Timeline
- 2020-01-21 CVE Reserved
- 2020-11-10 CVE Published
- 2024-07-28 EPSS Updated
- 2024-09-16 CVE Updated
- 2024-09-16 First Exploit
- ---------- Exploited in Wild
- ---------- KEV Due Date
CWE
- CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
CAPEC
References (3)
URL | Tag | Source |
---|---|---|
https://github.com/flitbit/json-ptr/blob/master/src/util.ts%23L174 | Broken Link |
URL | Date | SRC |
---|---|---|
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1038396 | 2024-09-16 | |
https://snyk.io/vuln/SNYK-JS-JSONPTR-1016939 | 2024-09-16 |
URL | Date | SRC |
---|
URL | Date | SRC |
---|
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Json-ptr Project Search vendor "Json-ptr Project" | Json-ptr Search vendor "Json-ptr Project" for product "Json-ptr" | < 2.0.0 Search vendor "Json-ptr Project" for product "Json-ptr" and version " < 2.0.0" | - |
Affected
|