CVE-2021-31542

HIGH

Django 2.2-2.2.20, 3.1-3.1.8, 3.2-3.2.0 - Path Traversal via Uploaded File Name

Title source: llm
STIX 2.1

Description

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.

Scores

CVSS v3 7.5
EPSS 0.0529
EPSS Percentile 91.5%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Details

CWE
CWE-22
Status published
Products (5)
debian/debian_linux 9.0
djangoproject/django 2.2 - 2.2.21
fedoraproject/fedora 34
fedoraproject/fedora 35
pypi/Django 2.2 - 2.2.21PyPI
Published May 05, 2021
Tracked Since Feb 18, 2026