CVE-2020-36604
HIGH8.1EPSS 1.0%hoek subject to prototype pollution via the clone function.
Published: 9/25/2022Modified: 2/4/2026
Description
hoek versions prior to 8.5.1, and 9.x prior to 9.0.3 are vulnerable to prototype pollution in the clone function. If an object with the __proto__ key is passed to clone() the key is converted to a prototype. This issue has been patched in version 9.0.3, and backported to 8.5.1.
Affected packages (3)
- Debian/node-hoekfrom 0, < 9.0.3+~5.0.0+~4.0.0-1
- npm/@hapi/hoekfrom 0, < 8.5.1
- npm/hoekfrom 0, <= 6.1.3
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
References (5)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2020-36604
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2020-36604
- WEBhttps://github.com/hapijs/hoek/commit/4d0804bc6135ad72afdc5e1ec002b935b2f5216a
- WEBhttps://github.com/hapijs/hoek/commit/948baf98634a5c206875b67d11368f133034fa90
- WEBhttps://github.com/hapijs/hoek/issues/352