GHSA-23wx-cgxq-vpwx
Prototype Pollution in dset
En bref
- Publiée
- Mise à jour
- CVE
- CVE-2022-25645
- CVSS_V3
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:L
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.
Paquets affectés
| Paquet | Versions |
|---|---|
| npm · dset | introduced 0, fixed 3.1.2 |
| Maven · org.webjars.npm:dset | introduced 0, fixed 3.1.2 |
Références
- https://nvd.nist.gov/vuln/detail/CVE-2022-25645 ADVISORY
- https://github.com/lukeed/dset PACKAGE
- https://github.com/lukeed/dset/blob/master/src/merge.js%23L9 WEB
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2431974 WEB
- https://snyk.io/vuln/SNYK-JS-DSET-2330881 WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — GitHub Advisory Database |