CVE-2022-34265
Last modified
CVE-2022-34265 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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. EPSS estimates a 73.27% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Djangoproject | Django | >= 3.2, < 3.2.14 |
| Djangoproject | Django | >= 4.0, < 4.0.6 |
References
- https://docs.djangoproject.com/en/4.0/releases/security/Patch, Vendor Advisory
- https://security.netapp.com/advisory/ntap-20220818-0006/Third Party Advisory
- https://www.debian.org/security/2022/dsa-5254Third Party Advisory
- https://www.djangoproject.com/weblog/2022/jul/04/security-releases/Patch, Vendor Advisory
- https://docs.djangoproject.com/en/4.0/releases/security/Patch, Vendor Advisory
- https://security.netapp.com/advisory/ntap-20220818-0006/Third Party Advisory
- https://www.debian.org/security/2022/dsa-5254Third Party Advisory
- https://www.djangoproject.com/weblog/2022/jul/04/security-releases/Patch, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-34265?
How severe is CVE-2022-34265?
How do I fix CVE-2022-34265?
Are you affected by CVE-2022-34265?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
