CVE-2022-34265

high
Published 2022-07-05 · Modified 2023-12-06
CVSS v3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v2
VIR risk
8.0

Description

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.

Predictions

Exploit likelihood
30%
Patch ETA

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

vendor Authored 2026-05-27

Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2022-34265

vendor Authored 2026-05-27

Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2022-34265.html

vendor Authored 2026-05-27

Vendor advisory: rocky — https://errata.rockylinux.org/RLSA-2022:8506

OS impact

OSVersionStatusFixed in
arch archfixed4.0.6-1
rockylinux rocky8fixed
suse slesaffected
debian debianbookwormfixed2:4.0.6-1
debian debianbullseyefixed2:2.2.28-1~deb11u1
debian debianforkyfixed2:4.0.6-1
debian debiansidfixed2:4.0.6-1
debian debiantrixiefixed2:4.0.6-1

Package impact

EcosystemPackageVulnerableFixed
python PyPIdjango>=3.2a1,<3.2.143.2.14
python PyPIdjango>=4.0a1,<4.0.64.0.6
python PyPIdjango>=4.0,<4.0.63.2.14

References

Verify integrity in audit chain (admin only). AS-IS.