In Django 2.2 before 2.2.20, 3.0 before 3.0.14, and 3.1 before 3.1.8, MultiPartParser…
Priority LOW 31CWE-22Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- Low · None · None
- Fix status
- Partial Red Hat: 3 fixed, 7 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-22 and the CVSS impact.
Summary
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.
Why it matters now
EPSS 0.03761 89th percentileScored 2026-11-07
Fix Partial Django (PyPI): 2.2.20, 3.0.14, 3.1.8Red Hat: 2 advisoriesRed Hat: 3 fixed, 7 without a fix
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | Django (PyPI) | 2.2a1 to before 2.2.20 | 2.2.20 | Patch available | GHSA-xgxc-v2qg-chmh |
| — | Django (PyPI) | 3.0a1 to before 3.0.14 | 3.0.14 | Patch available | GHSA-xgxc-v2qg-chmh |
| — | Django (PyPI) | 3.1a1 to before 3.1.8 | 3.1.8 | Patch available | GHSA-xgxc-v2qg-chmh |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- Django (PyPI) Vendor— Affected 2.2a1 to before 2.2.20 Fixed in 2.2.20 Patch available GHSA-xgxc-v2qg-chmh
- Django (PyPI) Vendor— Affected 3.0a1 to before 3.0.14 Fixed in 3.0.14 Patch available GHSA-xgxc-v2qg-chmh
- Django (PyPI) Vendor— Affected 3.1a1 to before 3.1.8 Fixed in 3.1.8 Patch available GHSA-xgxc-v2qg-chmh
CPE configurations NVD · 3
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* | 2.2 to before 2.2.20; 3.0 to before 3.0.14; 3.1 to before 3.1.8 | Vulnerable | djangoproject |
| cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* | 9.0 | Vulnerable | Debian |
| cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* | 34 | Vulnerable | Fedoraproject |
- cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* Versions 2.2 to before 2.2.20; 3.0 to before 3.0.14; 3.1 to before 3.1.8 Vulnerable ·djangoproject
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* Versions 9.0 Vulnerable ·Debian
- cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* Versions 34 Vulnerable ·Fedoraproject
Remediation
- Fix · GHSA-xgxc-v2qg-chmh Django (PyPI) Fixed in 2.2.20 Advisory →
- Fix · GHSA-xgxc-v2qg-chmh Django (PyPI) Fixed in 3.0.14 Advisory →
- Fix · GHSA-xgxc-v2qg-chmh Django (PyPI) Fixed in 3.1.8 Advisory →
Red Hat 2 advisories
- RHSA-2021:5070 Released 2021-12-09 · Red Hat rating ModerateRed Hat OpenStack Platform 16.1 (python-django20) security update
- Red Hat OpenStack Platform 16.1 python-django20-2.0.13-16.el8ost.1, python-django20-bash-completion-2.0.13-16.el8ost.1, python3-django20-2.0.13-16.el8ost.1
- RHSA-2021:4702 Released 2021-11-16 · Red Hat rating ModerateSatellite 6.10 Release
- Red Hat Satellite 6.10 candlepin-4.0.9-1.el7sat, foreman-2.5.2.17-2.el7sat, python-aiohttp-3.7.4-1.el7pc +14
- Red Hat Satellite Capsule 6.10 foreman-2.5.2.17-2.el7sat, python-aiohttp-3.7.4-1.el7pc, python-ecdsa-0.13.3-2.el7pc +9
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Ansible Automation Platform 1.2 | Affected | No fix yet |
| Red Hat Ceph Storage 2 | Affected | No fix planned: Out of support scope |
| Red Hat Ceph Storage 3 | Affected | No fix planned: Out of support scope |
| Red Hat OpenStack Platform 10 (Newton) | Affected | No fix planned: Out of support scope |
| Red Hat OpenStack Platform 13 (Queens) | Affected | No fix planned: Will not fix |
| Red Hat Storage 3 | Affected | No fix yet |
| Red Hat Update Infrastructure 3 for Cloud Providers | Affected | No fix planned: Out of support scope |
| Red Hat OpenStack Platform 16.1 | Fixed | RHSA-2021:5070 |
| Red Hat Satellite 6.10 | Fixed | RHSA-2021:4702 |
| Red Hat Satellite Capsule 6.10 | Fixed | RHSA-2021:4702 |
Not affected: 3 products
- Red Hat Ansible Tower 3
- Red Hat Satellite 6.10
- Red Hat Satellite Capsule 6.10
Timeline
- 2026-10-02 Threatist record created from CVE-2021-28658
- 2026-10-03 Alias added: GHSA-xgxc-v2qg-chmh
- 2026-10-14 EPSS moved to the 90th–95th percentile
- 2026-10-27 EPSS moved to the 50th–90th percentile
References
Advisory 8
- https://docs.djangoproject.com/en/3.1/releases/security/
- https://groups.google.com/g/django-announce/c/ePr5j-ngdPU
- https://www.djangoproject.com/weblog/2021/apr/06/security-releases/
- [debian-lts-announce] 20210409 [SECURITY] [DLA 2622-1] python-django security update
- FEDORA-2021-01044b8a59
- https://security.netapp.com/advisory/ntap-20210528-0001/
- https://nvd.nist.gov/vuln/detail/CVE-2021-28658
- https://github.com/advisories/GHSA-xgxc-v2qg-chmh
Other 7
- https://docs.djangoproject.com/en/3.1/releases/security
- https://github.com/django/django
- https://github.com/pypa/advisory-database/tree/main/vulns/django/PYSEC-2021-6.yaml
- https://lists.fedoraproject.org/archives/list/[email protected]/message/ZVKYPHR3TKR2ESWXBPOJEKRO2OSJRZUE
- https://pypi.org/project/Django
- https://security.netapp.com/advisory/ntap-20210528-0001
- https://www.djangoproject.com/weblog/2021/apr/06/security-releases
Sources
- CVE-2021-28658 · CVE Program
- CVE-2021-28658 · NVD
- FIRST EPSS
- GHSA-xgxc-v2qg-chmh · GitHub Advisory Database · CC BY 4.0
- CVE-2021-28658 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences