CVE-2021-31542

django: Potential directory-traversal via uploaded files

Published May 5, 2021 CVSS 3.1 · 7.5 High EPSS 5.3% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-2651-1 python-django security update
Debian DLA Debian DLA DLA-3744-1 python-django security update
EUVD EUVD EUVD-2021-0064 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.
Github GHSA Github GHSA GHSA-rxjp-mfm9-w4wr Path Traversal in Django
Ubuntu USN Ubuntu USN USN-4932-1 Django vulnerability
Ubuntu USN Ubuntu USN USN-4932-2 Django vulnerability
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 3, 2024, 11:03 PM
Reserved
Apr 22, 2021, 12:00 AM
Status
Modified
Published
May 5, 2021, 3:15 PM
Modified
Jun 17, 2026, 3:51 AM
Severity
Moderate
Public date
May 4, 2021, 12:00 AM