CVE-2021-45452

Medium

Description

Storage.save in Django 2.2 before 2.2.26, 3.2 before 3.2.11, and 4.0 before 4.0.1 allows directory traversal if crafted filenames are directly passed to it.

SeverityMedium
CVSS5.3
Exploit probability—
ProductDjango
PublishedJan 5, 2022
First seenJan 5, 2022

How to fix

Update
  • djangoproject django2.2.26, 3.2.11, 4.0.1 or later
  • django2.2.26, 3.2.11, 4.0.1 or later

Affected products

ProductAffected versionsFixed in
djangoproject django2.2 ≤ v < 2.2.26, 3.2 ≤ v < 3.2.11, 4.0 ≤ v < 4.0.12.2.26, 3.2.11, 4.0.1
fedoraproject fedora35—
djangoPyPI2.2 ≤ v < 2.2.26, 3.2 ≤ v < 3.2.11, 4.0 ≤ v < 4.0.12.2.26, 3.2.11, 4.0.1

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.