GitHub Advisoryadvisory · npm

GHSA-mg85-8mv5-ffjr Denial of Service in ammo

HIGH Published 2020-09-03 Modified 2020-08-31 Official page ↗
Ecosystem
npm
Packages
ammo
Severity
High
Reviewed
2020-08-31

Affected packages

• npm ammo: >= 0.0.0 (no fix yet)

Description

All versions of `ammo` 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 This package is deprecated and is now maintained as `@hapi/ammo`. Please update your dependencies to use `@hapi/ammo`.

References