CVE-2025-13372
CVE-2025-13372 · Potential SQL injection in FilteredRelation column aliases on PostgreSQL
Diese Seite enthält Fakten aus öffentlichen Sicherheitsquellen. Lesen Sie vor dem Aktualisieren die Originalmeldung.
An issue was discovered in 5.2 before 5.2.9, 5.1 before 5.1.15, and 4.2 before 4.2.27. `FilteredRelation` is subject to SQL injection in column aliases, using a suitably crafted dictionary, with dictionary expansion, as the `**kwargs` passed to `QuerySet.annotate()` or `QuerySet.alias()` on PostgreSQL. Earlier, unsupported Django series (such as 5.0.x, 4.1.x, and 3.2.x) were not evaluated and may also be affected. Django would like to thank Stackered for reporting this issue.
CVSS 4.3 · Mittel · EPSS 0,9% · Korrektur verfügbar
- Veröffentlicht
- Aktualisiert
Technologie-Stack: system · python
Betroffene Produkte und Versionen
django
- Softwareversionen
- ≥ 5.2, < 5.2.9: Betroffen (semver)
- 5.2.9: Nicht betroffen (semver)
- ≥ 5.1, < 5.1.15: Betroffen (semver)
- 5.1.15: Nicht betroffen (semver)
- ≥ 4.2, < 4.2.27: Betroffen (semver)
- 4.2.27: Nicht betroffen (semver)
Auf 4.2.27 aktualisieren; Auf 5.1.15 aktualisieren; Auf 5.2.9 aktualisieren
python-django Debian:12
- Softwareversionen
- 3:3.2.19-1
- 3:3.2.19-1+deb12u1
- 3:3.2.19-1+deb12u1~bpo11+1
- 3:3.2.19-1+deb12u2
- 3:3.2.20-1
- 3:3.2.20-1.1
- 3:3.2.21-1
- Betroffene Versionsbereiche
- ECOSYSTEM: < 3:3.2.25-0+deb12u1
Auf 3:3.2.25-0+deb12u1 aktualisieren
python-django Debian:13
- Softwareversionen
- 3:4.2.23-1
- 3:4.2.24-1
- 3:4.2.25-1
- 3:4.2.25-2
- 3:4.2.26-1
- Betroffene Versionsbereiche
- ECOSYSTEM: < 3:4.2.27-0+deb13u1
Auf 3:4.2.27-0+deb13u1 aktualisieren
python-django Debian:14
- Softwareversionen
- 3:4.2.23-1
- 3:4.2.24-1
- 3:4.2.25-1
- 3:4.2.25-2
- 3:4.2.26-1
- Betroffene Versionsbereiche
- ECOSYSTEM: < 3:4.2.27-1
Auf 3:4.2.27-1 aktualisieren
django PyPI
- Softwareversionen
- 5.2
- 5.2.1
- 5.2.2
- 5.2.3
- 5.2.4
- 5.2.5
- 5.2.6
- 5.2.7
- 5.2.8
- 5.2a1
- 5.2b1
- 5.2rc1
- Betroffene Versionsbereiche
- ECOSYSTEM: ≥ 5.2a1, < 5.2.9
Auf 5.2.9 aktualisieren
django PyPI
- Softwareversionen
- 5.1
- 5.1.1
- 5.1.10
- 5.1.11
- 5.1.12
- 5.1.13
- 5.1.14
- 5.1.2
- 5.1.3
- 5.1.4
- 5.1.5
- 5.1.6
- 5.1.7
- 5.1.8
- 5.1.9
- 5.1a1
- 5.1b1
- 5.1rc1
- Betroffene Versionsbereiche
- ECOSYSTEM: ≥ 5.1a1, < 5.1.15
Auf 5.1.15 aktualisieren
django PyPI
- Softwareversionen
- 4.2
- 4.2.1
- 4.2.10
- 4.2.11
- 4.2.12
- 4.2.13
- 4.2.14
- 4.2.15
- 4.2.16
- 4.2.17
- 4.2.18
- 4.2.19
- 4.2.2
- 4.2.20
- 4.2.21
- 4.2.22
- 4.2.23
- 4.2.24
- 4.2.25
- 4.2.26
- 4.2.3
- 4.2.4
- 4.2.5
- 4.2.6
- 4.2.7
- 4.2.8
- 4.2.9
- 4.2a1
- 4.2b1
- 4.2rc1
- Betroffene Versionsbereiche
- ECOSYSTEM: ≥ 4.2a1, < 4.2.27
Auf 4.2.27 aktualisieren
django PyPI
- Softwareversionen
- 4.2
- 4.2.1
- 4.2.10
- 4.2.11
- 4.2.12
- 4.2.13
- 4.2.14
- 4.2.15
- 4.2.16
- 4.2.17
- 4.2.18
- 4.2.19
- 4.2.2
- 4.2.20
- 4.2.21
- 4.2.22
- 4.2.23
- 4.2.24
- 4.2.25
- 4.2.26
- 4.2.3
- 4.2.4
- 4.2.5
- 4.2.6
- 4.2.7
- 4.2.8
- 4.2.9
- 5.1
- 5.1.1
- 5.1.10
- 5.1.11
- 5.1.12
- 5.1.13
- 5.1.14
- 5.1.2
- 5.1.3
- 5.1.4
- 5.1.5
- 5.1.6
- 5.1.7
- 5.1.8
- 5.1.9
- 5.2
- 5.2.1
- 5.2.2
- 5.2.3
- 5.2.4
- 5.2.5
- 5.2.6
- 5.2.7
- 5.2.8
- Betroffene Versionsbereiche
- ECOSYSTEM: ≥ 4.2, < 4.2.27 ∪ ≥ 5.1, < 5.1.15 ∪ ≥ 5.2, < 5.2.9
Auf 4.2.27 aktualisieren; Auf 5.1.15 aktualisieren; Auf 5.2.9 aktualisieren
python-django Ubuntu:Pro:20.04:LTS
- Softwareversionen
- 1:1.11.22-1ubuntu1
- 2:2.2.6-1ubuntu1
- 2:2.2.9-2ubuntu1
- 2:2.2.10-1
- 2:2.2.10-1ubuntu1
- 2:2.2.11-1
- 2:2.2.12-1
- 2:2.2.12-1ubuntu0.1
- 2:2.2.12-1ubuntu0.2
- 2:2.2.12-1ubuntu0.3
- 2:2.2.12-1ubuntu0.4
- 2:2.2.12-1ubuntu0.5
- 2:2.2.12-1ubuntu0.6
- 2:2.2.12-1ubuntu0.7
- 2:2.2.12-1ubuntu0.8
- 2:2.2.12-1ubuntu0.9
- 2:2.2.12-1ubuntu0.10
- 2:2.2.12-1ubuntu0.11
- 2:2.2.12-1ubuntu0.12
- 2:2.2.12-1ubuntu0.13
- 2:2.2.12-1ubuntu0.14
- 2:2.2.12-1ubuntu0.15
- 2:2.2.12-1ubuntu0.16
- 2:2.2.12-1ubuntu0.17
- 2:2.2.12-1ubuntu0.18
- 2:2.2.12-1ubuntu0.19
- 2:2.2.12-1ubuntu0.20
- 2:2.2.12-1ubuntu0.21
- 2:2.2.12-1ubuntu0.22
- 2:2.2.12-1ubuntu0.23
- 2:2.2.12-1ubuntu0.24
- 2:2.2.12-1ubuntu0.25
- 2:2.2.12-1ubuntu0.26
- 2:2.2.12-1ubuntu0.27
- 2:2.2.12-1ubuntu0.28
- 2:2.2.12-1ubuntu0.29
- 2:2.2.12-1ubuntu0.29+esm1
- 2:2.2.12-1ubuntu0.29+esm2
- 2:2.2.12-1ubuntu0.29+esm3
- 2:2.2.12-1ubuntu0.29+esm4
- 2:2.2.12-1ubuntu0.29+esm5
- Betroffene Versionsbereiche
- ECOSYSTEM: < 2:2.2.12-1ubuntu0.29+esm6
Auf 2:2.2.12-1ubuntu0.29+esm6 aktualisieren
python-django Ubuntu:22.04:LTS
- Softwareversionen
- 2:2.2.24-1ubuntu1
- 2:3.2.12-2
- 2:3.2.12-2ubuntu1
- 2:3.2.12-2ubuntu1.1
- 2:3.2.12-2ubuntu1.2
- 2:3.2.12-2ubuntu1.3
- 2:3.2.12-2ubuntu1.4
- 2:3.2.12-2ubuntu1.5
- 2:3.2.12-2ubuntu1.6
- 2:3.2.12-2ubuntu1.7
- 2:3.2.12-2ubuntu1.8
- 2:3.2.12-2ubuntu1.9
- 2:3.2.12-2ubuntu1.10
- 2:3.2.12-2ubuntu1.11
- 2:3.2.12-2ubuntu1.12
- 2:3.2.12-2ubuntu1.13
- 2:3.2.12-2ubuntu1.14
- 2:3.2.12-2ubuntu1.15
- 2:3.2.12-2ubuntu1.16
- 2:3.2.12-2ubuntu1.17
- 2:3.2.12-2ubuntu1.18
- 2:3.2.12-2ubuntu1.19
- 2:3.2.12-2ubuntu1.20
- 2:3.2.12-2ubuntu1.21
- 2:3.2.12-2ubuntu1.22
- 2:3.2.12-2ubuntu1.23
- Betroffene Versionsbereiche
- ECOSYSTEM: < 2:3.2.12-2ubuntu1.24
Auf 2:3.2.12-2ubuntu1.24 aktualisieren
python-django Ubuntu:24.04:LTS
- Softwareversionen
- 3:4.2.4-1ubuntu2
- 3:4.2.8-1
- 3:4.2.9-1
- 3:4.2.11-1
- 3:4.2.11-1ubuntu1
- 3:4.2.11-1ubuntu1.1
- 3:4.2.11-1ubuntu1.2
- 3:4.2.11-1ubuntu1.3
- 3:4.2.11-1ubuntu1.4
- 3:4.2.11-1ubuntu1.5
- 3:4.2.11-1ubuntu1.6
- 3:4.2.11-1ubuntu1.7
- 3:4.2.11-1ubuntu1.8
- 3:4.2.11-1ubuntu1.9
- 3:4.2.11-1ubuntu1.10
- 3:4.2.11-1ubuntu1.11
- 3:4.2.11-1ubuntu1.12
- Betroffene Versionsbereiche
- ECOSYSTEM: < 3:4.2.11-1ubuntu1.13
Auf 3:4.2.11-1ubuntu1.13 aktualisieren
python-django Ubuntu:25.10
- Softwareversionen
- 3:4.2.18-1ubuntu1
- 3:4.2.18-1ubuntu1.1
- 3:5.2.4-1
- 3:5.2.4-1ubuntu1
- 3:5.2.4-1ubuntu2
- 3:5.2.4-1ubuntu2.1
- Betroffene Versionsbereiche
- ECOSYSTEM: < 3:5.2.4-1ubuntu2.2
Auf 3:5.2.4-1ubuntu2.2 aktualisieren
python-django Ubuntu:26.04:LTS
- Softwareversionen
- 3:5.2.4-1ubuntu2
- 3:5.2.4-1ubuntu3
- Betroffene Versionsbereiche
- ECOSYSTEM: < 3:5.2.9-0ubuntu1
Auf 3:5.2.9-0ubuntu1 aktualisieren