hoek@0.0.8 vulnerabilities

General purpose node utilities

Direct Vulnerabilities

Known vulnerabilities in the hoek package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • M
Prototype Pollution

hoek is an Utility methods for the hapi ecosystem.

Affected versions of this package are vulnerable to Prototype Pollution. The utilities function allow modification of the Object prototype. If an attacker can control part of the structure passed to this function, they could add or modify an existing property.

How to fix Prototype Pollution?

Upgrade hoek to version 4.2.1, 5.0.3 or higher.

<4.2.1 >=5.0.0 <5.0.3
  • M
Cross-site Scripting (XSS)

hoek is an npm package used as a central place to store hapi-specific utility methods. Affected versions of the package are vulnerable to Cross-site Scripting (XSS). The fix was introduced in version 0.7.3 by adding comprehensive html and javascript escaping.

How to fix Cross-site Scripting (XSS)?

Upgrade hoek to version 0.7.3 or higher.

<0.7.3