GHSA-mg85-8mv5-ffjr

Suggest an improvement
Source
https://github.com/advisories/GHSA-mg85-8mv5-ffjr
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-mg85-8mv5-ffjr/GHSA-mg85-8mv5-ffjr.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-mg85-8mv5-ffjr
Published
2020-09-03T15:45:40Z
Modified
2020-08-31T19:00:33Z
Summary
Denial of Service in ammo
Details

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.

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

Affected packages

npm / ammo

Package

Affected ranges

Type
SEMVER
Events
Introduced
0.0.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-mg85-8mv5-ffjr/GHSA-mg85-8mv5-ffjr.json"