{ "schema_version": "1.4.0", "id": "GHSA-c429-5p7v-vgjp", "modified": "2025-05-28T19:35:05Z", "published": "2022-09-25T00:00:27Z", "aliases": [ "CVE-2020-36604" ], "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.", "severity": [ { "type": "CVSS_V3", "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H" } ], "affected": [ { "package": { "ecosystem": "npm", "name": "@hapi/hoek" }, "ranges": [ { "type": "ECOSYSTEM", "events": [ { "introduced": "0" }, { "fixed": "8.5.1" } ] } ] }, { "package": { "ecosystem": "npm", "name": "@hapi/hoek" }, "ranges": [ { "type": "ECOSYSTEM", "events": [ { "introduced": "9.0.0" }, { "fixed": "9.0.3" } ] } ] }, { "package": { "ecosystem": "npm", "name": "hoek" }, "ranges": [ { "type": "ECOSYSTEM", "events": [ { "introduced": "0" }, { "last_affected": "6.1.3" } ] } ] } ], "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-36604" }, { "type": "WEB", "url": "https://github.com/hapijs/hoek/issues/352" }, { "type": "WEB", "url": "https://github.com/hapijs/hoek/commit/4d0804bc6135ad72afdc5e1ec002b935b2f5216a" }, { "type": "WEB", "url": "https://github.com/hapijs/hoek/commit/948baf98634a5c206875b67d11368f133034fa90" } ], "database_specific": { "cwe_ids": [ "CWE-1321" ], "severity": "HIGH", "github_reviewed": true, "github_reviewed_at": "2022-09-29T14:13:31Z", "nvd_published_at": "2022-09-23T06:15:00Z" } }