GitHub Advisoryadvisory · npm, Maven
GHSA-23wx-cgxq-vpwx Prototype Pollution in dset
MEDIUM
Official page ↗
- Aliases
- CVE-2022-25645
- Ecosystem
- npm, Maven
- Packages
- dset, org.webjars.npm:dset
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:L
- Weaknesses
- CWE-1321
- Reviewed
- 2022-05-20
Affected packages
• npm dset: < 3.1.2 → fixed in 3.1.2
• Maven org.webjars.npm:dset: < 3.1.2 → fixed in 3.1.2
Description
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.
Related
Alias · CVE (1)
- CVE-2022-25645 All versions of package dset are vulnerable to Prototype Pollution via 'dset/merge' mode, as the dset function checks for prototype… vulnerability
Weakness · CWE (1)
- CWE-1321 Improperly Controlled Modification of Object Prototype Attributes weakness