Skip to content
OpenAdvisories
High GHSA-rhc3-76jw-4f2x

Denial of Service in @commercial/ammo

Published Sep 4, 2020 · Updated Aug 31, 2020 · Assigned by GHSA

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.

Affected packages

EcosystemPackageAffectedFixedRecord
npm @commercial/ammo < 2.1.1 2.1.1 GHSA-rhc3-76jw-4f2x

References