Skip to content
OpenAdvisories
High GHSA-4rgj-8mq3-hggj

Denial of Service in @hapi/subtext

Published Sep 3, 2020 · Updated Aug 31, 2020 · Assigned by GHSA

Description

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.

Affected packages

EcosystemPackageAffectedFixedRecord
npm @hapi/subtext < 6.1.2 6.1.2 GHSA-4rgj-8mq3-hggj

References