CVSS 3.1
5.3 mediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:NMedium (5.3). EPSS 3.8% estimated probability of exploitation activity in the next 30 days. Fixed in django 2.2.20, 3.0.14, 3.1.8.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:Ndjango (PyPI): fixed in 2.2.20, 3.0.14, 3.1.8Explain CVE-2021-28658 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-28658?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-28658?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-28658 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| djangoproject:django | from 2.2 before 2.2.20 |
| djangoproject:django | from 3.0 before 3.0.14 |
| djangoproject:django | from 3.1 before 3.1.8 |
| debian:debian_linux | 9.0 |
| fedoraproject:fedora | 34 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-xgxc-v2qg-chmh | PyPI | django | >=2.2a1 <2.2.20 | 2.2.20 |
| GHSA-xgxc-v2qg-chmh | PyPI | django | >=3.0a1 <3.0.14 | 3.0.14 |
| GHSA-xgxc-v2qg-chmh | PyPI | django | >=3.1a1 <3.1.8 | 3.1.8 |
| PYSEC-2021-6 | PyPI | django | >=2.2 <2.2.20 >=3.0 <3.0.14 >=3.1 <3.1.8 | 2.2.20, 3.0.14, 3.1.8 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 9 | python-django | 1:1.10.7-2+deb9u12 | DLA-2622-1 |
| Debian | 10 | python-django | 1:1.11.29-1+deb10u11 | DLA-3744-1 |
| Debian | 12, 13, 14 | python-django | 2:2.2.20-1 | DEBIAN-CVE-2021-28658 |
| Ubuntu | 16.04:LTS | python-django | 1.8.7-1ubuntu5.15 | UBUNTU-CVE-2021-28658 USN-4902-1 |
| Ubuntu | 18.04:LTS | python-django | 1:1.11.11-1ubuntu1.12 | UBUNTU-CVE-2021-28658 USN-4902-1 |
| Ubuntu | 20.04:LTS | python-django | 2:2.2.12-1ubuntu0.5 | UBUNTU-CVE-2021-28658 USN-4902-1 |
| Ubuntu | Pro:14.04:LTS | python-django | no fix listed | UBUNTU-CVE-2021-28658 |
| Red Hat | openstack:16.1::el8 | python-django20, python3-django20, python-django20-bash-completion | 0:2.0.13-16.el8ost.1 | RHSA-2021:5070 |
| Red Hat | satellite:6.10::el7 | candlepin | 0:4.0.9-1.el7sat | RHSA-2021:4702 |
| Red Hat | satellite:6.10::el7 | satellite | 0:6.10.0-3.el7sat | RHSA-2021:4702 |
| Red Hat | satellite:6.10::el7 | tfm-rubygem-activerecord-session_store | 0:2.0.0-1.el7sat | RHSA-2021:4702 |
| Red Hat | satellite:6.10::el7 | tfm-rubygem-addressable | 0:2.8.0-1.el7sat | RHSA-2021:4702 |
| Red Hat | satellite:6.10::el7 | tfm-rubygem-puma | 0:5.3.2-1.el7sat | RHSA-2021:4702 |
| Red Hat | satellite:6.10::el7 | tfm-rubygem-rails, tfm-rubygem-actionpack | 0:6.0.3.7-1.el7sat | RHSA-2021:4702 |
| Red Hat | satellite:6.10::el7, satellite_capsule:6.10::el7 | foreman | 0:2.5.2.17-2.el7sat | RHSA-2021:4702 |
| Red Hat | satellite:6.10::el7, satellite_capsule:6.10::el7 | python-aiohttp | 0:3.7.4-1.el7pc | RHSA-2021:4702 |
| Red Hat | satellite:6.10::el7, satellite_capsule:6.10::el7 | python-ecdsa, python3-ecdsa | 0:0.13.3-2.el7pc | RHSA-2021:4702 |
| Red Hat | satellite:6.10::el7, satellite_capsule:6.10::el7 | python-pyyaml, python3-pyyaml | 0:5.4.1-1.el7pc | RHSA-2021:4702 |
| Red Hat | satellite:6.10::el7, satellite_capsule:6.10::el7 | python-urllib3, python3-urllib3 | 0:1.26.5-1.el7pc | RHSA-2021:4702 |
| 3 more for Red Hat in the JSON and on Red Hat's page. | ||||
| SUSE | HPE Helion OpenStack 8 | documentation-hpe-helion-openstack-user, documentation-hpe-helion-openstack-planning, documentation-hpe-helion-openstack-security and 3 more | 8.20210512-1.32.5 | SUSE-SU-2021:2554-1 |
| SUSE | HPE Helion OpenStack 8 | venv-openstack-horizon-hpe | 12.0.5~dev6-14.36.3 | SUSE-SU-2021:2554-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8 | ardana-cobbler | 8.0+git.1614096566.e8c2b27-3.44.3 | SUSE-SU-2021:2554-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8 | venv-openstack-aodh | 5.1.1~dev7-12.32.3 | SUSE-SU-2021:2554-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8 | venv-openstack-barbican | 5.0.2~dev3-12.33.3 | SUSE-SU-2021:2554-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8 | venv-openstack-ceilometer | 9.0.8~dev7-12.30.3 | SUSE-SU-2021:2554-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8 | venv-openstack-cinder | 11.2.3~dev29-14.34.2 | SUSE-SU-2021:2554-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8 | venv-openstack-designate | 5.0.3~dev7-12.31.3 | SUSE-SU-2021:2554-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8 | venv-openstack-freezer | 5.0.0.0~xrc2~dev2-10.28.3 | SUSE-SU-2021:2554-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8 | venv-openstack-glance | 15.0.3~dev3-12.31.3 | SUSE-SU-2021:2554-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8 | venv-openstack-heat | 9.0.8~dev22-12.33.2 | SUSE-SU-2021:2554-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8 | venv-openstack-ironic | 9.1.8~dev8-12.33.3 | SUSE-SU-2021:2554-1 |
| 71 more for SUSE in the JSON and on SUSE's page. | ||||
| Alpine | v3.13, v3.14, v3.15 and 9 more | py3-django | 3.1.8-r0 | ALPINE-CVE-2021-28658 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · Alpine.
Red Hat rates this Moderate.
Although Red Hat Ansible Tower ships the flawed code, it does not use the vulnerable function i.e. "MultiPartParser" and therefore will not be updated.
Red Hat Update Infrastructure ship affected version of python-django however RHUI v3 is in maintenance support phase and we are only fixing critical and important fixes. Please refer RHUI support lifecycle page for more information: https://access.redhat.com/support/policy/updates/rhui.
In Red Hat OpenStack Platform 13, because the flaw has a lower impact and the fix would require a substantial amount of development, no update will be provided at this time for the RHOSP python-django package.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat OpenStack Platform 16.1 | python-django20-0:2.0.13-16.el8ost.1 | Fixed 2021-12-09 | RHSA-2021:5070 |
| Red Hat Satellite 6.10 for RHEL 7 | python3-django-0:2.2.24-1.el7pc | Fixed 2021-11-16 | RHSA-2021:4702 |
| Red Hat Ansible Automation Platform 1.2 | django | Affected | |
| Red Hat Ansible Automation Platform 1.2 | python-django | Affected | |
| Red Hat Ansible Tower 3 | django | Not affected | |
| Red Hat Ceph Storage 2 | calamari-server | Out of support scope | |
| Red Hat Ceph Storage 2 | python-django | Out of support scope | |
| Red Hat Ceph Storage 3 | python-django | Out of support scope | |
| Red Hat OpenStack Platform 10 (Newton) | python-django | Out of support scope | |
| Red Hat OpenStack Platform 13 (Queens) | python-django | Will not fix | |
| Red Hat Storage 3 | python-django | Affected | |
| Red Hat Update Infrastructure 3 for Cloud Providers | python-django | Out of support scope |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-28658.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.