2 results (0.001 seconds)

CVSS: 9.8EPSS: 19%CPEs: 1EXPL: 2

This affects the package json-ptr before 3.0.0. A type confusion vulnerability can lead to a bypass of CVE-2020-7766 when the user-provided keys used in the pointer parameter are arrays. Esto afecta al paquete json-ptr versiones anteriores a 3.0.0. Una vulnerabilidad de confusión de tipo puede conllevar a una omisión de CVE-2020-7766 cuando las claves proporcionadas por el usuario usadas en el parámetro pointer son matrices • https://github.com/flitbit/json-ptr%23security-vulnerabilities-resolved https://github.com/flitbit/json-ptr/commit/5dc458fbad1c382a2e3ca6d62e66ede3d92849ca https://github.com/flitbit/json-ptr/pull/42 https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1767165 https://snyk.io/vuln/SNYK-JS-JSONPTR-1577291 • CWE-843: Access of Resource Using Incompatible Type ('Type Confusion') •

CVSS: 9.8EPSS: 0%CPEs: 1EXPL: 2

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. • https://github.com/flitbit/json-ptr/blob/master/src/util.ts%23L174 https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-1038396 https://snyk.io/vuln/SNYK-JS-JSONPTR-1016939 • CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') •