CVE-2021-33203

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.

Priority

Low

Status

Package Release Status
python-django
Launchpad, Ubuntu, Debian
Upstream
Released (2.2.24)
Ubuntu 21.04 (Hirsute Hippo)
Released (2:2.2.20-1ubuntu0.2)
Ubuntu 20.10 (Groovy Gorilla)
Released (2:2.2.16-1ubuntu0.5)
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