GHSA-9vrw-m88g-w75q

Suggest an improvement
Source
https://github.com/advisories/GHSA-9vrw-m88g-w75q
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-9vrw-m88g-w75q/GHSA-9vrw-m88g-w75q.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-9vrw-m88g-w75q
Published
2020-09-03T15:45:53Z
Modified
2020-08-31T19:00:40Z
Summary
Denial of Service in @hapi/accept
Details

Versions of @hapi/accept prior to 3.2.4 or 5.0.1 are vulnerable to Denial of Service. The Accept-Encoding HTTP header parser has a vulnerability which will cause the function to throw a system error if the header contains some invalid values. Because hapi rethrows system errors (as opposed to catching expected application errors), 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 3.2.4 or 5.0.1.

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

Affected packages

npm / @hapi/accept

Package

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

Affected ranges

Type
SEMVER
Events
Introduced
3.2.0
Fixed
3.2.4

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-9vrw-m88g-w75q/GHSA-9vrw-m88g-w75q.json"

npm / @hapi/accept

Package

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

Affected ranges

Type
SEMVER
Events
Introduced
4.0.0
Fixed
5.0.1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-9vrw-m88g-w75q/GHSA-9vrw-m88g-w75q.json"