CVE-2022-25645 Prototype Pollution

Medium 6.5 Published Updated

Attackers can achieve prototype pollution in the dset library via crafted objects, 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-25645?

CVE-2022-25645 is a medium-severity vulnerability in dset, published on 1 May 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

All versions of package dset are vulnerable to Prototype Pollution via 'dset/merge' mode, as the dset function checks for prototype pollution by validating if the top-level path contains __proto__, constructor or protorype. By crafting a malicious object, it is possible to bypass this check and achieve prototype pollution.

Weakness: CWE-1321

Which versions are affected by CVE-2022-25645?

4 open source packages ship an affected version, including org.webjars.npm:dset and dset. It affects 1 product.

PackageAffectedFixed in
org.webjars.npm:dset MavenAll versions3.1.2
org.webjars.npm:dset MavenAll versions3.1.2
dset npmAll versions3.1.2
dset npmAll versions3.1.2

Products include Dset Project Dset.

How do I fix CVE-2022-25645?

Upgrade org.webjars.npm:dset to 3.1.2 or later.

Is CVE-2022-25645 being exploited?

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

Sources

Also known as GHSA-23wx-cgxq-vpwx, ROOT-APP-NPM-CVE-2022-25645.

Is CVE-2022-25645 in your software?

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

Check your SBOMs for free