GHSA-cvfm-xjc8-f2vm

Suggest an improvement
Source
https://github.com/advisories/GHSA-cvfm-xjc8-f2vm
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-cvfm-xjc8-f2vm/GHSA-cvfm-xjc8-f2vm.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-cvfm-xjc8-f2vm
Published
2020-09-03T15:46:36Z
Modified
2020-08-31T19:00:44Z
Summary
Denial of Service in @commercial/subtext
Details

Version 5.1.1 of @commercial/subtext is vulnerable to Denial of Service. The Content-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 5.1.2 or later.

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

Affected packages

npm / @commercial/subtext

Package

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

Affected ranges

Type
SEMVER
Events
Introduced
5.1.1
Fixed
5.1.2

Affected versions

5.*
5.1.1

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-cvfm-xjc8-f2vm/GHSA-cvfm-xjc8-f2vm.json"