CVE-2021-28658

Medium

Description

In Django 2.2 before 2.2.20, 3.0 before 3.0.14, and 3.1 before 3.1.8, MultiPartParser allowed directory traversal via uploaded files with suitably crafted file names. Built-in upload handlers were not affected by this vulnerability.

SeverityMedium
CVSS5.3
Exploit probability—
ProductDjango
PublishedApr 6, 2021
First seenApr 6, 2021

How to fix

Update
  • djangoproject django2.2.20, 3.0.14, 3.1.8 or later
  • django2.2.20, 3.0.14, 3.1.8 or later

Affected products

ProductAffected versionsFixed in
djangoproject django2.2 ≤ v < 2.2.20, 3.0 ≤ v < 3.0.14, 3.1 ≤ v < 3.1.82.2.20, 3.0.14, 3.1.8
debian debian_linux9.0—
fedoraproject fedora34—
djangoPyPI2.2a1 ≤ v < 2.2.20, 3.0a1 ≤ v < 3.0.14, 3.1a1 ≤ v < 3.1.8, 2.2 ≤ v < 2.2.20, 3.0 ≤ v < 3.0.14, 3.1 ≤ v < 3.1.82.2.20, 3.0.14, 3.1.8

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2021-28658 · Django · Dark Radar