--- title: "CVE-2022-34265: An issue was discovered in Django 3.2… | CubePath" 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…" language: en source: https://cubepath.com/security/cve/CVE-2022-34265 --- # CVE-2022-34265: An issue was discovered in Django 3.2… | CubePath ## 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. Official description from the CVE record, published by mitre. Copyright © 1999-2026 The MITRE Corporation. See [/security/cve/legal](https://cubepath.com/security/cve/legal) for the CVE license. [View the record on cve.org](https://www.cve.org/CVERecord?id=CVE-2022-34265) ## Key data ### EPSS Exploit Prediction Scoring System by FIRST: an estimate of the probability that exploitation activity will be observed in the next 30 days. Score 0.73607 (73.6% probability) Percentile 99.5% Scores of Nov 10, 2026 Model v2026.06.15 ## References Links listed in the CVE record. They lead to other sites, which CubePath does not control. - [groups.google.com/forum](https://groups.google.com/forum/#%21forum/django-announce) - [docs.djangoproject.com/en/4.0/releases/security](https://docs.djangoproject.com/en/4.0/releases/security/) - [djangoproject.com/weblog/2022/jul/04/security-releases](https://www.djangoproject.com/weblog/2022/jul/04/security-releases/) - [security.netapp.com/advisory/ntap-20220818-0006](https://security.netapp.com/advisory/ntap-20220818-0006/) - [DSA-5254](https://www.debian.org/security/2022/dsa-5254) (debian.org) vendor-advisory - [FEDORA-2023-8fed428c5e](https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HWY6DQWRVBALV73BPUVBXC3QIYUM24IK/) (lists.fedoraproject.org) vendor-advisory - [FEDORA-2023-a53ab7c969](https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LTZVAKU5ALQWOKFTPISE257VCVIYGFQI/) (lists.fedoraproject.org) vendor-advisory ## Timeline 1. ID reserved Jun 21, 2022 2. Record published Jul 4, 2022 3. Record last updated Feb 13, 2025 ## Look up another CVE ## About CubePath CubePath is a cloud provider with data centers in Europe and the United States. It offers VPS, bare metal servers and DDoS protection. [Cloud VPS](https://cubepath.com/vps) [DDoS protection](https://cubepath.com/ddos-protection) Data from the CVE Program (MITRE), CISA KEV and FIRST EPSS. CVSS is owned by FIRST and used by permission. Not affiliated with or endorsed by MITRE, CISA or FIRST. Data as of Nov 10, 2026, 20:02 UTC. [Sources and licenses](https://cubepath.com/security/cve/legal)