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 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.
Path Traversal
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
4.9 MEDIUM
NETWORK
LOW
HIGH
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
mitreCNA
---
---
CVEADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 52%
VendorProductVersion
djangoprojectdjango
𝑥
< 2.2.24
djangoprojectdjango
3.0.0 ≤
𝑥
< 3.1.12
djangoprojectdjango
3.2.0 ≤
𝑥
< 3.2.4
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
python-django
bullseye (security)
2:2.2.28-1~deb11u2
fixed
bullseye
2:2.2.28-1~deb11u2
fixed
bookworm
3:3.2.19-1+deb12u1
fixed
bookworm (security)
3:3.2.19-1+deb12u1
fixed
sid
3:4.2.16-1
fixed
trixie
3:4.2.16-1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
python-django
jammy
Fixed 2:2.2.24-1
released
impish
Fixed 2:2.2.24-1
released
hirsute
Fixed 2:2.2.20-1ubuntu0.2
released
groovy
Fixed 2:2.2.16-1ubuntu0.5
released
focal
Fixed 2:2.2.12-1ubuntu0.7
released
bionic
Fixed 1:1.11.11-1ubuntu1.14
released
xenial
Fixed 1.8.7-1ubuntu5.15+esm3
released
trusty
not-affected