CVE-2022-25352 Prototype Pollution

High 7.5 Published Updated

Prototype pollution in libnested allows attackers to modify object prototypes, potentially leading to code execution or security bypasses.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-25352?

CVE-2022-25352 is a high-severity vulnerability in libnested, published on 17 Mar 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The package libnested before 1.5.2 are vulnerable to Prototype Pollution via the set function in index.js. **Note:** This vulnerability derives from an incomplete fix for [CVE-2020-28283](https://security.snyk.io/vuln/SNYK-JS-LIBNESTED-1054930)

Weakness: CWE-1321

Which versions are affected by CVE-2022-25352?

2 open source packages ship an affected version, including libnested. It affects 1 product.

PackageAffectedFixed in
libnested npmAll versions1.5.2
libnested npmAll versions1.5.2

Products include Libnested Project Libnested.

How do I fix CVE-2022-25352?

Upgrade libnested to 1.5.2 or later.

Is CVE-2022-25352 being exploited?

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

Sources

Also known as GHSA-x5m8-2r8v-8f97, SNYK-JS-LIBNESTED-2342117.

Is CVE-2022-25352 in your software?

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

Check your SBOMs for free