#35289: Chunked transfer encoding is not handled correctly by MultiPartParser
-------------------------------------+-------------------------------------
     Reporter:  Kyle Agronick        |                    Owner:
                                     |  YashRaj1506
         Type:  Bug                  |                   Status:  assigned
    Component:  HTTP handling        |                  Version:  dev
     Severity:  Normal               |               Resolution:
     Keywords:  transfer-encoding,   |             Triage Stage:  Accepted
  chunked, multi-part                |
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Comment (by Sarah Boyce <42296566+sarahboyce@…>):

 In [changeset:"5a89e341bfc77dd67b7fd57b7091b6430558e1f4" 5a89e34]:
 {{{#!CommitTicketReference repository=""
 revision="5a89e341bfc77dd67b7fd57b7091b6430558e1f4"
 Fixed CVE-2026-5766 -- Enforced DATA_UPLOAD_MAX_MEMORY_SIZE in
 MemoryFileUploadHandler on ASGI.

 In ASGI deployments, Content-Length is not guaranteed to reflect the
 actual request body size, so relying on it to gate memory allocation
 allowed the limit to be bypassed. The handler now enforces
 DATA_UPLOAD_MAX_MEMORY_SIZE regardless of the declared header value.

 Thanks to Kyle Agronick for the report. Refs #35289.

 Co-authored-by: Natalia <[email protected]>
 }}}
-- 
Ticket URL: <https://code.djangoproject.com/ticket/35289#comment:14>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/django-updates/0107019df88f15c5-8e3c2b46-d419-4c39-a357-cdd208533930-000000%40eu-central-1.amazonses.com.

Reply via email to