CVE-2026-82397 Tornado: Urlencoded body parsing omits max_num_fields, so one request can stall the event loop
설명
Tornado is a Python web framework and asynchronous networking library. Prior to 6.5.8, Tornado parses application/x-www-form-urlencoded request bodies with urllib.parse.parse_qs in tornado/escape.py without passing max_num_fields. RequestHandler._execute in tornado/web.py parses the body before handler dispatch through HTTPServerRequest._parse_body and parse_body_arguments in tornado/httputil.py, so an unauthenticated request body containing millions of separator-delimited fields can synchronously stall the single-threaded event loop and delay every connection. The body is bounded only by max_buffer_size, which defaults to 104857600 bytes. This issue is fixed in version 6.5.8.
영향 받는 제품 제품 1개
-
해결 버전 있음
tornadoweb
tornado
영향 받는 버전
- 6.5.8 미만
해결 버전
- 6.5.8 이상
참고 자료 4건
- github.com https://github.com/tornadoweb/tornado/commit/8d6363ed7b69d5f0da806efe34d256627a2191de (새 창)
- github.com https://github.com/tornadoweb/tornado/pull/3704 (새 창)
- github.com https://github.com/tornadoweb/tornado/releases/tag/v6.5.8 (새 창)
- github.com https://github.com/tornadoweb/tornado/security/advisories/GHSA-mpf4-983q-p7j4 (새 창)