VDB
Sign up
HIGH

GHSA-cqr7-78pj-3g7j

File Descriptor Leak Can Cause DoS Vulnerability in hapi

Quick fix

GHSA-cqr7-78pj-3g7j — hapi: upgrade to the fixed version with the command below.

npm install hapi@2.2.0

Details

Versions 2.0.x and 2.1.x of hapi are vulnerable to a denial of service attack via a file descriptor leak.

When triggered repeatedly, this leak will cause the server to run out of file descriptors and the node process to die. The effort required to take down a server depends on the process file descriptor limit. No other side effects or exploits have been identified.

## Recommendation

- Please upgrade to version 2.2.x or above as soon as possible.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/hapi
Introduced in: 2.0.0Fixed in: 2.2.0
Fixnpm install hapi@2.2.0

References