Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTIyaDctN3d3Zy1xbWdn
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.
Permalink: https://github.com/advisories/GHSA-22h7-7wwg-qmggJSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTIyaDctN3d3Zy1xbWdn
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Low
Classification: General
Published: about 3 years ago
Updated: 9 months ago
Identifiers: GHSA-22h7-7wwg-qmgg
References:
Affected Packages
npm:@hapi/hoek
Versions: >= 9.0.0, < 9.0.3, >= 8.3.2, < 8.5.1Fixed in: 9.0.3, 8.5.1