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

- Severity: High (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2020-09-03T20:35:29.000Z
- Modified: 2021-09-29T18:37:04.000Z
- Weaknesses: CWE-400

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

(As written by GitHub Advisory Database.)

## Affected

- subtext (npm): from 0.0.0

## References

- <https://github.com/hapijs/subtext/issues/72> (web)
- <https://github.com/hapijs/subtext> (package)
- <https://www.npmjs.com/advisories/1168> (web)

## Sources

- GitHub Advisory Database: [GHSA-2mvq-xp48-4c77](https://github.com/advisories/GHSA-2mvq-xp48-4c77), CC-BY-4.0, modified 2021-09-29

---

Page: https://cve.day/GHSA-2mvq-xp48-4c77 · Whole record: https://cve.day/GHSA-2mvq-xp48-4c77.json · Rebuilt by cve.day 2026-11-25T22:56:43.644Z
