Denial of Service in @hapi/subtext
High severity
GitHub Reviewed
Published
Sep 3, 2020
to the GitHub Advisory Database
•
Updated Apr 11, 2023
Description
Reviewed
Aug 31, 2020
Published to the GitHub Advisory Database
Sep 3, 2020
Last updated
Apr 11, 2023
Versions of
@hapi/subtext
prior to 6.1.2 are vulnerable to Denial of Service (DoS). The package fails to enforce themaxBytes
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.
References