CVE-2021-31542

HIGH
7.5
CVSS Score
Published: May 5, 2021 at 12:00 AM UTC
Updated: June 17, 2026 at 03:51 AM UTC
3 products affected across 3 vendorsDebian LinuxFedoraDjango

Using N/A by N/A?

Get instant alerts when new vulnerabilities affect N/A - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.5
Exploit prediction
EPSS 5%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

2.2 ≤ v < 2.2.213.1 ≤ v < 3.1.93.2 ≤ v < 3.2.1
Affected range stops below 2.2.21, so it looks safe — our inference, not a vendor statement
Affected range stops below 3.1.9, so it looks safe — our inference, not a vendor statement
Affected range stops below 3.2.1, so it looks safe — our inference, not a vendor statement

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-22

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card