ADVISORIES

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…

    CVE-2022-34265 Alpine Updated 20 November 2026
  • ALPINE-EDGE-CVE-2022-34265
    CVE-2022-34265 Alpine Updated 18 November 2026
  • 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…

    CVE-2022-34265 Debian Updated 20 November 2026
  • DLA-3164-1

    python-django - security update

    CVE-2020-24583CVE-2020-24584CVE-2021-23336CVE-2021-3281 Debian Updated 20 November 2026
  • DSA-5254-1

    python-django - security update

    CVE-2022-22818CVE-2022-23833CVE-2022-28346CVE-2022-28347 Debian Updated 20 November 2026
  • GHSA-p64x-8rxx-wf6q

    Django `Trunc()` and `Extract()` database functions vulnerable to SQL Injection

    Critical CVE-2022-34265 PyPI Updated 21 February 2025
  • 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…

    CVE-2022-34265 PyPI Updated 6 December 2023
  • RHSA-2022:5738

    Red Hat Security Advisory: Django 3.2.14 Security Update

    CVE-2022-34265 Red Hat Updated 13 November 2026
  • RHSA-2022:8506

    Red Hat Security Advisory: Satellite 6.12 Release

    CVE-2021-37136CVE-2021-37137CVE-2022-22818CVE-2022-24836 Red Hat Updated 13 November 2026
  • RLSA-2022:8506

    Important: Satellite 6.12 Release

    CVE-2021-37136CVE-2021-37137CVE-2022-22818CVE-2022-24836 Rocky Linux Updated 4 February 2026
  • SUSE-SU-2022:3338-1

    Security update for ardana-ansible, ardana-cobbler, grafana, openstack-heat-templates, openstack-murano, python-Django, rabbitmq-server, rubygem-puma

    Known exploited CVE-2019-11287CVE-2020-1734CVE-2021-39226CVE-2021-44716 SUSE Updated 4 February 2026
  • 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

    Known exploited CVE-2019-11287CVE-2020-1734CVE-2021-39226CVE-2022-24790 SUSE Updated 4 February 2026
  • 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…

    CVE-2022-34265 Ubuntu Updated 4 February 2026
  • USN-5501-1

    python-django vulnerability

    CVE-2022-34265 Ubuntu Updated 10 February 2026
  • openSUSE-SU-2024:12172-1

    python310-Django-4.0.6-1.1 on GA media

    CVE-2022-34265 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:14208-1

    python310-Django4-4.2.14-1.1 on GA media

    CVE-2015-3982CVE-2015-5145CVE-2015-5963CVE-2016-7401 openSUSE Updated 4 February 2026
  • openSUSE-SU-2025:14662-1

    python311-Django-5.1.5-1.1 on GA media

    CVE-2021-45115CVE-2021-45452CVE-2022-22818CVE-2022-23833 openSUSE Updated 4 February 2026
  • openSUSE-SU-2026:10005-1

    python312-Django6-6.0-1.1 on GA media

    CVE-2015-3982CVE-2015-5145CVE-2015-5963CVE-2016-7401 openSUSE Updated 23 March 2026
  • openSUSE-SU-2026:11235-1

    python313-Django4-4.2.30-4.1 on GA media

    CVE-2015-3982CVE-2015-5145CVE-2015-5963CVE-2016-7401 openSUSE Updated 10 July 2026
  • openSUSE-SU-2026:11270-1

    python313-Django5-5.2.16-1.1 on GA media

    CVE-2015-3982CVE-2015-5145CVE-2015-5963CVE-2016-7401 openSUSE Updated 15 July 2026

References