Vulnerability advisory
GHSA-xgxc-v2qg-chmh
Directory Traversal in Django
Also known as BIT-django-2021-28658CVE-2021-28658PYSEC-2021-6
Severity
- CVSS 3.x
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N - CVSS 4.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Affected versions
| Affected | Fixed in |
|---|---|
2.2a1 to before 2.2.20 | 2.2.20Advisories → |
3.0a1 to before 3.0.14 | 3.0.14Advisories → |
3.1a1 to before 3.1.8 | 3.1.8Advisories → |
Description
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
- Advisorynvd.nist.gov/vuln/detail/CVE-2021-28658 ↗
- Webdocs.djangoproject.com/en/3.1/releases/security ↗
- Advisorygithub.com/advisories/GHSA-xgxc-v2qg-chmh ↗
- Packagegithub.com/django/django ↗
- Webgithub.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2021-6.yaml ↗
- Webgroups.google.com/g/django-announce/c/ePr5j-ngdPU ↗
- Weblists.debian.org/debian-lts-announce/2021/04/msg00008.html ↗
- Weblists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZVKYPHR3TKR2ESWXBPOJEKRO2OSJRZUE ↗
- Webpypi.org/project/Django ↗
- Websecurity.netapp.com/advisory/ntap-20210528-0001 ↗
- Webwww.djangoproject.com/weblog/2021/apr/06/security-releases ↗