CVE-2022-25645 Prototype Pollution
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.
| Package | Affected | Fixed in |
|---|---|---|
org.webjars.npm:dset Maven | All versions | 3.1.2 |
org.webjars.npm:dset Maven | All versions | 3.1.2 |
dset npm | All versions | 3.1.2 |
dset npm | All versions | 3.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.
Other vulnerabilities in dset
Sources
Also known as GHSA-23wx-cgxq-vpwx, ROOT-APP-NPM-CVE-2022-25645.