GHSA-23wx-cgxq-vpwx
Dashboard / Vulnerabilities / GHSA-23wx-cgxq-vpwx
Summary: Prototype Pollution in dset
Details: All versions of `dset` prior to 3.1.2 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 `prototype`. By crafting a malicious object, it is possible to bypass this check and achieve prototype pollution.
References: https://nvd.nist.gov/vuln/detail/CVE-2022-25645, https://github.com/lukeed/dset, https://github.com/lukeed/dset/blob/master/src/merge.js%23L9, https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2431974, https://snyk.io/vuln/SNYK-JS-DSET-2330881
Affected packages
Package
Name: dset
Purl: pkg:npm/dset
Affected ranges
Type: SEMVER
Events:
Introduced- 0
Fixed -3.1.2
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
