Vulnerabilities · 2021 · Djangoproject
CVE-2021-45452
Djangoproject Django vulnerability
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
Django, Fedora. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Djangoproject Django runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- docs.djangoproject.com/en/4.0/releases/security/ · Patch
- www.djangoproject.com/weblog/2022/jan/04/security-releases/ · Patch
- security.netapp.com/advisory/ntap-20220121-0005/ · Third Party Advisory
- groups.google.com/forum/#%21forum/django-announce
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/B
- nvd.nist.gov/vuln/detail/CVE-2021-45452
- groups.google.com/forum/#!forum/django-announce
- github.com/django/django/commit/4cb35b384ceef52123fc66411a73c36a706825e1
- nvd.nist.gov/vuln/detail/CVE-2021-45452
- cve.org/CVERecord?id=CVE-2021-45452
More vulnerabilities in Djangoproject products
CVE-2026-1312CVE-2026-1287CVE-2026-1285CVE-2026-1207CVE-2025-64460CVE-2025-64459CVE-2025-64458CVE-2025-59682All 137
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.