Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @hapi/subtext
  4. ›
  5. GHSA-3wqh-h42r-x8fq

GHSA-3wqh-h42r-x8fq: Denial of Service in @hapi/subtext

September 3, 2020 (updated July 21, 2025)

Versions of @hapi/subtext prior to 6.1.3 or 7.0.3 are 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.

References

  • github.com/advisories/GHSA-3wqh-h42r-x8fq
  • www.npmjs.com/advisories/1476

Code Behaviors & Features

Detect and mitigate GHSA-3wqh-h42r-x8fq with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 6.1.0 before 6.1.3, all versions starting from 7.0.0 before 7.0.3

Fixed versions

  • 6.1.3
  • 7.0.3

Solution

Upgrade to versions 6.1.3, 7.0.3 or above.

Source file

npm/@hapi/subtext/GHSA-3wqh-h42r-x8fq.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 19 Aug 2025 12:18:27 +0000.