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) in djangoproject django. EPSS 74% estimated probability of exploitation activity in the next 30 days. Fixed in django 3.2.14, 4.0.6.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:Hdjango (PyPI): fixed in 3.2.14, 4.0.6Explain CVE-2022-34265 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-34265?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-34265?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-2022-34265 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.14 |
| djangoproject:django | from 4.0 before 4.0.6 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-p64x-8rxx-wf6q | PyPI | django | >=3.2a1 <3.2.14 | 3.2.14 |
| GHSA-p64x-8rxx-wf6q | PyPI | django | >=4.0a1 <4.0.6 | 4.0.6 |
| PYSEC-2022-213 | PyPI | django | >=3.2 <3.2.14 >=4.0 <4.0.6 | 3.2.14, 4.0.6 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 10 | python-django | 1:1.11.29-1+deb10u2 | DLA-3164-1 |
| Debian | 11 | python-django | 2:2.2.28-1~deb11u1 | DSA-5254-1 |
| Debian | 12, 13, 14 | python-django | 2:4.0.6-1 | DEBIAN-CVE-2022-34265 |
| Ubuntu | 18.04:LTS | python-django | 1:1.11.11-1ubuntu1.18 | UBUNTU-CVE-2022-34265 USN-5501-1 |
| Ubuntu | 20.04:LTS | python-django | 2:2.2.12-1ubuntu0.12 | UBUNTU-CVE-2022-34265 USN-5501-1 |
| Ubuntu | 22.04:LTS | python-django | 2:3.2.12-2ubuntu1.1 | UBUNTU-CVE-2022-34265 USN-5501-1 |
| Red Hat | rhui:4::el8 | python-django, python38-django | 0:3.2.14-3.el8ui | RHSA-2022:5738 |
| Red Hat | satellite:6.12::el8 | candlepin, candlepin-selinux | 0:4.1.15-1.el8sat | RHSA-2022:8506 |
| Red Hat | satellite:6.12::el8 | foreman, foreman-cli, foreman-ec2 and 11 more | 0:3.3.0.17-1.el8sat | RHSA-2022:8506 |
| Red Hat | satellite:6.12::el8 | rubygem-git | 0:1.11.0-1.el8sat | RHSA-2022:8506 |
| Red Hat | satellite:6.12::el8 | rubygem-rails-html-sanitizer | 0:1.4.3-2.el8sat | RHSA-2022:8506 |
| Red Hat | satellite:6.12::el8, satellite_capsule:6.12::el8 | python-django, python39-django | 0:3.2.14-2.el8pc | RHSA-2022:8506 |
| Red Hat | satellite:6.12::el8, satellite_capsule:6.12::el8 | rubygem-nokogiri, rubygem-nokogiri-debuginfo, rubygem-nokogiri-debugsource | 0:1.13.8-1.el8sat | RHSA-2022:8506 |
| Red Hat | satellite:6.12::el8, satellite_capsule:6.12::el8 | rubygem-sinatra | 1:2.2.0-1.el8sat | RHSA-2022:8506 |
| Red Hat | satellite_capsule:6.12::el8 | foreman, foreman-debug | 0:3.3.0.17-1.el8sat | RHSA-2022:8506 |
| Red Hat | satellite_utils:6.12::el8 | foreman, foreman-cli | 0:3.3.0.17-1.el8sat | RHSA-2022:8506 |
| SUSE | HPE Helion OpenStack 8 | venv-openstack-horizon-hpe | 12.0.5~dev6-14.48.1 | SUSE-SU-2022:3338-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8 | ardana-ansible | 8.0+git.1660773729.3789a6d-3.85.1 | SUSE-SU-2022:3338-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8 | ardana-cobbler | 8.0+git.1660773402.d845a45-3.47.1 | SUSE-SU-2022:3338-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8 | venv-openstack-heat | 9.0.8~dev22-12.45.1 | SUSE-SU-2022:3338-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8 | venv-openstack-murano | 4.0.2~dev3-12.38.1 | SUSE-SU-2022:3338-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8, OpenStack Cloud Crowbar 8 | grafana | 6.7.4-4.23.1 | SUSE-SU-2022:3338-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8, OpenStack Cloud Crowbar 8 | openstack-heat-templates | 0.0.0+git.1654529662.75fa04a-3.27.1 | SUSE-SU-2022:3338-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8, OpenStack Cloud Crowbar 8 | openstack-murano, openstack-murano-doc | 4.0.2~dev3-3.12.1 | SUSE-SU-2022:3338-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8, OpenStack Cloud Crowbar 8 | python-Django | 1.11.29-3.42.1 | SUSE-SU-2022:3338-1 |
| SUSE | HPE Helion OpenStack 8, OpenStack Cloud 8, OpenStack Cloud Crowbar 8 | rabbitmq-server | 3.6.16-3.13.1 | SUSE-SU-2022:3338-1 |
| SUSE | OpenStack Cloud 8 | venv-openstack-horizon | 12.0.5~dev6-14.48.1 | SUSE-SU-2022:3338-1 |
| SUSE | OpenStack Cloud 9 | ardana-ansible | 9.0+git.1660748476.c118d23-3.32.1 | SUSE-SU-2022:3339-1 |
| 15 more for SUSE in the JSON and on SUSE's page. | ||||
| openSUSE | Tumbleweed | python-Django | 4.0.6-1.1 | openSUSE-SU-2024:12172-1 |
| openSUSE | Tumbleweed | python-Django | 5.1.5-1.1 | openSUSE-SU-2025:14662-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 |
| Rocky Linux | 8 | libdb | 0:5.3.28-42.el8_4 | RLSA-2022:8506 |
| Alpine | v3.16, v3.17, v3.18 and 6 more | py3-django | 3.2.14-r0 | ALPINE-CVE-2022-34265 |
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; Rocky Linux's errata, BSD-3-Clause; 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 · openSUSE · Alpine.
Red Hat rates this Important.
Applications that constrain the lookup name and kind choice to a known safe list are unaffected.
Red Hat Satellite 6 versions include affected versions of python-django, however, the product is not vulnerable since it does not make use of vulnerable functions. Future updates may fix this issue.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Satellite 6.12 for RHEL 8 | python-django-0:3.2.14-2.el8pc | Fixed 2022-11-16 | RHSA-2022:8506 |
| RHUI 4 for RHEL 8 | python-django-0:3.2.14-3.el8ui | Fixed 2022-07-27 | RHSA-2022:5738 |
| Red Hat Ansible Automation Platform 1.2 | ansible-tower | Affected | |
| Red Hat Ansible Automation Platform 2 | automation-controller | Affected | |
| Red Hat Ansible Automation Platform 2 | python3-django | Affected | |
| Red Hat Ansible Automation Platform 2 | python-django | Affected | |
| Red Hat Ceph Storage 3 | python-django | Out of support scope | |
| 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 Satellite 6 | python3-django | Not affected | |
| Red Hat Satellite 6 | python-pulp-container | Not affected | |
| Red Hat Storage 3 | python-django | Affected | |
| Red Hat Update Infrastructure 3 for Cloud Providers | python-django | 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-2022-34265.
Repositories on GitHub named after this CVE. Nobody has checked them and they are not scanned: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.