CVE-2021-23807 Prototype Pollution
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.
| Package | Affected | Fixed in |
|---|---|---|
jsonpointer npm | All versions | 5.0.0 |
jsonpointer npm | All versions | 5.0.0 |
org.webjars.npm:json-pointer npm | All versions | 5.0.0 |
org.webjars.npm:json-pointer npm | All versions | 5.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.