#37101: Vary header cache key collision from missing delimiter
-------------------------------------+-------------------------------------
     Reporter:  Jake Howard          |                     Type:  Bug
       Status:  new                  |                Component:  Core
                                     |  (Cache system)
      Version:  6.0                  |                 Severity:  Normal
     Keywords:                       |             Triage Stage:
                                     |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
 When a cached view varies on multiple headers, the values of those headers
 are concatenated together in the cache key. There is no delimiter, meaning
 the cache keys could overlap:

 {{{
    X-Region: US
    X-Tenant: victim-corp
 }}}

 {{{

    X-Region: U
    X-Tenant: Svictim-corp
 }}}

 The above 2 examples would result in the same cache key, despite being
 different values. Changes to the cache key should be made to ensure values
 in this way don't collide.

 ----

 This was previously reported to the Security Team by GeonHa. However,
 because it requires in depth knowledge of the system, a lack of user
 validation and similar values, it is not considered a vulnerability.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/37101>
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/0107019e2c161c17-786dc7b8-f842-4102-a2d8-b7e3ff916fc8-000000%40eu-central-1.amazonses.com.

Reply via email to