ADVISORIES

GitHub Advisory Database

GHSA-c429-5p7v-vgjp

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.

Affected packages

EcosystemPackageAffected versions
npm@hapi/hoek
All versions before 8.5.1 (fixed in 8.5.1)
npm@hapi/hoek
From 9.0.0 before 9.0.3 (fixed in 9.0.3)
npmhoek
All versions up to and including 6.1.3

References