Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTN3cWgtaDQyci14OGZx

Denial of Service in @hapi/subtext

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.

Recommendation

Upgrade to version 6.1.3 or 7.0.3

Permalink: https://github.com/advisories/GHSA-3wqh-h42r-x8fq
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTN3cWgtaDQyci14OGZx
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: over 3 years ago
Updated: over 1 year ago


Identifiers: GHSA-3wqh-h42r-x8fq
References: Blast Radius: 0.0

Affected Packages

npm:@hapi/subtext
Dependent packages: 7
Dependent repositories: 17,149
Downloads: 3,173,862 last month
Affected Version Ranges: >= 7.0.0, < 7.0.3, >= 4.1.0, < 6.1.3
Fixed in: 7.0.3, 6.1.3
All affected versions: 6.1.0, 6.1.1, 6.1.2, 7.0.0, 7.0.1, 7.0.2
All unaffected versions: 6.1.3, 7.0.3, 7.0.4, 7.1.0, 8.0.0, 8.0.1, 8.1.0