CVE-2021-28658
MEDIUM5.3EPSS 1.5%python-django - security update
Published: 4/8/2021Modified: 4/28/2026
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.
Affected packages (6)
- Bitnami/django>= 2.2.0, < 2.2.20, >= 3.0.0, < 3.0.14, >= 3.1.0, < 3.1.8
- Debian/python-djangofrom 0, < 2:2.2.20-1
- Debian/python-djangofrom 0, < 1:1.10.7-2+deb9u12
- Debian/python-djangofrom 0, < 1:1.11.29-1+deb10u11
- PyPI/django>= 2.2a1, < 2.2.20
- PyPI/django>= 2.2, < 2.2.20, >= 3.0, < 3.0.14, >= 3.1, < 3.1.8
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | 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 |
| osv | CVSS 3.1 | MEDIUM5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
References (17)
- ADVISORYhttps://github.com/advisories/GHSA-xgxc-v2qg-chmh
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2021-28658
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2021-28658
- ADVISORYhttps://www.djangoproject.com/weblog/2021/apr/06/security-releases/
- PATCHhttps://github.com/django/django
- WEBhttps://docs.djangoproject.com/en/3.1/releases/security
- WEBhttps://docs.djangoproject.com/en/3.1/releases/security/
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2021-6.yaml
- WEBhttps://groups.google.com/g/django-announce/c/ePr5j-ngdPU
- WEBhttps://lists.debian.org/debian-lts-announce/2021/04/msg00008.html
- WEBhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZVKYPHR3TKR2ESWXBPOJEKRO2OSJRZUE/
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/ZVKYPHR3TKR2ESWXBPOJEKRO2OSJRZUE
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/ZVKYPHR3TKR2ESWXBPOJEKRO2OSJRZUE/
- WEBhttps://pypi.org/project/Django
- WEBhttps://security.netapp.com/advisory/ntap-20210528-0001
- WEBhttps://security.netapp.com/advisory/ntap-20210528-0001/
- WEBhttps://www.djangoproject.com/weblog/2021/apr/06/security-releases