#27659: Arbritrary file overrides in startproject/app template extraction
---------------------------------------------+------------------------
               Reporter:  Florian Apolloner  |          Owner:  nobody
                   Type:  Bug                |         Status:  new
              Component:  Utilities          |        Version:  master
               Severity:  Normal             |       Keywords:
           Triage Stage:  Accepted           |      Has patch:  0
    Needs documentation:  0                  |    Needs tests:  0
Patch needs improvement:  0                  |  Easy pickings:  0
                  UI/UX:  0                  |
---------------------------------------------+------------------------
 Note: This was reported as security issue intially by me, but we think
 that this is more hardening than an actual issue -- if you are downloading
 untrusted archives the content can be much worse anyways…

 The issue here is that tar files (and probably zip files too), can store
 full and/or relative paths and therefore escape out of the extraction
 root.

 Attached is an initial WIP to show the issue and possible solution.

--
Ticket URL: <https://code.djangoproject.com/ticket/27659>
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/051.5b486f49de59b33389bc6a08a3e877a9%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to