CVE-2021-33203
Published: 2 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
Status
Package | Release | Status |
---|---|---|
python-django Launchpad, Ubuntu, Debian |
bionic |
Released
(1:1.11.11-1ubuntu1.14)
|
focal |
Released
(2:2.2.12-1ubuntu0.7)
|
|
groovy |
Released
(2:2.2.16-1ubuntu0.5)
|
|
hirsute |
Released
(2:2.2.20-1ubuntu0.2)
|
|
impish |
Released
(2:2.2.24-1)
|
|
jammy |
Released
(2:2.2.24-1)
|
|
trusty |
Not vulnerable
|
|
upstream |
Released
(2.2.24)
|
|
xenial |
Released
(1.8.7-1ubuntu5.15+esm3)
Available with Ubuntu Pro or Ubuntu Pro (Infra-only) |
Severity score breakdown
Parameter | Value |
---|---|
Base score | 4.9 |
Attack vector | Network |
Attack complexity | Low |
Privileges required | High |
User interaction | None |
Scope | Unchanged |
Confidentiality | High |
Integrity impact | None |
Availability impact | None |
Vector | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N |