CVE-2022-25645
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.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (1.81%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
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 3.1
- 8.1 HIGHCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS
- 1.81% probability · 77th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-1321
- Affected
- dset project/dset
- Source
- report@snyk.io
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-2431974Exploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-DSET-2330881Exploit, Third 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-2431974Exploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-DSET-2330881Exploit, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.