# GHSA-CVFM-XJC8-F2VM: Denial of Service in @commercial/subtext

- Database: GitHub
- Severity: high (stated by ghsa, no CVSS score)
- Published: 2020-09-03
- Modified: 2020-08-31

## Affected versions

- @commercial/subtext (npm): from 5.1.1, fixed in 5.1.2

## 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.

## References

- https://www.npmjs.com/advisories/1477

Page: https://cve.now/GHSA-CVFM-XJC8-F2VM

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
