Prototype Pollution in Dset Project
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. By crafting a malicious object, it is possible to bypass this check and achieve prototype pollution.
Vulnerability class: Prototype Pollution
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:L.
EPSS exploit prediction
EPSS 0.018, 79.3th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Dset Project
- Dset — versions 0
Weakness classification (CWE)
References
- snyk.io/vuln/SNYK-JS-DSET-2330881 (Exploit, Third Party Advisory)
- snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2431974 (Exploit, Third Party Advisory)
- github.com/lukeed/dset/blob/master/src/merge.js#L9 (Broken Link)
- github.com/lukeed/dset/pull/38