Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Dset Project | Dset | All versions |
Related Weaknesses (CWE)
References
- https://github.com/lukeed/dset/blob/master/src/merge.js%23L9Broken Link
- https://github.com/lukeed/dset/pull/38
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2431974ExploitThird Party Advisory
- https://snyk.io/vuln/SNYK-JS-DSET-2330881ExploitThird Party Advisory
- https://github.com/lukeed/dset/blob/master/src/merge.js%23L9Broken Link
- https://github.com/lukeed/dset/pull/38
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2431974ExploitThird Party Advisory
- https://snyk.io/vuln/SNYK-JS-DSET-2330881ExploitThird Party Advisory
FAQ
What is CVE-2022-25645?
CVE-2022-25645 is a vulnerability with a CVSS score of 6.5 (MEDIUM). 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__, co...
How severe is CVE-2022-25645?
CVE-2022-25645 has been rated MEDIUM with a CVSS base score of 6.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-25645?
Check the references section above for vendor advisories and patch information. Affected products include: Dset Project Dset.