Skip to content
OpenAdvisories
High GHSA-cvfm-xjc8-f2vm

Denial of Service in @commercial/subtext

Published Sep 3, 2020 · Updated Aug 31, 2020 · Assigned by GHSA

Description

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.

Affected packages

EcosystemPackageAffectedFixedRecord
npm @commercial/subtext >= 5.1.1, < 5.1.2 5.1.2 GHSA-cvfm-xjc8-f2vm

References