What’s Vulnerable › Vulnerabilities
CVE-2020-36604: hoek subject to prototype pollution via the clone function.
- Severity: high (CVSS 8.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2022-09-23 · updated 2026-06-17
- Weakness: CWE-1321
Description
hoek before 8.5.1 and 9.x before 9.0.3 allows prototype poisoning in the clone function.
Affected products
- hapi hoek node module: before 8.5.1; from 9.0 before 9.0.3 — fixed in 8.5.1, 9.0.3
- Npm @Hapi/Hoek: before 8.5.1; from 9.0.0 before 9.0.3 — fixed in 8.5.1, 9.0.3
- Npm Hoek: through 6.1.3
How to fix
Upgrade to a fixed version: hapi hoek node module 8.5.1, 9.0.3; Npm @Hapi/Hoek 8.5.1, 9.0.3. Check the vendor advisory for mitigations.
References
- https://github.com/hapijs/hoek/issues/352
- https://security.snyk.io/vuln/SNYK-JS-HAPIHOEK-548452%29
- https://github.com/hapijs/hoek/issues/352
- https://security.snyk.io/vuln/SNYK-JS-HAPIHOEK-548452%29
Get alerted when CVE-2020-36604 or the next vulnerability affects your stack