CVE-2021-23820 Prototype Pollution

Medium 5.6 Published Updated

A type confusion vulnerability in the json-pointer library allows bypassing previous prototype pollution protections when array components are used.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2021-23820?

CVE-2021-23820 is a medium-severity vulnerability in json-pointer, published on 3 Nov 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

This affects all versions of package json-pointer. A type confusion vulnerability can lead to a bypass of CVE-2020-7709 when the pointer components are arrays.

Weakness: CWE-843

Which versions are affected by CVE-2021-23820?

2 open source packages ship an affected version, including json-pointer. It affects 1 product.

PackageAffectedFixed in
json-pointer npmAll versions0.6.2
json-pointer npmAll versions0.6.2

Products include Manuelstofer Json-Pointer.

How do I fix CVE-2021-23820?

Upgrade json-pointer to 0.6.2 or later.

Is CVE-2021-23820 being exploited?

There is no known exploitation of CVE-2021-23820 in the wild and no public exploit code.

Sources

Also known as GHSA-v5vg-g7rq-363w.

Is CVE-2021-23820 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free