CVE-2021-33203 – django
Package
Manager: pip
Name: django
Vulnerable Version: >=0 <2.2.24 || >=3.0 <3.1.12 || >=3.2 <3.2.4
Severity
Level: Medium
CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
EPSS: 0.00301 pctl0.52856
Details
Path Traversal in Django 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.
Metadata
Created: 2021-06-10T17:21:00Z
Modified: 2024-09-20T15:32:23Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/06/GHSA-68w8-qjq3-2gfm/GHSA-68w8-qjq3-2gfm.json
CWE IDs: ["CWE-22"]
Alternative ID: GHSA-68w8-qjq3-2gfm
Finding: F063
Auto approve: 1