dominictarr/libnested · Security
Prototype Pollution in libnested
- GHSA ID
- GHSA-x5m8-2r8v-8f97
- CVE ID
- CVE-2022-25352
- Severity
- critical
- Published
- Updated
- CVSS
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS v3
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Description
The package libnested before 1.5.2 are vulnerable to Prototype Pollution via the set function in index.js. Note: This vulnerability derives from an incomplete fix for CVE-2020-28283
CWEs
- CWE-1321 · Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-25352 ↗
- https://github.com/dominictarr/libnested/commit/c1129865d75fbe52b5a4f755ad3110ca5420f2e1 ↗
- https://github.com/dominictarr/libnested/blob/master/index.js%23L22 ↗
- https://snyk.io/vuln/SNYK-JS-LIBNESTED-2342117 ↗
- https://github.com/advisories/GHSA-x5m8-2r8v-8f97 ↗