CVE-2021-28658: Directory Traversal in Django
(updated )
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.
References
- docs.djangoproject.com/en/3.1/releases/security
- github.com/advisories/GHSA-xgxc-v2qg-chmh
- github.com/django/django
- github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2021-6.yaml
- groups.google.com/g/django-announce/c/ePr5j-ngdPU
- lists.debian.org/debian-lts-announce/2021/04/msg00008.html
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZVKYPHR3TKR2ESWXBPOJEKRO2OSJRZUE
- nvd.nist.gov/vuln/detail/CVE-2021-28658
- pypi.org/project/Django
- security.netapp.com/advisory/ntap-20210528-0001
- www.djangoproject.com/weblog/2021/apr/06/security-releases
Detect and mitigate CVE-2021-28658 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →