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

Weakness classification (CWE)

References

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.