CVE-2022-34265: djangoproject django
Vulnerability summary
CVE-2022-34265 is a critical (CVSS 9.8) vulnerability in djangoproject django. EPSS estimates a 73.61% chance of exploitation in the next 30 days, higher than 99.4% of scored vulnerabilities.
Severe, CVSS 9.8 (NVD); no exploitation reported by the 5 checked sources; EPSS 74% (FIRST, 03-11-2026)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 11 · Related 7Timeline
- 04-07-2022PublishedVulnerability first disclosed.
- 13-02-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
8 scores · 6 sources · 3 versions- OSV · PypiEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · Red hatEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · AlpineEcosystem advisory · calculated9.8CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
73.61%
Chance of exploitation in the next 30 days
Percentile
99%
Versus all other CVEs
30-day change
No change 0.00 pp
From 73.61% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Redhat2 products
- python-django< 0:3.2.14-3.el8ui
- python38-django< 0:3.2.14-3.el8ui
Alpine1 product
- py3-django< 3.2.14-r0
Debian1 product
- python-django< 2:4.0.6-1
Djangoproject1 product
- django≥ 3.2, < 3.2.14 | ≥ 4.0, < 4.0.6
Opensuse1 product
- python-Django&distro=openSUSE Tumbleweed< 4.0.6-1.1
PyPI1 product
- django≥ 3.2a1, < 3.2.14 | ≥ 4.0a1, < 4.0.6 | ≥ 4.0, < 4.0.6
Ubuntu1 product
- python-django< 1:1.11.11-1ubuntu1.18 | < 2:2.2.12-1ubuntu0.12 | < 2:3.2.12-2ubuntu1.1
7 vendors · 8 products
References
32 links- security.netapp.com/advisory/ntap-20220818-0006/Third Party Advisory
- lists.fedoraproject.org/archives/…Vendor Advisory
- lists.fedoraproject.org/archives/…Vendor Advisory
Show all 32 references
- github.com/django/djangoPACKAGE