GitHub Advisoryadvisory · npm
GHSA-gjm5-83cw-p3p2 Prototype Pollution in extend2
HIGH
Official page ↗
- Aliases
- CVE-2021-23568
- Ecosystem
- npm
- Packages
- extend2
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
- Weaknesses
- CWE-1321
- Reviewed
- 2022-01-11
Affected packages
• npm extend2: < 1.0.1 → fixed in 1.0.1
Description
The package extend2 before 1.0.1 are vulnerable to Prototype Pollution via the extend function due to unsafe recursive merge.
Related
Alias · CVE (1)
- CVE-2021-23568 The package extend2 before 1.0.1 are vulnerable to Prototype Pollution via the extend function due to unsafe recursive merge. vulnerability
Weakness · CWE (1)
- CWE-1321 Improperly Controlled Modification of Object Prototype Attributes weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-23568 advisory
- https://github.com/eggjs/extend2/pull/2 web
- https://github.com/eggjs/extend2/commit/aa332a59116c8398976434b57ea477c6823054f8 web
- https://github.com/eggjs/extend2 package
- https://github.com/eggjs/extend2/blob/master/index.js%23L50-L60 web
- https://snyk.io/vuln/SNYK-JS-EXTEND2-2320315 web