Vulnerability advisory
CVE-2021-28658
Also known as BIT-django-2021-28658GHSA-xgxc-v2qg-chmhPYSEC-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
Affected versions
Repository
| Affected commits | Fixed by commit |
|---|---|
| GIT github.com/django/django ↗ | |
| 2a62cdcfec85938f40abb2e9e6a9ff497e02afe8 to before ad9fa56a17bf9691615e9bb6e41d08d51cfe8a5d | ad9fa56a17bf9691615e9bb6e41d08d51cfe8a5d |
| 2a04e24d2dfc8e60a66e4369d970913cb2112d91 to before f52800243545af658c27f83623b5fc72ae6b8dcf | f52800243545af658c27f83623b5fc72ae6b8dcf |
| 0b8a0296bfd30748f08021834e95cdae241686e8 to before c4928c9115104d3d88a0ccb57e030f0b5f445ed8 | c4928c9115104d3d88a0ccb57e030f0b5f445ed8 |
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
- Weblists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZVKYPHR3TKR2ESWXBPOJEKRO2OSJRZUE/ ↗
- Advisorydocs.djangoproject.com/en/3.1/releases/security/ ↗
- Advisorygroups.google.com/g/django-announce/c/ePr5j-ngdPU ↗
- Advisorylists.debian.org/debian-lts-announce/2021/04/msg00008.html ↗
- Advisorysecurity.netapp.com/advisory/ntap-20210528-0001/ ↗
- Advisorywww.djangoproject.com/weblog/2021/apr/06/security-releases/ ↗