Skip to content

← Public intelligence

npm package

@hapi/hoek

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

1 actionable advisory, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. UnratednpmAmendedPublished

    Prototype Pollution in @hapi/hoek

    GHSA-22h7-7wwg-qmgg

    Affected
    • npm @hapi/hoek >= 8.3.2, < 8.5.1; >= 9.0.0, < 9.0.3
    Fixed in
    9.0.38.5.1· Vendor fix available
    Issue
    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.

    Recommended action: Upgrade to 9.0.3 or 8.5.1 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →