# GHSA-RHC3-76JW-4F2X: Denial of Service in @commercial/ammo

- Database: GitHub
- Severity: high (stated by ghsa, no CVSS score)
- Published: 2020-09-04
- Modified: 2020-08-31

## Affected versions

- @commercial/ammo (npm): fixed in 2.1.1

## Description

Versions of `@commercial/ammo` prior to 2.1.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 2.1.1 or later.

## References

- https://www.npmjs.com/advisories/1473

Page: https://cve.now/GHSA-RHC3-76JW-4F2X

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
