VDB
Sign up
HIGH

GHSA-cvfm-xjc8-f2vm

Denial of Service in @commercial/subtext

Quick fix

GHSA-cvfm-xjc8-f2vm — @commercial/subtext: upgrade to the fixed version with the command below.

npm install @commercial/subtext@5.1.2

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/@commercial/subtext
Introduced in: 5.1.1Fixed in: 5.1.2
Fixnpm install @commercial/subtext@5.1.2

References