GHSA-rhc3-76jw-4f2x

Suggest an improvement
Source
https://github.com/advisories/GHSA-rhc3-76jw-4f2x
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-rhc3-76jw-4f2x/GHSA-rhc3-76jw-4f2x.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-rhc3-76jw-4f2x
Published
2020-09-04T17:58:46Z
Modified
2020-08-31T19:00:35Z
Summary
Denial of Service in @commercial/ammo
Details

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.

Database specific
{
    "cwe_ids": [],
    "github_reviewed": true,
    "github_reviewed_at": "2020-08-31T19:00:35Z",
    "nvd_published_at": null,
    "severity": "HIGH"
}
References

Affected packages

npm / @commercial/ammo

Package

Name
@commercial/ammo
View open source insights on deps.dev
Purl
pkg:npm/%40commercial/ammo

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
2.1.1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-rhc3-76jw-4f2x/GHSA-rhc3-76jw-4f2x.json"