What’s Vulnerable › Vulnerabilities

CVE-2021-45452: Directory-traversal in Django

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.

Affected products

How to fix

Upgrade to a fixed version: Django 2.2.26, 3.2.11, 4.0.1; Pypi Django 2.2.26, 3.2.11, 4.0.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2021-45452 or the next vulnerability affects your stack