Advisory

GHSA-4rgj-8mq3-hggj

Also known as: None

Summary

Denial of Service in @hapi/subtext

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2020-09-03 20:32 UTC
Modified
2020-08-31 18:49 UTC

Affected packages and fixes

@hapi/subtext

npm · All systems

Affected

  • introduced 0, fixed 6.1.2 (semver)

Fixed versions

6.1.2

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences