Ecosyste.ms: Advisories

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

Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTRyZ2otOG1xMy1oZ2dq

Denial of Service in @hapi/subtext

Versions of @hapi/subtext prior to 6.1.2 are vulnerable to Denial of Service (DoS). The package fails to enforce the maxBytes configuration for payloads with chunked encoding that are written to the file system. This allows attackers to send requests with arbitrary payload sizes, which may exhaust system resources leading to Denial of Service.

Recommendation

Upgrade to version 6.1.2 or later.

Permalink: https://github.com/advisories/GHSA-4rgj-8mq3-hggj
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTRyZ2otOG1xMy1oZ2dq
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: over 3 years ago
Updated: about 1 year ago


Identifiers: GHSA-4rgj-8mq3-hggj
References: Repository: https://github.com/hapijs/subtext
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: < 6.1.2
Fixed in: 6.1.2
All affected versions: 6.1.0, 6.1.1
All unaffected versions: 6.1.2, 6.1.3, 7.0.0, 7.0.1, 7.0.2, 7.0.3, 7.0.4, 7.1.0, 8.0.0, 8.0.1, 8.1.0