GHSA-c429-5p7v-vgjp
Dashboard / Vulnerabilities / GHSA-c429-5p7v-vgjp
Summary: hoek subject to prototype pollution via the clone function.
Details: 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.
References: https://nvd.nist.gov/vuln/detail/CVE-2020-36604, https://github.com/hapijs/hoek/issues/352, https://github.com/hapijs/hoek/commit/4d0804bc6135ad72afdc5e1ec002b935b2f5216a, https://github.com/hapijs/hoek/commit/948baf98634a5c206875b67d11368f133034fa90
Affected packages
Package
Name: @hapi/hoek
Purl: pkg:npm/%40hapi/hoek
Affected ranges
Type: SEMVER
Events:
Introduced- 0
Fixed -8.5.1
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
