#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:"2ec27eda3ba6c14f0856e6e3eb1df07c41fd95e6" 2ec27eda]:
 {{{#!CommitTicketReference repository=""
 revision="2ec27eda3ba6c14f0856e6e3eb1df07c41fd95e6"
 [5.2.x] 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]>

 Backport of 5a89e341bfc77dd67b7fd57b7091b6430558e1f4 from main.
 }}}
-- 
Ticket URL: <https://code.djangoproject.com/ticket/35289#comment:16>
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/0107019df8902a6d-e7b540e1-e297-411b-bb32-c274330a0f32-000000%40eu-central-1.amazonses.com.

Reply via email to