GitHub Advisoryadvisory · npm

GHSA-2mvq-xp48-4c77 Denial of Service in subtext

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

Affected packages

• npm subtext: >= 0.0.0 (no fix yet)

Description

All versions of `subtext` 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 This package is not actively maintained and has been moved to `@hapi/subtext` where version 6.1.2.

Related

Weakness · CWE (1)

  • CWE-400 Uncontrolled Resource Consumption weakness

References