Path Traversal in Djangoproject Django
CVE-2021-31542
In Django 2.2 before 2.2.21, 3.1 before 3.1.9, and 3.2 before 3.2.1, MultiPartParser, UploadedFile, and FieldFile allowed directory traversal via uploaded files with suitably crafted file names.
Vulnerability class: Path Traversal (Directory Traversal)
EPSS: 0.053 (91.7th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
Affected products
- Djangoproject Django
- Debian Debian_linux — versions 9.0
- Fedoraproject Fedora — versions 34, 35
- N/a — versions n/a
Weakness classification (CWE)
References
- cve@mitre.org
- cve@mitre.org (Patch, Vendor Advisory)
- cve@mitre.org (Patch, Mailing List, Third Party Advisory)
- cve@mitre.org (Release Notes, Vendor Advisory)
- cve@mitre.org (mailing-list, Mailing List, Third Party Advisory)
- cve@mitre.org (vendor-advisory)
- cve@mitre.org (Third Party Advisory)
- cve@mitre.org (vendor-advisory)
- cve@mitre.org
- cve@mitre.org
Frequently asked questions
- What is CVE-2021-31542?
- CVE-2021-31542 is a high-severity vulnerability in Djangoproject Django, classified under Path Traversal. CVSS score: 7.5/10. Published 2021-05-05.
- How severe is CVE-2021-31542?
- High severity. CVSS v3 base score is 7.5 out of 10.