CVE-2021-23568
Prototype Pollution in extend2
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by GHSA (high).
Description
The package extend2 before 1.0.1 are vulnerable to Prototype Pollution via the extend function due to unsafe recursive merge.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| npm::GitHub Security Advisory npm | extend2 | 1.0.1 |
References
- https://github.com/eggjs/extend2
- https://github.com/eggjs/extend2/blob/master/index.js%23L50-L60
- https://github.com/eggjs/extend2/commit/aa332a59116c8398976434b57ea477c6823054f8
- https://github.com/eggjs/extend2/pull/2
- https://nvd.nist.gov/vuln/detail/CVE-2021-23568
- https://snyk.io/vuln/SNYK-JS-EXTEND2-2320315