GitHub Advisory Database
GHSA-gjm5-83cw-p3p2
Prototype Pollution in extend2
Details
The package extend2 before 1.0.1 are vulnerable to Prototype Pollution via the extend function due to unsafe recursive merge.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | extend2 | All versions before 1.0.1 (fixed in 1.0.1) |
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
- https://github.com/eggjs/extend2/blob/master/index.js%23L50-L60
- https://snyk.io/vuln/SNYK-JS-EXTEND2-2320315