High

Denial of Service in @commercial/subtext

  • Disclosed: 03.09.2020
  • Updated: 11.10.2026 10:22

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 software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
npm package @commercial/subtext >= 5.1.1, < 5.1.2 5.1.2

References

CVSS score -
Weakness (CWE)
-
Platform
npm
Package
@commercial/subtext
Disclosed
03.09.2020
Updated
11.10.2026 10:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-cvfm-xjc8-f2vm - CC BY 4.0

Vulnerability history: @commercial/subtext

All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
3
First → latest
09.2020 09.2020
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • High 3

Disclosures per year

  1. 2020: 3
  2. 2021: 0
  3. 2022: 0
  4. 2023: 0
  5. 2024: 0
  6. 2025: 0
  7. 2026: 0
  1. High ghsa-fvwr-h9xh-m6wc < 5.1.1 5.1.1
  2. High ghsa-36c4-4r89-6whg < 5.1.2 5.1.2
  3. Denial of Service in @commercial/subtext this entry
    High ghsa-cvfm-xjc8-f2vm >= 5.1.1, < 5.1.2 5.1.2

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.