CVE-2021-23434 Prototype Pollution

Medium 5.6 Published Updated

Attackers can bypass prototype pollution protections in the object-path library by using array path components, potentially leading to unexpected behavior.

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-23434?

CVE-2021-23434 is a medium-severity vulnerability in Debian Debian Linux, published on 27 Aug 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

This affects the package object-path before 0.11.6. A type confusion vulnerability can lead to a bypass of CVE-2020-15256 when the path components used in the path parameter are arrays. In particular, the condition currentPath === '__proto__' returns false if currentPath is ['__proto__']. This is because the === operator returns always false when the type of the operands is different.

Weakness: CWE-843

Which versions are affected by CVE-2021-23434?

2 open source packages ship an affected version, including object-path. It affects 2 products.

PackageAffectedFixed in
object-path npmAll versions0.11.6
object-path npmAll versions0.11.6

Products include Debian Debian Linux, Object-Path Project Object-Path.

How do I fix CVE-2021-23434?

Upgrade object-path to 0.11.6 or later.

Is CVE-2021-23434 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2021-23434, GHSA-v39p-96qg-c8rf, UBUNTU-CVE-2021-23434.

Is CVE-2021-23434 in your software?

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

Check your SBOMs for free