← Übersicht Red Hat Enterprise Linux

An issue was discovered in Django 4.2 before 4.2.25, 5.1 before 5.1.13, and 5.2 before 5.2.7.

CVE-2025-59681 · ALPINE-CVE-2025-59681 · BIT-django-2025-59681 · DEBIAN-CVE-2025-59681 · GHSA-hpr9-3m2g-3j9p · PYSEC-2025-106 · UBUNTU-CVE-2025-59681

Kritisch · CVSS 9.8 SUSE: criticalUbuntu: mediumRed Hat: Important Netzwerk · ohne Login Kein Fix bekannt

Veröffentlicht
01.10.2025
Zuletzt geändert
03.11.2026
EPSS (30 Tage)
0.7 %
CVSS-Vektor
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Beschreibung

Originaltext der Quelle, nicht übersetzt.

An issue was discovered in Django 4.2 before 4.2.25, 5.1 before 5.1.13, and 5.2 before 5.2.7. QuerySet.annotate(), QuerySet.alias(), QuerySet.aggregate(), and QuerySet.extra() are subject to SQL injection in column aliases, when using a suitably crafted dictionary, with dictionary expansion, as the **kwargs passed to these methods (on MySQL and MariaDB).

Status beim Hersteller

Red Hat stuft seine Produktlinien ein: 3 betroffen, 9 behoben, 10 nicht betroffen.

OpenShift Service Mesh 3 BetroffenFix ausstehend openshift-service-mesh/istio-proxyv2-rhel9
Red Hat Certification for Red Hat Enterprise Linux 7 BetroffenFix ausstehend python-django
Red Hat Discovery 2 BetroffenFix ausstehend discovery/discovery-server-rhel9
Red Hat Ansible Automation Platform 2.5 for RHEL 8 Behoben ansible-automation-platform-25/lightspeed-rhel8 RHSA-2025:18984
Red Hat Ansible Automation Platform 2.6 Behoben ansible-automation-platform-tech-preview RHSA-2025:23196
SUSE Linux Enterprise Module for Package Hub 15 SP6 Behoben python311-Django-4.2.11-150600.3.33.1
SUSE Linux Enterprise Module for Package Hub 15 SP7 Behoben python311-Django-4.2.11-150600.3.33.1
SUSE Package Hub 15 SP6 Behoben python3-Django-2.2.28-bp156.21.1
SUSE Package Hub 15 SP7 Behoben python3-Django-2.2.28-bp157.2.3.1
openSUSE Leap 15.6 Behoben python3-Django-2.2.28-bp156.21.1, python311-Django-4.2.11-150600.3.33.1
openSUSE Leap 16.0 Behoben python313-Django-5.2.4-bp160.3.1
openSUSE Tumbleweed Behoben python311-Django-5.2.7-1.1, python311-Django4-4.2.25-1.1, python312-Django-5.2.7-1.1, python312-Django4-4.2.25-1.1, python312-Django6-6.0-1.1, python313-Django-5.2.7-1.1, python313-Django4-4.2.25-1.1, python313-Django5-5.2.16-1.1, python313-Django6-6.0-1.1, python314-Django5-5.2.16-1.1
Nicht betroffen (11)
OpenShift Service Mesh 3Nicht betroffenverwundbarer Code nicht enthaltenopenshift-service-mesh-tech-preview/istio-ztunnel-rhel9
OpenShift Service Mesh 3Nicht betroffenKomponente nicht enthaltenopenshift-service-mesh/istio-cni-rhel9, openshift-service-mesh/istio-must-gather-rhel9, openshift-service-mesh/istio-pilot-rhel9, openshift-service-mesh/istio-rhel9-operator, openshift-service-mesh/istio-sail-operator-bundle
Red Hat Ansible Automation Platform 2Nicht betroffenverwundbarer Code nicht enthaltenansible-automation-platform-24/lightspeed-rhel8, ansible-automation-platform-25/ansible-dev-tools-rhel8, automation-controller, python-django
Red Hat Ansible Automation Platform 2.5 for RHEL 8Nicht betroffenverwundbarer Code nicht enthaltenansible-automation-platform-25/aap-cloud-billing-rhel8, ansible-automation-platform-25/aap-cloud-billing-rhel8-operator, ansible-automation-platform-25/aap-cloud-metrics-collector-rhel8, ansible-automation-platform-25/aap-cloud-ui-rhel8, ansible-automation-platform-25/aap-cloud-ui-rhel8-operator, ansible-automation-platform-25/aap-must-gather-rhel8, ansible-automation-platform-25/ansible-builder-rhel8, ansible-automation-platform-25/ansible-dev-tools-rhel8, ansible-automation-platform-25/ansible-python-base-rhel8, ansible-automation-platform-25/ansible-python-toolkit-rhel8, ansible-automation-platform-25/controller-rhel8, ansible-automation-platform-25/controller-rhel8-operator, ansible-automation-platform-25/de-minimal-rhel8, ansible-automation-platform-25/de-supported-rhel8, ansible-automation-platform-25/eda-controller-rhel8, ansible-automation-platform-25/eda-controller-rhel8-operator, ansible-automation-platform-25/eda-controller-ui-rhel8, ansible-automation-platform-25/ee-minimal-rhel8, ansible-automation-platform-25/ee-supported-rhel8, ansible-automation-platform-25/gateway-proxy-rhel8, ansible-automation-platform-25/gateway-rhel8, ansible-automation-platform-25/gateway-rhel8-operator, ansible-automation-platform-25/hub-rhel8, ansible-automation-platform-25/hub-rhel8-operator, ansible-automation-platform-25/hub-web-rhel8 und 7 weitere
Red Hat Ansible Automation Platform 2.5 for RHEL 9Nicht betroffenverwundbarer Code nicht enthaltenansible-automation-platform-25/ansible-builder-rhel9, ansible-automation-platform-25/ansible-python-base-rhel9, ansible-automation-platform-25/ansible-python-toolkit-rhel9, ansible-automation-platform-25/de-minimal-rhel9, ansible-automation-platform-25/de-supported-rhel9, ansible-automation-platform-25/ee-cloud-services-rhel9, ansible-automation-platform-25/ee-minimal-rhel9, ansible-automation-platform-25/ee-supported-rhel9
Red Hat Discovery 1Nicht betroffenverwundbarer Code nicht enthaltendiscovery/discovery-server-rhel9
Red Hat OpenStack Platform 16.2Nicht betroffenverwundbarer Code wird nicht ausgeführtpython-django20, python-django20-bash-completion, python3-django20
Red Hat OpenStack Platform 17.1Nicht betroffenverwundbarer Code wird nicht ausgeführtpython-django, python3-django
Red Hat OpenStack Platform 18.0Nicht betroffenverwundbarer Code wird nicht ausgeführtpython-django
Red Hat Satellite 6Nicht betroffenKomponente nicht enthaltenpython-django, python-django-bash-completion, python2-django
Red Hat Update Infrastructure 4 for Cloud ProvidersNicht betroffenverwundbarer Code nicht enthaltenpython-django

