Security mailing lists by PureSourceCode

GHSA-gjph-xf5q-6mfq

HIGH

Denial of Service in @hapi/ammo

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.

Published
3 Sep 2020
Last modified
31 Aug 2020
Sources
OSVJSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV npm @hapi/ammo < 3.1.2 3.1.2
OSV npm @hapi/ammo >= 4.0.0, < 5.0.1 5.0.1

References

History

  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 3 Sep 2020)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.