Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. tornado
  4. ›
  5. GHSA-3hv7-mjh2-fv65

GHSA-3hv7-mjh2-fv65: Tornado: Unbounded query-string argument count allows event-loop-stalling DoS

September 30, 2026

HTTPServerRequest.__init__ in tornado/httputil.py parses the URL query string via parse_qs_bytes() with no field-count limit — while the sibling POST-body parsing path (parse_body_arguments) received a max_num_fields=1000 cap added earlier in this exact same release (v6.5.8, commit 8d6363ed), explicitly to bound parsing cost for the identical underlying primitive. This leaves the query-string path with the resource-exhaustion exposure the body-path fix was meant to close.

File: tornado/httputil.py, line 553 (HTTPServerRequest.__init__)

References

  • github.com/advisories/GHSA-3hv7-mjh2-fv65
  • github.com/tornadoweb/tornado/commit/03945136ea9746eccf61caf88edae39642e59c93
  • github.com/tornadoweb/tornado/commit/8a61dd6005f42733015160f3c23a2bcffe200542
  • github.com/tornadoweb/tornado/pull/3719
  • github.com/tornadoweb/tornado/releases/tag/v6.5.9
  • github.com/tornadoweb/tornado/security/advisories/GHSA-3hv7-mjh2-fv65

Code Behaviors & Features

Detect and mitigate GHSA-3hv7-mjh2-fv65 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 6.5.9

Fixed versions

  • 6.5.9

Solution

Upgrade to version 6.5.9 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Learn more about CVSS

Weakness

  • CWE-770: Allocation of Resources Without Limits or Throttling

Source file

pypi/tornado/GHSA-3hv7-mjh2-fv65.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Thu, 01 Oct 2026 12:20:37 +0000.