CVE-2021-33203: djangoproject django
Vulnerability summary
CVE-2021-33203 is a medium (CVSS 4.9) vulnerability in djangoproject django. EPSS estimates a 2.74% chance of exploitation in the next 30 days, higher than 86.1% of scored vulnerabilities.
Not severe (CVSS 4.9, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 18 · Related 12Timeline
- 08-06-2021PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
7 scores · 5 sources · 3 versions- OSV · PypiEcosystem advisory · calculated4.9MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
- OSV · UbuntuEcosystem advisory · calculated4.9MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
- OSV · DebianEcosystem advisory · calculated4.9MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
- OSV · AlpineEcosystem advisory · calculated4.9MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
EPSS trend
Probability
2.74%
Chance of exploitation in the next 30 days
Percentile
86%
Versus all other CVEs
30-day change
No change 0.00 pp
From 2.74% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, administrative account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Alpine1 product
- py3-django< 3.1.13-r0
Debian1 product
- python-django< 2:2.2.24-1
Djangoproject1 product
- django< 2.2.24 | ≥ 3.0.0, < 3.1.12 | ≥ 3.2.0, < 3.2.4
Fedoraproject1 product
- fedoraEOL35
PyPI1 product
- django< 2.2.24 | ≥ 3.0, < 3.1.12 | ≥ 3.2, < 3.2.4
Ubuntu1 product
- python-django< 1.8.7-1ubuntu5.15+esm3 | < 1:1.11.11-1ubuntu1.14 | < 2:2.2.12-1ubuntu0.7
6 vendors · 6 products
References
23 links- groups.google.com/forum/X Refsource MISC
- www.djangoproject.com/weblog/2021/jun/02/security-releases/X Refsource CONFIRMARTICLEREPORTPatchVendor Advisory
Show all 23 references
- github.com/django/djangoPACKAGE