{"id":"DHI-awrq-6p4z-ulb2-6ddp","summary":"## Description","details":"## Description\n\n### Summary\n\n`parse_multipart_form_data` (httputil.py:34) calls\n`data.split(b\"--\"+boundary+b\"\\r\\n\")` **before** the `max_parts` check (:35).\nA 600KB body with 100k parts creates a 100k-element transient list first,\nthen rejects   transient memory amplification (each split element is a copy).\nPre-auth HTTP DoS.\n\n### Root cause\n\n```python\nparts = data[:final_boundary_index].split(b\"--\" + boundary + b\"\\r\\n\")  # :34  huge list first\nif len(parts) \u003e config.max_parts:                                       # :35  check after\n    raise HTTPInputError(\"multipart/form-data has too many parts\")\n```\n\n### PoC\n\ngist: https://gist.github.com/afldl/649861f25d39b53b7edbe0298e171617\n`poc.py` + `output.txt` (100k parts from 600KB   transient list).\n\n### Fix\n\nCount separators without materializing the list (e.g. `data.count(b\"--\"+boundary)` first).\n\n### Credit\n\nReported by afldl, 2026-07.","modified":"2026-11-21T12:30:18.149859798Z","published":"2026-11-13T22:30:30Z","upstream":["GHSA-8423-8fgw-73vq"],"references":[{"type":"ADVISORY","url":"https://scout.docker.com/v/DHI-awrq-6p4z-ulb2-6ddp"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-8423-8fgw-73vq"},{"type":"ADVISORY","url":"https://github.com/tornadoweb/tornado/security/advisories/GHSA-8423-8fgw-73vq"},{"type":"FIX","url":"https://github.com/tornadoweb/tornado/pull/3704"},{"type":"FIX","url":"https://github.com/tornadoweb/tornado/commit/de85b3f87446e323e881bbaa3d5a74f4b76e5f05"},{"type":"WEB","url":"https://github.com/tornadoweb/tornado/releases/tag/v6.5.8"}],"affected":[{"package":{"name":"litellm-database-1.94","ecosystem":"Docker Hardened Images:Alpine:3.24","purl":"pkg:apk/dhi/litellm-database-1.94"},"versions":["1.94.3-r0","1.94.3-r1","1.94.3-r3"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-awrq-6p4z-ulb2-6ddp.json"}},{"package":{"name":"litellm-database-1.95","ecosystem":"Docker Hardened Images:Alpine:3.24","purl":"pkg:apk/dhi/litellm-database-1.95"},"versions":["1.95.1-r0","1.95.1-r1","1.95.1-r3"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-awrq-6p4z-ulb2-6ddp.json"}},{"package":{"name":"litellm-database-1.96","ecosystem":"Docker Hardened Images:Alpine:3.24","purl":"pkg:apk/dhi/litellm-database-1.96"},"versions":["1.96.2-r0","1.96.2-r1","1.96.2-r3"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-awrq-6p4z-ulb2-6ddp.json"}},{"package":{"name":"litellm-database-1.97","ecosystem":"Docker Hardened Images:Alpine:3.24","purl":"pkg:apk/dhi/litellm-database-1.97"},"versions":["1.97.0-r0","1.97.0-r1","1.97.0-r2","1.97.1-r0","1.97.1-r3","1.97.1-r4","1.97.1-r5","1.97.1-r6","1.97.1-r7"],"database_specific":{"source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-awrq-6p4z-ulb2-6ddp.json","owner_kind":"HSP"}},{"package":{"name":"litellm-database","ecosystem":"Docker Hardened Images:Alpine:3.24","purl":"pkg:apk/dhi/litellm-database"},"versions":["1.94.0-r0","1.94.0-r1","1.94.1-r0","1.94.2-r0","1.94.2-r1","1.94.2-r2","1.94.3-r0","1.95.1-r0","1.96.2-r0","1.97.0-r0"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-awrq-6p4z-ulb2-6ddp.json"}},{"package":{"name":"jupyterhub","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/jupyterhub"},"versions":["5.5.0-0","5.5.0-1","5.5.1-0","5.5.2-0","5.5.2-1","5.5.2-2","5.5.2-3","5.5.2-4","5.5.2-5","5.5.2-6","5.5.3-0","5.5.4-0","5.5.4-1","5.5.4-2","5.5.4-3","5.5.4-4","5.5.4-5","5.5.4-6","5.5.5-0","5.5.5-1","5.5.5-2","5.5.5-3","5.5.5-4","5.5.5-5","5.5.5-6"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-awrq-6p4z-ulb2-6ddp.json"}},{"package":{"name":"litellm-database-1.94","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/litellm-database-1.94"},"versions":["1.94.3-0","1.94.3-1","1.94.3-2","1.94.3-3","1.94.3-4","1.94.3-5","1.94.3-6"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-awrq-6p4z-ulb2-6ddp.json"}},{"package":{"name":"litellm-database-1.95","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/litellm-database-1.95"},"versions":["1.95.1-0","1.95.1-1","1.95.1-2","1.95.1-3","1.95.1-4","1.95.1-5","1.95.1-6"],"database_specific":{"source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-awrq-6p4z-ulb2-6ddp.json","owner_kind":"HSP"}},{"package":{"name":"litellm-database-1.96","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/litellm-database-1.96"},"versions":["1.96.2-0","1.96.2-1","1.96.2-2","1.96.2-3","1.96.2-4","1.96.2-5","1.96.2-6"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-awrq-6p4z-ulb2-6ddp.json"}},{"package":{"name":"litellm-database-1.97","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/litellm-database-1.97"},"versions":["1.97.0-0","1.97.0-1","1.97.0-2","1.97.0-3","1.97.0-4","1.97.1-0","1.97.1-1","1.97.1-10","1.97.1-2","1.97.1-3","1.97.1-4","1.97.1-5","1.97.1-7","1.97.1-8","1.97.1-9"],"database_specific":{"source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-awrq-6p4z-ulb2-6ddp.json","owner_kind":"HSP"}},{"package":{"name":"litellm-database-1.98","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/litellm-database-1.98"},"versions":["1.98.0-0","1.98.0-1","1.98.0-2"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-awrq-6p4z-ulb2-6ddp.json"}},{"package":{"name":"litellm-database-1.99","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/litellm-database-1.99"},"versions":["1.99.0-0","1.99.1-0","1.99.1-1","1.99.1-2","1.99.1-3","1.99.3-0","1.99.4-0","1.99.4-1","1.99.4-2","1.99.4-4","1.99.4-5","1.99.4-6","1.99.4-7"],"database_specific":{"owner_kind":"HSP","source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-awrq-6p4z-ulb2-6ddp.json"}},{"package":{"name":"litellm-database","ecosystem":"Docker Hardened Images:Debian:13","purl":"pkg:deb/dhi/litellm-database"},"versions":["1.94.0-0","1.94.0-1","1.94.1-0","1.94.2-0","1.94.2-1","1.94.3-0","1.95.1-0","1.96.2-0","1.97.0-0"],"database_specific":{"source":"https://github.com/docker-hardened-images/advisories/blob/main/dhi/osv/2026/DHI-awrq-6p4z-ulb2-6ddp.json","owner_kind":"HSP"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"}]}