Advisory

GHSA-c429-5p7v-vgjp

Also known as: 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

High Basis: The source's own band: HIGH

Dates

Published
2022-09-25 00:00 UTC
Modified
2026-09-10 03:49 UTC

Affected packages and fixes

@hapi/hoek

npm · All systems

Affected

  • introduced 0, fixed 8.5.1 (semver)

Fixed versions

8.5.1

Fix

@hapi/hoek

npm · All systems

Affected

  • introduced 9.0.0, fixed 9.0.3 (semver)

Fixed versions

9.0.3

Fix

hoek

npm · All systems

Affected

  • introduced 0, last affected 6.1.3 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences