#33212: Incorrect cookie parsing by django.http.cookie.parse_cookie
-----------------------------------+--------------------------------------
     Reporter:  Christos Georgiou  |                    Owner:  nobody
         Type:  Bug                |                   Status:  new
    Component:  Core (Other)       |                  Version:  3.2
     Severity:  Normal             |               Resolution:
     Keywords:  cookies            |             Triage Stage:  Unreviewed
    Has patch:  0                  |      Needs documentation:  0
  Needs tests:  0                  |  Patch needs improvement:  0
Easy pickings:  0                  |                    UI/UX:  0
-----------------------------------+--------------------------------------

Comment (by Mr. Glass):

 Replying to [comment:1 Christos Georgiou]:
 > There is a related discussion at
 https://code.djangoproject.com/ticket/26158 where it is claimed that
 splitting on ';' is safe (because a raw ';' is invalid in a cookie value).
 I don't think it is, unless we assume that all HTTP requests come **from
 well-known browsers** that are **trustworthy** to follow standards.

 Parsing errors like this often lead to security vulnerabilities, and an
 attacker will NOT use a client that conforms to standards

-- 
Ticket URL: <https://code.djangoproject.com/ticket/33212#comment:3>
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 on the web visit 
https://groups.google.com/d/msgid/django-updates/062.e12723519d58c4c7c0685d4585b94807%40djangoproject.com.

Reply via email to