CVE-2021-33203
Last modified
CVE-2021-33203 is a medium-severity vulnerability rated 4.9/10 on the CVSS scale. 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. EPSS estimates a 2.74% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Djangoproject | Django | < 2.2.24 |
| Djangoproject | Django | >= 3.0.0, < 3.1.12 |
| Djangoproject | Django | >= 3.2.0, < 3.2.4 |
| Fedoraproject | Fedora | 35 |
References
- https://docs.djangoproject.com/en/3.2/releases/security/Patch, Vendor Advisory
- https://security.netapp.com/advisory/ntap-20210727-0004/Third Party Advisory
- https://www.djangoproject.com/weblog/2021/jun/02/security-releases/Patch, Vendor Advisory
- https://docs.djangoproject.com/en/3.2/releases/security/Patch, Vendor Advisory
- https://security.netapp.com/advisory/ntap-20210727-0004/Third Party Advisory
- https://www.djangoproject.com/weblog/2021/jun/02/security-releases/Patch, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-33203?
How severe is CVE-2021-33203?
How do I fix CVE-2021-33203?
Are you affected by CVE-2021-33203?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
