CVE-2022-25645
6.5
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:L/E:P
Summary
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| n/a | dset | 0 < unspecified | affected |
Weaknesses
- Prototype Pollution
ADP Enrichment
CVE Program Container
Additional References
- https://snyk.io/vuln/SNYK-JS-DSET-2330881
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2431974
- https://github.com/lukeed/dset/blob/master/src/merge.js%23L9
- https://github.com/lukeed/dset/pull/38
References
- https://snyk.io/vuln/SNYK-JS-DSET-2330881
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2431974
- https://github.com/lukeed/dset/blob/master/src/merge.js%23L9
- https://github.com/lukeed/dset/pull/38
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.