# GHSA-rhc3-76jw-4f2x: Denial of Service in @commercial/ammo

- Severity: High (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2020-09-04T17:58:46.000Z
- Modified: 2020-08-31T19:00:35.000Z

## 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.

(As written by GitHub Advisory Database.)

## Affected

- @commercial/ammo (npm): before 2.1.1

## References

- <https://www.npmjs.com/advisories/1473> (web)

## Sources

- GitHub Advisory Database: [GHSA-rhc3-76jw-4f2x](https://github.com/advisories/GHSA-rhc3-76jw-4f2x), CC-BY-4.0, modified 2020-08-31

---

Page: https://cve.day/GHSA-rhc3-76jw-4f2x · Whole record: https://cve.day/GHSA-rhc3-76jw-4f2x.json · Rebuilt by cve.day 2026-11-25T22:56:46.473Z
