GitHub Advisoryadvisory · npm

GHSA-fvwr-h9xh-m6wc Denial of Service in @commercial/subtext

HIGH Published 2020-09-03 Modified 2020-08-31 Official page ↗
Ecosystem
npm
Packages
@commercial/subtext
Severity
High
Weaknesses
CWE-400
Reviewed
2020-08-31

Affected packages

• npm @commercial/subtext: < 5.1.1 → fixed in 5.1.1

Description

Versions of `@commercial/subtext` prior to 5.1.1 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 5.1.1 or later.

Related

Weakness · CWE (1)

  • CWE-400 Uncontrolled Resource Consumption weakness

References