CVE-2021-23440 Prototype Pollution

High 7.3 Published Updated

Attackers can bypass prototype pollution protections in the set-value library by using array keys, potentially leading to unexpected application 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-23440?

CVE-2021-23440 is a high-severity vulnerability in Oracle Communications Cloud Native Core Policy, published on 12 Sep 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

This affects the package set-value before <2.0.1, >=3.0.0 <4.0.1. A type confusion vulnerability can lead to a bypass of CVE-2019-10747 when the user-provided keys used in the path parameter are arrays.

Weakness: CWE-843

Which versions are affected by CVE-2021-23440?

8 open source packages ship an affected version, including set-value and set-value-nuget. It affects 2 products.

PackageAffectedFixed in
set-value npmAll versions2.0.1
set-value npmAll versions2.0.1
set-value npmFrom 3.0.03.0.3
set-value npmFrom 3.0.03.0.3
set-value npmFrom 4.0.04.0.1
set-value npmFrom 4.0.04.0.1
2 more packages
set-value-nuget NuGetAll versions2.0.0
set-value-nuget NuGetAll versions2.0.0

Products include Oracle Communications Cloud Native Core Policy, Set-Value Project Set-Value.

How do I fix CVE-2021-23440?

Upgrade set-value to a fixed version for your release line: 2.0.1, 3.0.3 or 4.0.1.

Is CVE-2021-23440 being exploited?

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

All Oracle Communications Cloud Native Core Policy vulnerabilities

Sources

Also known as AZL-45225, DEBIAN-CVE-2021-23440, GHSA-4jqc-8m5r-9rpr, UBUNTU-CVE-2021-23440.

Is CVE-2021-23440 in your software?

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

Check your SBOMs for free