Published: 02 June 2021

Django before 2.2.24, 3.x before 3.1.12, and 3.2.x before 3.2.4 has a potential directory traversal via django.contrib.admindocs. Staff members could use the TemplateDetailView view to check the existence of arbitrary files. Additionally, if (and only if) the default admindocs templates have been customized by application developers to also show file contents, then not only the existence but also the file contents would have been exposed. In other words, there is directory traversal outside of the template root directories.



CVSS 3 base score: 4.9


Package Release Status
Launchpad, Ubuntu, Debian
Released (2.2.24)
Ubuntu 21.04 (Hirsute Hippo)
Released (2:2.2.20-1ubuntu0.2)
Ubuntu 20.04 LTS (Focal Fossa)
Released (2:2.2.12-1ubuntu0.7)
Ubuntu 18.04 LTS (Bionic Beaver)
Released (1:1.11.11-1ubuntu1.14)
Ubuntu 16.04 ESM (Xenial Xerus)
Released (1.8.7-1ubuntu5.15+esm3)
Ubuntu 14.04 ESM (Trusty Tahr) Not vulnerable