json-ptr@1.3.3-master.10cfb6b vulnerabilities
A complete implementation of JSON Pointer (RFC 6901) for nodejs and modern browsers.
-
latest version
3.1.1
-
latest non vulnerable version
-
first published
11 years ago
-
latest version published
2 years ago
-
licenses detected
- >=0
Direct Vulnerabilities
Known vulnerabilities in the json-ptr package. This does not include vulnerabilities belonging to this package’s dependencies.
Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.Vulnerability | Vulnerable Version |
---|---|
json-ptr is a complete implementation of JSON Pointer (RFC 6901) for nodejs and modern browsers. Affected versions of this package are vulnerable to Prototype Pollution. A type confusion vulnerability can lead to a bypass of CVE-2020-7766 when the user-provided keys used in the PoC
How to fix Prototype Pollution? Upgrade |
<3.0.0
|
json-ptr is a complete implementation of JSON Pointer (RFC 6901) for nodejs and modern browsers. Affected versions of this package are vulnerable to Arbitrary Code Execution via the How to fix Arbitrary Code Execution? Upgrade |
<2.1.0
|
json-ptr is a complete implementation of JSON Pointer (RFC 6901) for nodejs and modern browsers. Affected versions of this package are vulnerable to Prototype Pollution. The issue occurs in the set operation (https://flitbit.github.io/json-ptr/classes/_src_pointer_.jsonpointer.html#set) when the force flag is set to 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
Observed output:
How to fix Prototype Pollution? Upgrade |
<2.0.0
|