CVEvulnerability
CVE-2022-25645
8.1 HIGH
Official page ↗
- Status
- Modified
- Published
- 2022-05-01
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 6.5 MEDIUM — CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:L
- CVSS 3.1 ([email protected])
- 8.1 HIGH — CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS 2.0 ([email protected])
- 6.8 MEDIUM — AV:N/AC:M/Au:N/C:P/I:P/A:P
- Weaknesses
- CWE-1321
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.
Affected configurations
• dset project dset
Related
Weakness · CWE (1)
- CWE-1321 Improperly Controlled Modification of Object Prototype Attributes weakness
References
- https://github.com/lukeed/dset/blob/master/src/merge.js%23L9 Broken Link
- https://github.com/lukeed/dset/pull/38 github.com
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2431974 Exploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-DSET-2330881 Exploit, Third Party Advisory
- https://github.com/lukeed/dset/blob/master/src/merge.js%23L9 Broken Link
- https://github.com/lukeed/dset/pull/38 github.com
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2431974 Exploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-DSET-2330881 Exploit, Third Party Advisory