GHSA-c429-5p7v-vgjp

Suggest an improvement
Source
https://github.com/advisories/GHSA-c429-5p7v-vgjp
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/09/GHSA-c429-5p7v-vgjp/GHSA-c429-5p7v-vgjp.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-c429-5p7v-vgjp
Aliases
Related
Published
2022-09-25T00:00:27Z
Modified
2023-11-08T04:03:48.095458Z
Severity
  • 8.1 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
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.

Database specific
{
    "nvd_published_at": "2022-09-23T06:15:00Z",
    "cwe_ids": [
        "CWE-1321"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2022-09-29T14:13:31Z"
}
References

Affected packages

npm / @hapi/hoek

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
8.5.1

Ecosystem specific

{
    "affected_functions": [
        "(@hapi/hoek).clone"
    ]
}

npm / @hapi/hoek

Package

Affected ranges

Type
SEMVER
Events
Introduced
9.0.0
Fixed
9.0.3

Ecosystem specific

{
    "affected_functions": [
        "(@hapi/hoek).clone"
    ]
}

npm / hoek

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
6.1.3

Ecosystem specific

{
    "affected_functions": [
        "(hoek).clone"
    ]
}