SQL Injection in Djangoproject Django
CVE-2022-34265
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.
Vulnerability class: SQL Injection
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.736 (99.5th percentile), scored .
High probability of exploitation in the next 30 days — patch promptly. 99th percentile — 99.5% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.736 · newest: 0.736 · change: 0.000
Affected products
Weakness classification (CWE)
Public proof-of-concept exploits
References
- groups.google.com/forum/
- docs.djangoproject.com/en/4.0/releases/security/ (Patch, Vendor Advisory)
- www.djangoproject.com/weblog/2022/jul/04/security-releases/ (Patch, Vendor Advisory)
- security.netapp.com/advisory/ntap-20220818-0006/ (Third Party Advisory)
- www.debian.org/security/2022/dsa-5254 (vendor-advisory, Third Party Advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
Frequently asked questions
- What is CVE-2022-34265?
- CVE-2022-34265 is a critical-severity vulnerability in Djangoproject Django, classified under SQL Injection. CVSS score: 9.8/10. Published 2022-07-04.
- How severe is CVE-2022-34265?
- Critical severity. CVSS v3 base score is 9.8 out of 10.
- Is CVE-2022-34265 known to be exploited?
- 55 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.