CVSS 3.1
9.8 criticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HCritical (9.8). EPSS 1.4% estimated probability of exploitation activity in the next 30 days. Fixed in django 3.2.19, 4.1.9, 4.2.1.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:Hdjango (PyPI): fixed in 3.2.19, 4.1.9, 4.2.1Explain CVE-2023-31047 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-31047?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-31047?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-2023-31047 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 3.2 before 3.2.19 |
| djangoproject:django | from 4.0 before 4.1.9 |
| djangoproject:django | 4.2 |
| djangoproject:django | 4.2:b1 |
| djangoproject:django | 4.2:rc1 |
| fedoraproject:fedora | 38 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-r3xc-prgr-mg9p | PyPI | django | >=3.2a1 <3.2.19 | 3.2.19 |
| GHSA-r3xc-prgr-mg9p | PyPI | django | >=4.0a1 <4.1.9 | 4.1.9 |
| GHSA-r3xc-prgr-mg9p | PyPI | django | >=4.2a1 <4.2.1 | 4.2.1 |
| PYSEC-2023-61 | PyPI | django | >=3.2 <3.2.19 >=4.0 <4.1.9 >=4.2 <4.2.1 | 3.2.19, 4.1.9, 4.2.1 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 10 | python-django | 1:1.11.29-1+deb10u8 | DLA-3415-1 |
| Debian | 12, 13, 14 | python-django | 3:3.2.19-1 | DEBIAN-CVE-2023-31047 |
| Ubuntu | 18.04:LTS | python-django | 1:1.11.11-1ubuntu1.21 | UBUNTU-CVE-2023-31047 USN-6054-1 |
| Ubuntu | 20.04:LTS | python-django | 2:2.2.12-1ubuntu0.17 | UBUNTU-CVE-2023-31047 USN-6054-1 |
| Ubuntu | 22.04:LTS | python-django | 2:3.2.12-2ubuntu1.6 | UBUNTU-CVE-2023-31047 USN-6054-1 |
| Ubuntu | Pro:14.04:LTS | python-django | 1.6.11-0ubuntu1.3+esm6 | UBUNTU-CVE-2023-31047 USN-6054-2 |
| Ubuntu | Pro:16.04:LTS | python-django | 1.8.7-1ubuntu5.15+esm7 | UBUNTU-CVE-2023-31047 USN-6054-2 |
| Red Hat | rhui:4::el8 | python-django, python39-django | 0:3.2.19-1.0.1.el8ui | RHSA-2023:4591 |
| Red Hat | rhui:4::el8 | python-sqlparse, python39-sqlparse | 0:0.4.4-1.0.1.el8ui | RHSA-2023:4591 |
| Red Hat | satellite:6.13::el8 | foreman, foreman-cli, foreman-ec2 and 10 more | 0:3.5.1.23-1.el8sat | RHSA-2023:5931 |
| Red Hat | satellite:6.13::el8 | rubygem-git | 0:1.18.0-1.el8sat | RHSA-2023:5931 |
| Red Hat | satellite:6.13::el8 | yggdrasil-worker-forwarder | 0:0.0.3-1.el8sat | RHSA-2023:5931 |
| Red Hat | satellite:6.13::el8, satellite_capsule:6.13::el8 | puppet-agent | 0:7.26.0-3.el8sat | RHSA-2023:5931 |
| Red Hat | satellite:6.13::el8, satellite_capsule:6.13::el8 | python-django, python39-django | 0:3.2.21-1.el8pc | RHSA-2023:5931 |
| Red Hat | satellite:6.13::el8, satellite_capsule:6.13::el8 | python-gitpython, python39-gitpython | 0:3.1.32-1.el8pc | RHSA-2023:5931 |
| Red Hat | satellite:6.14::el8 | foreman, foreman-cli, foreman-ec2 and 11 more | 0:3.7.0.9-1.el8sat | RHSA-2023:6818 |
| Red Hat | satellite:6.14::el8 | rubygem-actionpack, rubygem-activerecord, rubygem-activesupport | 0:6.1.7.3-1.el8sat | RHSA-2023:6818 |
| Red Hat | satellite:6.14::el8 | rubygem-git | 0:1.18.0-1.el8sat | RHSA-2023:6818 |
| Red Hat | satellite:6.14::el8 | rubygem-globalid | 0:1.1.0-1.el8sat | RHSA-2023:6818 |
| 15 more for Red Hat in the JSON and on Red Hat's page. | ||||
| openSUSE | Leap 15.5 | python-Django | 2.0.7-150000.1.11.1 | SUSE-SU-2023:2839-1 |
| openSUSE | Tumbleweed | python-Django | 4.2.1-1.1 | openSUSE-SU-2024:12943-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; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · openSUSE.
Red Hat rates this Moderate.
Red Hat Satellite and Red Hat Update Infrastructure individual impact ratings have been set to Low since initial privileges are required in order to access the server and the vulnerable functionality.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Satellite 6.13 for RHEL 8 | python-django-0:3.2.21-1.el8pc | Fixed 2023-10-19 | RHSA-2023:5931 |
| Red Hat Satellite 6.14 for RHEL 8 | python-django-0:3.2.21-1.el8pc | Fixed 2023-11-08 | RHSA-2023:6818 |
| RHUI 4 for RHEL 8 | python-django-0:3.2.19-1.0.1.el8ui | Fixed 2023-08-09 | RHSA-2023:4591 |
| Red Hat Ansible Automation Platform 2 | python-django | Not affected | |
| Red Hat Ceph Storage 3 | 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 OpenStack Platform 16.2 | python-django20 | Not affected | |
| Red Hat OpenStack Platform 17.0 | python-django | Not affected | |
| Red Hat Storage 3 | 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-2023-31047.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).