Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:npm/%40hapi/hoek@8.4.0
purl pkg:npm/%40hapi/hoek@8.4.0
Next non-vulnerable version 8.5.1
Latest non-vulnerable version 9.0.3
Risk 4.0
Vulnerabilities affecting this package (2)
Vulnerability Summary Fixed by
VCID-f9fx-rs6v-x7d4
Aliases:
CVE-2020-36604
GHSA-c429-5p7v-vgjp
hoek subject to prototype pollution via the clone function. 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.
8.5.1
Affected by 0 other vulnerabilities.
9.0.3
Affected by 0 other vulnerabilities.
VCID-s862-k9pn-gbfs
Aliases:
GHSA-22h7-7wwg-qmgg
GMS-2020-28
Prototype Pollution in @hapi/hoek Versions of `@hapi/hoek` prior to 8.5.1 and 9.0.3 are vulnerable to Prototype Pollution. The `clone` function fails to prevent the modification of the Object prototype when passed specially-crafted input. Attackers may use this to change existing properties that exist in all objects, which may lead to Denial of Service or Remote Code Execution in specific circumstances. This issue __does not__ affect hapi applications since the framework protects against such malicious inputs. Applications that use `@hapi/hoek` outside of the hapi ecosystem may be vulnerable. ## Recommendation Update to version 8.5.1, 9.0.3 or later.
8.5.1
Affected by 0 other vulnerabilities.
9.0.3
Affected by 0 other vulnerabilities.
Vulnerabilities fixed by this package (0)
Vulnerability Summary Aliases
This package is not known to fix vulnerabilities.

Date Actor Action Vulnerability Source VulnerableCode Version
2026-04-16T22:11:14.702894+00:00 GitLab Importer Affected by VCID-f9fx-rs6v-x7d4 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/@hapi/hoek/CVE-2020-36604.yml 38.4.0
2026-04-16T21:11:00.577111+00:00 GitLab Importer Affected by VCID-s862-k9pn-gbfs https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/@hapi/hoek/GMS-2020-28.yml 38.4.0
2026-04-11T23:27:58.908282+00:00 GitLab Importer Affected by VCID-f9fx-rs6v-x7d4 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/@hapi/hoek/CVE-2020-36604.yml 38.3.0
2026-04-11T22:22:50.760010+00:00 GitLab Importer Affected by VCID-s862-k9pn-gbfs https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/@hapi/hoek/GMS-2020-28.yml 38.3.0
2026-04-02T23:33:48.529274+00:00 GitLab Importer Affected by VCID-f9fx-rs6v-x7d4 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/@hapi/hoek/CVE-2020-36604.yml 38.1.0
2026-04-02T22:34:52.781456+00:00 GitLab Importer Affected by VCID-s862-k9pn-gbfs https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/@hapi/hoek/GMS-2020-28.yml 38.1.0
2026-04-01T17:55:43.571043+00:00 GitLab Importer Affected by VCID-f9fx-rs6v-x7d4 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/@hapi/hoek/CVE-2020-36604.yml 38.0.0