CVE-2021-23807 Prototype Pollution

Medium 5.6 Published Updated

A type confusion vulnerability in the jsonpointer library allows bypassing previous prototype pollution fixes 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-23807?

CVE-2021-23807 is a medium-severity vulnerability in jsonpointer, 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 the package jsonpointer before 5.0.0. A type confusion vulnerability can lead to a bypass of a previous Prototype Pollution fix when the pointer components are arrays.

Weakness: CWE-843

Which versions are affected by CVE-2021-23807?

4 open source packages ship an affected version, including jsonpointer and org.webjars.npm:json-pointer. It affects 1 product.

PackageAffectedFixed in
jsonpointer npmAll versions5.0.0
jsonpointer npmAll versions5.0.0
org.webjars.npm:json-pointer npmAll versions5.0.0
org.webjars.npm:json-pointer npmAll versions5.0.0

Products include Janl Jsonpointer.

How do I fix CVE-2021-23807?

Upgrade jsonpointer to 5.0.0 or later.

Is CVE-2021-23807 being exploited?

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

Sources

Also known as CLSA-2026-1772756022, CLSA-2026-1773706629, CLSA-2026-1773965925, GHSA-282f-qqgm-c34q, OESA-2022-1755.

Is CVE-2021-23807 in your software?

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

Check your SBOMs for free