{"id":"GHSA-c429-5p7v-vgjp","revision":"c8f4460a4b3345b49921a97e14c1417a","records":[{"revision":"c8f4460a4b3345b49921a97e14c1417a","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-c429-5p7v-vgjp","aliases":["CVE-2020-36604"],"title":"hoek subject to prototype pollution via the clone function.","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.","state":0,"publishedAt":"2022-09-25T00:00:27+00:00","modifiedAt":"2026-09-10T03:49:45.2795248+00:00","affected":[{"ecosystem":"npm","name":"@hapi/hoek","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"8.5.1"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"@hapi/hoek","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"9.0.0"},{"kind":"fixed","version":"9.0.3"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"hoek","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"last_affected","version":"6.1.3"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"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"],"sourceUrl":"https://github.com/advisories/GHSA-c429-5p7v-vgjp","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-c429-5p7v-vgjp","identifiers":["GHSA-c429-5p7v-vgjp","CVE-2020-36604"]},"retained":false,"historicalAffected":[]}],"coverage":[]}