CVSS 3.1
5.3 mediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:NMedium (5.3). EPSS 7.6% estimated probability of exploitation activity in the next 30 days. Fixed in django 2.2.18, 3.0.12, 3.1.6.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:Ndjango (PyPI): fixed in 2.2.18, 3.1.6, 3.0.12Explain CVE-2021-3281 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-3281?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-3281?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-3281 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.18 |
| djangoproject:django | from 3.0 before 3.0.12 |
| djangoproject:django | from 3.1 before 3.1.6 |
| fedoraproject:fedora | 33 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-fvgf-6h6h-3322 | PyPI | django | >=2.2 <2.2.18 | 2.2.18 |
| GHSA-fvgf-6h6h-3322 | PyPI | django | >=3.1 <3.1.6 | 3.1.6 |
| GHSA-fvgf-6h6h-3322 | PyPI | django | >=3.0 <3.0.12 | 3.0.12 |
| PYSEC-2021-9 | PyPI | django | >=2.2 <2.2.18 >=3.0 <3.0.12 >=3.1 <3.1.6 | 2.2.18, 3.0.12, 3.1.6 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 9 | python-django | 1:1.10.7-2+deb9u10 | DLA-2540-1 |
| Debian | 10 | python-django | 1:1.11.29-1+deb10u2 | DLA-3164-1 |
| Debian | 12, 13, 14 | python-django | 2:2.2.18-1 | DEBIAN-CVE-2021-3281 |
| Ubuntu | 16.04:LTS | python-django | 1.8.7-1ubuntu5.14 | UBUNTU-CVE-2021-3281 USN-4715-1 |
| Ubuntu | 18.04:LTS | python-django | 1:1.11.11-1ubuntu1.10 | UBUNTU-CVE-2021-3281 USN-4715-1 |
| Ubuntu | 20.04:LTS | python-django | 2:2.2.12-1ubuntu0.3 | UBUNTU-CVE-2021-3281 USN-4715-1 |
| Ubuntu | Pro:14.04:LTS | python-django | 1.6.11-0ubuntu1.3+esm2 | UBUNTU-CVE-2021-3281 USN-4715-2 |
| Red Hat | ansible_automation_platform:4.2::el7 | automation-hub, python-galaxy-ng, python3-galaxy-ng | 0:4.2.2-1.el7pc | RHSA-2021:0781 |
| Red Hat | ansible_automation_platform:4.2::el7 | python-bleach, python3-bleach | 0:3.3.0-1.el7pc | RHSA-2021:0781 |
| Red Hat | ansible_automation_platform:4.2::el7 | python-bleach-allowlist, python3-bleach-allowlist | 0:1.0.3-1.el7pc | RHSA-2021:0781 |
| Red Hat | ansible_automation_platform:4.2::el7 | python-galaxy-importer, python3-galaxy-importer | 0:0.2.15-1.el7pc | RHSA-2021:0781 |
| Red Hat | ansible_automation_platform:4.2::el7 | python-pulp-ansible, python3-pulp-ansible | 1:0.5.6-1.el7pc | RHSA-2021:0781 |
| Red Hat | ansible_automation_platform:4.2::el7 | python3-django | 0:2.2.18-1.el7pc | RHSA-2021:0781 |
| Red Hat | ansible_automation_platform:4.2::el8 | automation-hub, python-galaxy-ng, python3-galaxy-ng | 0:4.2.2-1.el8pc | RHSA-2021:0781 |
| Red Hat | ansible_automation_platform:4.2::el8 | python-bleach, python3-bleach | 0:3.3.0-1.el8pc | RHSA-2021:0781 |
| Red Hat | ansible_automation_platform:4.2::el8 | python-bleach-allowlist, python3-bleach-allowlist | 0:1.0.3-1.el8pc | RHSA-2021:0781 |
| Red Hat | ansible_automation_platform:4.2::el8 | python-galaxy-importer, python3-galaxy-importer | 0:0.2.15-1.el8pc | RHSA-2021:0781 |
| Red Hat | ansible_automation_platform:4.2::el8 | python-pulp-ansible, python3-pulp-ansible | 1:0.5.6-1.el8pc | RHSA-2021:0781 |
| Red Hat | ansible_automation_platform:4.2::el8 | python3-django | 0:2.2.18-1.el8pc | RHSA-2021:0781 |
| 2 more for Red Hat in the JSON and on Red Hat's page. | ||||
| SUSE | HPE Helion OpenStack 8 | release-notes-hpe-helion-openstack | 8.20201214-3.29.1 | SUSE-RU-2021:0351-1 |
| SUSE | HPE Helion OpenStack 8 | venv-openstack-horizon-hpe | 12.0.5~dev6-14.34.1 | SUSE-RU-2021:0351-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8 | ardana-horizon | 8.0+git.1610733160.0f577f4-3.21.1 | SUSE-RU-2021:0351-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8 | ardana-logging | 8.0+git.1610573640.452aed1-3.27.1 | SUSE-RU-2021:0351-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8 | ardana-monasca | 8.0+git.1610740501.5dca121-3.27.1 | SUSE-RU-2021:0351-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8 | ardana-mq | 8.0+git.1605176800.52cccfa-3.29.1 | SUSE-RU-2021:0351-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8 | ardana-osconfig | 8.0+git.1610643571.91b88d6-3.52.1 | SUSE-RU-2021:0351-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8 | venv-openstack-neutron | 11.0.9~dev69-13.36.1 | SUSE-RU-2021:0351-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8 | venv-openstack-nova | 16.1.9~dev78-11.34.1 | SUSE-RU-2021:0351-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8, OpenStack Cloud Crowbar 8 | kibana | 4.6.3-3.6.1 | SUSE-RU-2021:0351-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8, OpenStack Cloud Crowbar 8 | openstack-neutron, openstack-neutron-doc | 11.0.9~dev69-3.40.1 | SUSE-RU-2021:0351-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8, OpenStack Cloud Crowbar 8 | openstack-nova, openstack-nova-doc | 16.1.9~dev78-3.45.1 | SUSE-RU-2021:0351-1 |
| 35 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.6-r0 | ALPINE-CVE-2021-3281 |
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.
The following products ship affected version of python-django, however the vulnerable function archive.extract() is currently not used in any part of the product and hence this issue has been rated as having a security impact of Low:
* Red Hat Gluster Storage 3
* Red Hat Update Infrastructure 3
Because the flaw's impact is lower and Red Hat OpenStack Platform 13 will be retiring soon, no update will be provided at this time for the RHOSP13 python-django package.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Ansible Tower 3.8 for RHEL 7 | ansible-tower-38/ansible-runner-rhel7:1.4.7-1 | Fixed 2021-03-09 | RHSA-2021:0780 |
| Red Hat Ansible Tower 3.8 for RHEL 7 | ansible-tower-38/ansible-tower-rhel7:3.8.2-1 | Fixed 2021-03-09 | RHSA-2021:0780 |
| Red Hat Automation Hub 4.2 for RHEL 7 | automation-hub-0:4.2.2-1.el7pc | Fixed 2021-03-09 | RHSA-2021:0781 |
| Red Hat Automation Hub 4.2 for RHEL 7 | python3-django-0:2.2.18-1.el7pc | Fixed 2021-03-09 | RHSA-2021:0781 |
| Red Hat Automation Hub 4.2 for RHEL 7 | python-bleach-0:3.3.0-1.el7pc | Fixed 2021-03-09 | RHSA-2021:0781 |
| Red Hat Automation Hub 4.2 for RHEL 7 | python-bleach-allowlist-0:1.0.3-1.el7pc | Fixed 2021-03-09 | RHSA-2021:0781 |
| Red Hat Automation Hub 4.2 for RHEL 7 | python-galaxy-importer-0:0.2.15-1.el7pc | Fixed 2021-03-09 | RHSA-2021:0781 |
| Red Hat Automation Hub 4.2 for RHEL 7 | python-galaxy-ng-0:4.2.2-1.el7pc | Fixed 2021-03-09 | RHSA-2021:0781 |
| Red Hat Automation Hub 4.2 for RHEL 7 | python-pulp-ansible-1:0.5.6-1.el7pc | Fixed 2021-03-09 | RHSA-2021:0781 |
| Red Hat Automation Hub 4.2 for RHEL 8 | automation-hub-0:4.2.2-1.el8pc | Fixed 2021-03-09 | RHSA-2021:0781 |
| Red Hat Automation Hub 4.2 for RHEL 8 | python3-django-0:2.2.18-1.el8pc | Fixed 2021-03-09 | RHSA-2021:0781 |
| Red Hat Ansible Automation Platform 1.2 | python-django | Affected | |
| Red Hat Ansible Tower 3 | django | Not affected | |
| Red Hat Ceph Storage 2 | python-django | Out of support scope | |
| Red Hat Ceph Storage 3 | python-django | Will not fix | |
| 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 Satellite 6 | python-django | Affected | |
| Red Hat Storage 3 | python-django | Fix deferred | |
| Red Hat Update Infrastructure 3 for Cloud Providers | python-django | Fix deferred | |
| 7 more in the JSON and on Red Hat's page. | |||
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-3281.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.