GitHub Advisoryadvisory · PyPI
GHSA-xgxc-v2qg-chmh Directory Traversal in Django
MEDIUM
Official page ↗
- Aliases
- CVE-2021-28658
- Ecosystem
- PyPI
- Packages
- Django
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- Weaknesses
- CWE-22
- Reviewed
- 2021-04-08
Affected packages
• PyPI Django: >= 2.2a1, < 2.2.20 → fixed in 2.2.20
• PyPI Django: >= 3.0a1, < 3.0.14 → fixed in 3.0.14
• PyPI Django: >= 3.1a1, < 3.1.8 → fixed in 3.1.8
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.
Related
Alias · CVE (1)
- CVE-2021-28658 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… vulnerability
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2021-28658 advisory
- https://docs.djangoproject.com/en/3.1/releases/security web
- https://github.com/advisories/GHSA-xgxc-v2qg-chmh advisory
- https://github.com/django/django package
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2021-6.yaml web
- https://groups.google.com/g/django-announce/c/ePr5j-ngdPU web
- https://lists.debian.org/debian-lts-announce/2021/04/msg00008.html web
- https://lists.fedoraproject.org/archives/list/[email protected]/message/ZVKYPHR3TKR2ESWXBPOJEKRO2OSJRZUE web
- https://pypi.org/project/Django web
- https://security.netapp.com/advisory/ntap-20210528-0001 web
- https://www.djangoproject.com/weblog/2021/apr/06/security-releases web