Skip to content

GHSA-4rgj-8mq3-hggj Denial of Service in @hapi/subtext

Unknown
Published
Updated
Exploit status
No public exploit known

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
hapi @hapi/subtext(npm) < 6.1.2 6.1.2 Fixed

Affected products

ProductAffected versionsFixed in
hapi @hapi/subtext(npm) < 6.1.2 6.1.2

References