Vulnerabilities · 2021 · Djangoproject
CVE-2021-28658
Djangoproject Django vulnerability
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.
Affected products
Django, Debian Linux, 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/3.1/releases/security/ · Vendor Advisory
- www.djangoproject.com/weblog/2021/apr/06/security-releases/ · Vendor Advisory
- groups.google.com/g/django-announce/c/ePr5j-ngdPU · Third Party Advisory
- lists.debian.org/debian-lts-announce/2021/04/msg00008.html · Third Party Advisory
- security.netapp.com/advisory/ntap-20210528-0001/ · Third Party Advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Z
- nvd.nist.gov/vuln/detail/CVE-2021-28658
- docs.djangoproject.com/en/3.1/releases/security
- nvd.nist.gov/vuln/detail/CVE-2021-28658
- cve.org/CVERecord?id=CVE-2021-28658
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.