# GHSA-2MVQ-XP48-4C77: Denial of Service in subtext

- Database: GitHub
- Severity: high (stated by ghsa, no CVSS score)
- Published: 2020-09-03
- Modified: 2021-09-29

## Affected versions

- subtext (npm): all versions

## 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.

## References

- https://github.com/hapijs/subtext/issues/72
- https://github.com/hapijs/subtext
- https://www.npmjs.com/advisories/1168

Page: https://cve.now/GHSA-2MVQ-XP48-4C77

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
