CVE-2020-7709: Prototype pollution in json-pointer

json-pointer Updated 02 Oct 2025

Summary

10/05/2021
Yes i
Moderate
6.0

CVE-2020-7709: Prototype pollution in json-pointer. Affects json-pointer versions < 0.6.1. Fixed in 0.6.1. How to fix ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

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 →

Share this vulnerability

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.

Related vulnerabilities

Recent vulnerabilities recorded for json-pointer.

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback