CVE-2021-23820 Prototype Pollution
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.
| Package | Affected | Fixed in |
|---|---|---|
json-pointer npm | All versions | 0.6.2 |
json-pointer npm | All versions | 0.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.
Other vulnerabilities in json-pointer
Sources
Also known as GHSA-v5vg-g7rq-363w.