UnratednpmAmendedPublished
Denial of Service in @hapi/subtext
GHSA-4rgj-8mq3-hggj
- Affected
- npm @hapi/subtext < 6.1.2
- Fixed in
- 6.1.2· Vendor fix available
- Issue
- 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.
Recommended action: Upgrade to 6.1.2 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.