CVE-2021-28658
mediumpriority · track · 22EPSS 0.038 · 90 %ileEURUUSEPSS · scored 2026-10-27
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.
remediations
Vendor fix, mitigation, or workaround guidance, as published by each source.
A vendor fix is available.
- Fixedpython-django20-0:2.0.13-16.el8ost.1.src as a component of Red Hat OpenStack Platform 16.1redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:5070 - Fixedpython-django20-bash-completion-0:2.0.13-16.el8ost.1.noarch as a component of Red Hat OpenStack Platform 16.1redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:5070 - Fixedpython3-django20-0:2.0.13-16.el8ost.1.noarch as a component of Red Hat OpenStack Platform 16.1redhat_csaf
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
https://access.redhat.com/errata/RHSA-2021:5070
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (29)
Products and version ranges known to be affected.
advisories (4)
Vendor and ecosystem advisories describing this.
- RHSA-2021:5070Red Hat Security Advisory: Red Hat OpenStack Platform 16.1 (python-django20) security update2021-12-09csaf · redhat_csafUS
An update for python-django20 is now available for Red Hat OpenStack Platform 16.1 (Train). Red Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.
- GHSA-xgxc-v2qg-chmhDirectory Traversal in Django2021-04-08ghsa · osvUS
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.
- BIT-django-2021-286582024-03-06vendor · osvUS
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.
- PYSEC-2021-62021-04-06vendor · osvUS
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.
also known as (8)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (29)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2021-28658cnnvd
- https://docs.djangoproject.com/en/3.1/releases/security/cnnvd
- https://groups.google.com/g/django-announce/c/ePr5j-ngdPUcnnvd
- https://lists.debian.org/debian-lts-announce/2021/04/msg00008.htmlcnnvd
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZVKYPHR3TKR2ESWXBPOJEKRO2OSJRZUE/cnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2021-28658cnnvd
- https://packetstormsecurity.com/files/162103/Ubuntu-Security-Notice-USN-4902-1.htmlcnnvd
- https://packetstormsecurity.com/files/164991/Red-Hat-Security-Advisory-2021-4702-01.htmlcnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan