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)
Published · last modified .
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.
EPSS exploit prediction
EPSS: 0.053 (92.4th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 92nd percentile — 92.4% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.053 · newest: 0.053 · change: +0.000
Affected products
- Djangoproject Django
- Debian Linux — versions 9.0
- Fedoraproject Fedora — versions 34, 35
Weakness classification (CWE)
References
- groups.google.com/forum/
- docs.djangoproject.com/en/3.2/releases/security/ (Patch, Vendor Advisory)
- www.openwall.com/lists/oss-security/2021/05/04/3 (Patch, Mailing List, Third Party Advisory)
- www.djangoproject.com/weblog/2021/may/04/security-releases/ (Release Notes, Vendor Advisory)
- lists.debian.org/debian-lts-announce/2021/05/msg00005.html (mailing-list, Mailing List, Third Party Advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- security.netapp.com/advisory/ntap-20210618-0001/ (Third Party Advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- github.com/django/django/commit/04ac1624bdc2fa737188401757cf95ced122d26d
- github.com/django/django/commit/25d84d64122c15050a0ee739e859f22ddab5ac48
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.