CVSS 3.1
6.1 mediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NMedium (6.1). EPSS 3.2% estimated probability of exploitation activity in the next 30 days. Fixed in django 2.2.22, 3.1.10, 3.2.2.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:Ndjango (PyPI): fixed in 2.2.22, 3.1.10, 3.2.2Explain CVE-2021-32052 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-32052?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-32052?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-32052 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.22 |
| djangoproject:django | from 3.1 before 3.1.10 |
| djangoproject:django | from 3.2 before 3.2.2 |
| fedoraproject:fedora | 34 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-qm57-vhq3-3fwf | PyPI | django | >=2.2 <2.2.22 | 2.2.22 |
| GHSA-qm57-vhq3-3fwf | PyPI | django | >=3.1 <3.1.10 | 3.1.10 |
| GHSA-qm57-vhq3-3fwf | PyPI | django | >=3.2 <3.2.2 | 3.2.2 |
| PYSEC-2021-8 | PyPI | django | >=2.2 <2.2.22 >=3.1 <3.1.10 >=3.2 <3.2.2 | 2.2.22, 3.1.10, 3.2.2 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13, 14 | python-django | 2:2.2.22-1 | DEBIAN-CVE-2021-32052 |
| Ubuntu | 18.04:LTS | python-django | 1:1.11.11-1ubuntu1.17 | UBUNTU-CVE-2021-32052 USN-4975-1 USN-5373-1 |
| Ubuntu | 20.04:LTS | python-django | 2:2.2.12-1ubuntu0.7 | UBUNTU-CVE-2021-32052 USN-4975-1 USN-5373-1 |
| Ubuntu | Pro:14.04:LTS | python-django | 1.6.11-0ubuntu1.3+esm5 | USN-5373-2 |
| Ubuntu | Pro:16.04:LTS | python-django | 1.8.7-1ubuntu5.15+esm5 | USN-5373-2 |
| SUSE | Package Hub 15 SP3 | python-Django | 2.2.28-bp153.2.3.1 | openSUSE-SU-2023:0005-1 |
| openSUSE | Leap 15.3 | python-Django | 2.2.28-bp153.2.3.1 | openSUSE-SU-2023:0005-1 |
| openSUSE | Tumbleweed | python-Django | 3.2.7-2.3 | openSUSE-SU-2024:11205-1 |
| openSUSE | Tumbleweed | python-Django | 4.2.11-2.1 | openSUSE-SU-2024:13887-1 |
| openSUSE | Tumbleweed | python-Django | 5.2.16-1.1 | openSUSE-SU-2026:11248-1 |
| openSUSE | Tumbleweed | python-Django4 | 4.2.14-1.1 | openSUSE-SU-2024:14208-1 |
| openSUSE | Tumbleweed | python-Django4 | 4.2.30-4.1 | openSUSE-SU-2026:11235-1 |
| openSUSE | Tumbleweed | python-Django5 | 5.2.16-1.1 | openSUSE-SU-2026:11270-1 |
| openSUSE | Tumbleweed | python-Django6 | 6.0-1.1 | openSUSE-SU-2026:10005-1 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.
Red Hat rates this Important.
* Red Hat Gluster Storage 3 ships an old version of Django (v1.11.27) that provides support for Python 3.7, hence not affected by this vulnerability.
* Red Hat Satellite and Red Hat Update Infrastructure ships affected versions of Django, however, products make use of Python 2.7 and Python 3.6 consumed from RHEL repository. Successful exploitation would require Support to Python version 3.9.5 onward hence products are not affected by this vulnerability.
* Red Hat Ceph Storage (RHCS) 2 and 3 ship an affected version of Django.
Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update as soon as possible.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Ansible Automation Platform 1.2 | django | Not 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 | Will not fix | |
| Red Hat Ceph Storage 2 | python-django | Will not fix | |
| Red Hat Ceph Storage 3 | python-django | Will not fix | |
| Red Hat OpenStack Platform 10 (Newton) | python-django | Not affected | |
| Red Hat OpenStack Platform 13 (Queens) | python-django | Not affected | |
| Red Hat OpenStack Platform 16.1 | python-django20 | Not affected | |
| Red Hat Satellite 6 | python3-django | Not affected | |
| Red Hat Satellite 6 | python-django | Not affected | |
| Red Hat Storage 3 | python-django | Not affected | |
| Red Hat Update Infrastructure 3 for Cloud Providers | python-django | Not affected |
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-32052.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.