CVE-2022-25354 Prototype Pollution

High 8.6 Published Updated

Prototype pollution in the set-in library allows attackers to modify object prototypes, potentially leading to code execution or privilege escalation.

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

CVE-2022-25354 is a high-severity vulnerability in set-in, 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 set-in before 2.0.3 are vulnerable to Prototype Pollution via the setIn method, as it allows an attacker to merge object prototypes into it. **Note:** This vulnerability derives from an incomplete fix of [CVE-2020-28273](https://security.snyk.io/vuln/SNYK-JS-SETIN-1048049)

Weakness: CWE-1321

Which versions are affected by CVE-2022-25354?

2 open source packages ship an affected version, including set-in. It affects 1 product.

PackageAffectedFixed in
set-in npmAll versions2.0.3
set-in npmAll versions2.0.3

Products include Set-in Project Set-In.

How do I fix CVE-2022-25354?

Upgrade set-in to 2.0.3 or later.

Is CVE-2022-25354 being exploited?

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

Sources

Also known as GHSA-6956-83fg-5wc5, SNYK-JS-SETIN-2388571.

Is CVE-2022-25354 in your software?

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

Check your SBOMs for free