cbcvebase.
CVE-2021-33203
published 2021-06-08

CVE-2021-33203: 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…

PriorityP432medium4.9CVSS 3.1
AVNACLPRHUINSUCHINAN
EPSS
2.74%
84.3th percentile
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.

Affected

8 ranges
VendorProductVersion rangeFixed in
debianpython-django< python-django 2:2.2.24-1 (bookworm)python-django 2:2.2.24-1 (bookworm)
djangoprojectdjango< 2.2.242.2.24
djangoprojectdjango>= 0 < 2.2.242.2.24
djangoprojectdjango>= 3.0 < 3.1.123.1.12
djangoprojectdjango>= 3.0.0 < 3.1.123.1.12
djangoprojectdjango>= 3.2 < 3.2.43.2.4
djangoprojectdjango>= 3.2.0 < 3.2.43.2.4
fedoraprojectfedora

CVSS provenance

nvdv3.14.9MEDIUMCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
nvdv2.04.0MEDIUMAV:N/AC:L/Au:S/C:P/I:N/A:N
osv6.1MEDIUM
vendor_ubuntu6.1MEDIUM
vendor_debian4.9MEDIUM
vendor_redhat4.9MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.