Skip to content

File Descriptor Leak Can Cause DoS Vulnerability in hapi

High severity GitHub Reviewed Published Oct 24, 2017 to the GitHub Advisory Database • Updated Apr 11, 2023

Package

npm hapi (npm)

Affected versions

>= 2.0.0, < 2.2.0

Patched versions

2.2.0

Description

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.

References

Published to the GitHub Advisory Database Oct 24, 2017
Reviewed Jun 16, 2020
Last updated Apr 11, 2023

Severity

High

Weaknesses

CVE ID

CVE-2014-3742

GHSA ID

GHSA-cqr7-78pj-3g7j

Source code

Checking history
See something to contribute? Suggest improvements for this vulnerability.