CVE-2021-33203

medium
Published 2021-06-10 · Modified 2023-12-06
CVSS v3
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
CVSS v2
VIR risk
5.5

Description

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.

Predictions

Exploit likelihood
30%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2021-33203

vendor Authored 2026-05-27

Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2021-33203.html

vendor Authored 2026-05-27

Vendor advisory: arch — https://security.archlinux.org/ASA-202106-41

OS impact

OSVersionStatusFixed in
arch archfixed3.2.4-1
suse slesaffected
debian debianbookwormfixed2:2.2.24-1
debian debianbullseyefixed2:2.2.24-1
debian debianforkyfixed2:2.2.24-1
debian debiansidfixed2:2.2.24-1
debian debiantrixiefixed2:2.2.24-1

Package impact

EcosystemPackageVulnerableFixed
python PyPIdjango<2.2.242.2.24
python PyPIdjango>=3.0,<3.1.123.1.12
python PyPIdjango>=3.2,<3.2.43.2.4

References

Verify integrity in audit chain (admin only). AS-IS.