Betroffene Pakete im beobachteten Stack

Red Hat:certifications:1::el7python-djangokein Fix bekanntCVE-2025-59681
Weitere betroffene Pakete (43)
Alpine:v3.22py3-django4.2.25-r0ALPINE-CVE-2025-59681
Alpine:v3.23py3-django4.2.25-r0ALPINE-CVE-2025-59681
Alpine:v3.24py3-django4.2.25-r0ALPINE-CVE-2025-59681
Bitnamidjango4.2.0 → 4.2.25, 5.1.0 → 5.1.13, 5.2.0 → 5.2.7BIT-django-2025-59681
CVEdjangoproject/Django4.2.25, 5.1.13, 5.2.7CVE-2025-59681
Debian:11python-django2:2.2.28-1~deb11u9DLA-4324-1
Debian:12python-django3:3.2.25-0+deb12u1DEBIAN-CVE-2025-59681
Debian:12python-django3:3.2.25-0+deb12u1DSA-6136-1
Debian:13python-django3:4.2.27-0+deb13u1DEBIAN-CVE-2025-59681
Debian:13python-django3:4.2.27-0+deb13u1DSA-6117-1
Debian:14python-django3:4.2.25-1DEBIAN-CVE-2025-59681
NVDdjangoproject:django4.2.25, 5.1.13, 5.2.7CVE-2025-59681
PyPIdjango4.2.25GHSA-hpr9-3m2g-3j9p
PyPIdjango5.2.7GHSA-hpr9-3m2g-3j9p
PyPIdjango5.1.13GHSA-hpr9-3m2g-3j9p
PyPIdjango4.2.25, 5.1.13, 5.2.7PYSEC-2025-106
SUSE:Linux Enterprise Module for Package Hub 15 SP6python-Django4.2.11-150600.3.33.1SUSE-SU-2025:03446-1
SUSE:Linux Enterprise Module for Package Hub 15 SP7python-Django4.2.11-150600.3.33.1SUSE-SU-2025:03446-1
TuxCare:PyPIdjango4.2.post0 → 4.2.post3+tuxcareCLSA-2026-1786692826
TuxCare:PyPIdjango5.1.10.post0 → 5.1.10.post2+tuxcareCLSA-2026-1787297407
TuxCare:PyPIdjango5.1.9.post0 → 5.1.9.post3+tuxcareCLSA-2026-1787300455
TuxCare:PyPIdjango5.1.4.post0 → 5.1.4.post3+tuxcareCLSA-2026-1787306714
TuxCare:PyPIdjango5.1.post0 → 5.1.post5+tuxcareCLSA-2026-1787551351
Ubuntu:22.04:LTSpython-django2:3.2.12-2ubuntu1.22UBUNTU-CVE-2025-59681
Ubuntu:22.04:LTSpython-django2:3.2.12-2ubuntu1.22USN-7794-1
Ubuntu:24.04:LTSpython-django3:4.2.11-1ubuntu1.11UBUNTU-CVE-2025-59681
Ubuntu:24.04:LTSpython-django3:4.2.11-1ubuntu1.11USN-7794-1
Ubuntu:25.10python-django3:5.2.4-1ubuntu2UBUNTU-CVE-2025-59681
Ubuntu:26.04:LTSpython-django3:5.2.4-1ubuntu2UBUNTU-CVE-2025-59681
Ubuntu:Pro:14.04:LTSpython-django1.6.11-0ubuntu1.3+esm8UBUNTU-CVE-2025-59681
Ubuntu:Pro:14.04:LTSpython-django1.6.11-0ubuntu1.3+esm8USN-7794-1
Ubuntu:Pro:16.04:LTSpython-django1.8.7-1ubuntu5.15+esm9UBUNTU-CVE-2025-59681
Ubuntu:Pro:16.04:LTSpython-django1.8.7-1ubuntu5.15+esm9USN-7794-1
Ubuntu:Pro:18.04:LTSpython-django1:1.11.11-1ubuntu1.21+esm12UBUNTU-CVE-2025-59681
Ubuntu:Pro:18.04:LTSpython-django1:1.11.11-1ubuntu1.21+esm12USN-7794-1
Ubuntu:Pro:20.04:LTSpython-django2:2.2.12-1ubuntu0.29+esm4UBUNTU-CVE-2025-59681
Ubuntu:Pro:20.04:LTSpython-django2:2.2.12-1ubuntu0.29+esm4USN-7794-1
openSUSE:Leap 15.6python-Django4.2.11-150600.3.33.1SUSE-SU-2025:03446-1
openSUSE:Leap 16.0python-Django5.2.4-bp160.3.1openSUSE-SU-2025:20022-1
openSUSE:Tumbleweedpython-Django5.2.7-1.1openSUSE-SU-2025:15598-1
openSUSE:Tumbleweedpython-Django44.2.25-1.1openSUSE-SU-2025:15596-1
openSUSE:Tumbleweedpython-Django55.2.16-1.1openSUSE-SU-2026:11270-1
openSUSE:Tumbleweedpython-Django66.0-1.1openSUSE-SU-2026:10005-1

Empfohlene Prüfung

  1. Feststellen, ob und in welcher Version die betroffenen Pakete in Ihren Systemen, Images und Abhängigkeiten vorkommen.
  2. Wo eine Fix-Version genannt ist: aktualisieren. Wo nicht: Hersteller-Advisory und Referenzen auf Workarounds prüfen.
  3. Erreichbarkeit beachten: Der Angriffsweg (Netzwerk · ohne Login) ist aus dem CVSS-Vektor abgeleitet.

Diese Seite sagt nichts darüber, ob Ihre Systeme betroffen sind. Das klärt erst eine Prüfung Ihrer Versionen.