GHSA-22h7-7wwg-qmgg
Prototype Pollution in @hapi/hoek
GHSA-22h7-7wwg-qmgg is a vulnerability with no CVSS score yet in @hapi/hoek, published September 4, 2020. No source lists public exploit code. Fixed in @hapi/hoek 8.5.1.
- Severity
- UnratedNo CVSS score yet
- Exploit chance
- UnscoredNo EPSS score yet
- Exploitation
- None knownNot on CISA’s or ENISA’s lists
- Fixed in
8.5.1@hapi/hoek +1 more
Description
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.
Affected packages
| Package | Affected | Fixed |
|---|---|---|
@hapi/hoeknpm | 8.3.2 up to 8.5.1 | 8.5.1 |
@hapi/hoeknpm | 9.0.0 up to 9.0.3 | 9.0.3 |
What each source reports
GitHub AdvisoriesNo score
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.
- Record
GHSA-22h7-7wwg-qmgg- Weakness
- CWE-1321
- Updated
- 2026-11-02
OSVNo score
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.
- Record
GHSA-22h7-7wwg-qmgg- Weakness
- CWE-1321
- Updated
- 2026-11-02
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | GitHub Advisories, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.