CVE-2020-7709: Prototype pollution in json-pointer
Summary
CVE-2020-7709: Prototype pollution in json-pointer. Affects json-pointer versions < 0.6.1. Fixed in 0.6.1. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The json-pointer package is an npm package that provides functionality for working with JSON pointers. JSON pointers are used to reference specific values within a JSON document. The package allows for multiple references to objects using slashes. This vulnerability affects versions of json-pointer prior to 0.6.1.
Vulnerability Detail
The vulnerability in json-pointer is related to prototype pollution. Prototype pollution is a type of vulnerability that occurs when an attacker can modify the prototype of an object and thereby manipulate its behavior. In the case of json-pointer, this vulnerability allows an attacker to modify the prototype of an object by using multiple references with slashes. This can lead to various security issues, such as arbitrary code execution or unauthorized access to sensitive data.
How To Fix
Minimum fixed version
0.6.1
This is the first release that contains the fix.
npm install json-pointer@0.6.1
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
There is no known workaround for this vulnerability. It is essential to update to the fixed version of the package.
Conclusion
In conclusion, the json-pointer package prior to version 0.6.1 is vulnerable to prototype pollution. It is recommended to update to the fixed version of the package to mitigate the risk of arbitrary code execution and unauthorized access to sensitive data. For further support on vulnerability remediation, please contact DevNack.com.
See every vulnerability recorded for json-pointer →
FAQ
Prototype pollution is a vulnerability that occurs when an attacker can modify the prototype of an object and manipulate its behavior.
This vulnerability allows an attacker to modify the prototype of an object in json-pointer, leading to potential security issues.
The potential ramifications of this vulnerability include arbitrary code execution and unauthorized access to sensitive data.
To fix this vulnerability, update the json-pointer package to version 0.6.1 or later.
There is no known workaround for this vulnerability. It is crucial to update to the fixed version of the package.
References
Related vulnerabilities
Recent vulnerabilities recorded for json-pointer.