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.8th percentile (last changed ); unchanged over 30 days. About EPSS.
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)
- [debian-lts-announce] 20210506 [SECURITY] [DLA 2651-1] python-django security update (mailing-list, Mailing List, Third Party Advisory)
- FEDORA-2021-01044b8a59 (vendor-advisory)
- security.netapp.com/advisory/ntap-20210618-0001/ (Third Party Advisory)
- FEDORA-2022-e7fd530688 (vendor-advisory)
- github.com/django/django/commit/04ac1624bdc2fa737188401757cf95ced122d26d
- github.com/django/django/commit/25d84d64122c15050a0ee739e859f22ddab5ac48