GHSA-gjph-xf5q-6mfq
JSON

high

Denial of Service in @hapi/ammo

Severity
high rating by GitHub
Published
Last changed

Description

Versions of @hapi/ammo prior to 3.1.2 or 5.0.1 are vulnerable to Denial of Service. The Range HTTP header parser has a vulnerability which will cause the function to throw a system error if the header is set to an invalid value. Because hapi is not expecting the function to ever throw, the error is thrown all the way up the stack. If no unhandled exception handler is available, the application will exist, allowing an attacker to shut down services.

Recommendation

Upgrade to version 3.1.2 or 5.0.1.

Affected

Product or packageVersionsReported by
@hapi/ammo (npm)before 3.1.2, from 4.0.0 before 5.0.1GitHub Advisory Database

References

Sources

SourceRecordLicence
GitHub Advisory DatabaseGHSA-gjph-xf5q-6mfq changed 2020-08-31CC-BY-4.0