Vulnerability
CVE-2022-34265
An issue was discovered in Django 3.2 before 3.2.14 and 4.0 before 4.0.6. The Trunc() and Extract() database functions are subject to SQL injection if untrusted data is used as a kind/lookup_name value. Applications that constrain the lookup name and kind choice to a known safe list are unaffected.
20 advisories report this vulnerability, across 8 ecosystems.
Advisories
-
ALPINE-CVE-2022-34265
An issue was discovered in Django 3.2 before 3.2.14 and 4.0 before 4.0.6. The Trunc() and Extract() database functions are subject to SQL injection if untrusted data is used as a kind/lookup_name value. Applications…
- ALPINE-EDGE-CVE-2022-34265
-
DEBIAN-CVE-2022-34265
An issue was discovered in Django 3.2 before 3.2.14 and 4.0 before 4.0.6. The Trunc() and Extract() database functions are subject to SQL injection if untrusted data is used as a kind/lookup_name value. Applications…
-
DLA-3164-1
python-django - security update
-
DSA-5254-1
python-django - security update
-
GHSA-p64x-8rxx-wf6q
Django `Trunc()` and `Extract()` database functions vulnerable to SQL Injection
-
PYSEC-2022-213
An issue was discovered in Django 3.2 before 3.2.14 and 4.0 before 4.0.6. The Trunc() and Extract() database functions are subject to SQL injection if untrusted data is used as a kind/lookup_name value. Applications…
-
RHSA-2022:5738
Red Hat Security Advisory: Django 3.2.14 Security Update
-
RHSA-2022:8506
Red Hat Security Advisory: Satellite 6.12 Release
-
RLSA-2022:8506
Important: Satellite 6.12 Release
-
SUSE-SU-2022:3338-1
Security update for ardana-ansible, ardana-cobbler, grafana, openstack-heat-templates, openstack-murano, python-Django, rabbitmq-server, rubygem-puma
-
SUSE-SU-2022:3339-1
Security update for ardana-ansible, ardana-cobbler, ardana-tempest, grafana, openstack-heat-templates, openstack-horizon-plugin-gbp-ui, openstack-neutron-gbp, openstack-nova, python-Django1, rabbitmq-server, rubygem-puma
-
UBUNTU-CVE-2022-34265
An issue was discovered in Django 3.2 before 3.2.14 and 4.0 before 4.0.6. The Trunc() and Extract() database functions are subject to SQL injection if untrusted data is used as a kind/lookup_name value. Applications…
-
USN-5501-1
python-django vulnerability
-
openSUSE-SU-2024:12172-1
python310-Django-4.0.6-1.1 on GA media
-
openSUSE-SU-2024:14208-1
python310-Django4-4.2.14-1.1 on GA media
-
openSUSE-SU-2025:14662-1
python311-Django-5.1.5-1.1 on GA media
-
openSUSE-SU-2026:10005-1
python312-Django6-6.0-1.1 on GA media
-
openSUSE-SU-2026:11235-1
python313-Django4-4.2.30-4.1 on GA media
-
openSUSE-SU-2026:11270-1
python313-Django5-5.2.16-1.1 on GA media
References
- https://docs.djangoproject.com/en/4.0/releases/security/
- https://groups.google.com/forum/#%21forum/django-announce
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HWY6DQWRVBALV73BPUVBXC3QIYUM24IK/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LTZVAKU5ALQWOKFTPISE257VCVIYGFQI/
- https://security.netapp.com/advisory/ntap-20220818-0006/
- https://www.debian.org/security/2022/dsa-5254
- https://www.djangoproject.com/weblog/2022/jul/04/security-releases/