eggjs/extend2 · Security
Prototype Pollution in extend2
- GHSA ID
- GHSA-gjm5-83cw-p3p2
- CVE ID
- CVE-2021-23568
- Severity
- high
- Published
- Updated
- CVSS
- 7.3 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
- CVSS v3
- 7.3 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Description
The package extend2 before 1.0.1 are vulnerable to Prototype Pollution via the extend function due to unsafe recursive merge.
CWEs
- CWE-1321 · Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-23568 ↗
- https://github.com/eggjs/extend2/pull/2 ↗
- https://github.com/eggjs/extend2/commit/aa332a59116c8398976434b57ea477c6823054f8 ↗
- https://github.com/eggjs/extend2/blob/master/index.js%23L50-L60 ↗
- https://snyk.io/vuln/SNYK-JS-EXTEND2-2320315 ↗
- https://github.com/advisories/GHSA-gjm5-83cw-p3p2 ↗