VOOZH about

URL: https://nvd.nist.gov/vuln/detail/CVE-2022-34265

⇱ NVD - CVE-2022-34265


  1. Vulnerabilities

CVE-2022-34265 Detail

Modified After Enrichment

This CVE record has been updated after NVD enrichment efforts were completed. Enrichment data supplied by the NVD may require amendment due to these changes.

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

 
NVD enrichment efforts reference publicly available information to associate vector strings. CVSS information contributed by other sources is also displayed.
CVSS 4.0 Severity and Vector Strings:

NVD assessment not yet provided.

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving NIST webspace. We have provided these links to other web sites because they may have information that would be of interest to you. No inferences should be drawn on account of other sites being referenced, or not, from this page. There may be other web sites that are more appropriate for your purpose. NIST does not necessarily endorse the views expressed, or concur with the facts presented on these sites. Further, NIST does not endorse any commercial products that may be mentioned on these sites. Please address comments about this page to [email protected].

URL Source(s) Tag(s)
https://docs.djangoproject.com/en/4.0/releases/security/ CVE, MITRE Patch  Vendor Advisory 
https://groups.google.com/forum/#%21forum/django-announce CVE, MITRE
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HWY6DQWRVBALV73BPUVBXC3QIYUM24IK/ CVE, MITRE
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LTZVAKU5ALQWOKFTPISE257VCVIYGFQI/ CVE, MITRE
https://security.netapp.com/advisory/ntap-20220818-0006/ CVE, MITRE Third Party Advisory 
https://www.debian.org/security/2022/dsa-5254 CVE, MITRE Third Party Advisory 
https://www.djangoproject.com/weblog/2022/jul/04/security-releases/ CVE, MITRE Patch  Vendor Advisory 

Weakness Enumeration

CWE-ID CWE Name Source
CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') πŸ‘ cwe source acceptance level
NIST  

Known Affected Software Configurations Switch to CPE 2.2

CPEs loading, please wait.

Denotes Vulnerable Software
Are we missing a CPE here? Please let us know.

Change History

10 change records found show changes

CVE Modified by MITRE 6/17/2026 12:50:00 AM

Action Type Old Value New Value
Added Affected
[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}]


CVE Modified by CVE 11/21/2024 2:09:10 AM

Action Type Old Value New Value
Added Reference
https://docs.djangoproject.com/en/4.0/releases/security/


Added Reference
https://groups.google.com/forum/#%21forum/django-announce


Added Reference
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HWY6DQWRVBALV73BPUVBXC3QIYUM24IK/


Added Reference
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LTZVAKU5ALQWOKFTPISE257VCVIYGFQI/


Added Reference
https://security.netapp.com/advisory/ntap-20220818-0006/


Added Reference
https://www.debian.org/security/2022/dsa-5254


Added Reference
https://www.djangoproject.com/weblog/2022/jul/04/security-releases/


CVE Modified by MITRE 5/14/2024 6:53:32 AM

Action Type Old Value New Value

CVE Modified by MITRE 11/06/2023 10:48:31 PM

Action Type Old Value New Value
Added Reference
MITRE https://groups.google.com/forum/#%21forum/django-announce [No types assigned]


Added Reference
MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HWY6DQWRVBALV73BPUVBXC3QIYUM24IK/ [No types assigned]


Added Reference
MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LTZVAKU5ALQWOKFTPISE257VCVIYGFQI/ [No types assigned]


Removed Reference
MITRE https://groups.google.com/forum/#!forum/django-announce


Removed Reference
MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/HWY6DQWRVBALV73BPUVBXC3QIYUM24IK/


Removed Reference
MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/LTZVAKU5ALQWOKFTPISE257VCVIYGFQI/


CVE Modified by MITRE 4/28/2023 1:15:25 AM

Action Type Old Value New Value
Added Reference
https://lists.fedoraproject.org/archives/list/[email protected]/message/LTZVAKU5ALQWOKFTPISE257VCVIYGFQI/ [No Types Assigned]


CVE Modified by MITRE 4/28/2023 12:15:36 AM

Action Type Old Value New Value
Added Reference
https://lists.fedoraproject.org/archives/list/[email protected]/message/HWY6DQWRVBALV73BPUVBXC3QIYUM24IK/ [No Types Assigned]


Modified Analysis by NIST 10/26/2022 6:28:23 PM

Action Type Old Value New Value
Changed Reference Type
https://security.netapp.com/advisory/ntap-20220818-0006/ No Types Assigned


https://security.netapp.com/advisory/ntap-20220818-0006/ Third Party Advisory


Changed Reference Type
https://www.debian.org/security/2022/dsa-5254 No Types Assigned


https://www.debian.org/security/2022/dsa-5254 Third Party Advisory


CVE Modified by MITRE 10/15/2022 8:15:10 PM

Action Type Old Value New Value
Added Reference
https://www.debian.org/security/2022/dsa-5254 [No Types Assigned]


CVE Modified by MITRE 8/18/2022 11:15:26 AM

Action Type Old Value New Value
Added Reference
https://security.netapp.com/advisory/ntap-20220818-0006/ [No Types Assigned]


Initial Analysis by NIST 7/13/2022 11:39:14 AM

Action Type Old Value New Value
Added CVSS V3.1
NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H


Added CVSS V2
NIST (AV:N/AC:L/Au:N/C:P/I:P/A:P)


Added CWE
NIST CWE-89


Added CPE Configuration
OR
 *cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* versions from (including) 3.2 up to (excluding) 3.2.14
 *cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* versions from (including) 4.0 up to (excluding) 4.0.6


Changed Reference Type
https://docs.djangoproject.com/en/4.0/releases/security/ No Types Assigned


https://docs.djangoproject.com/en/4.0/releases/security/ Patch, Vendor Advisory


Changed Reference Type
https://groups.google.com/forum/#!forum/django-announce No Types Assigned


https://groups.google.com/forum/#!forum/django-announce Mailing List, Third Party Advisory


Changed Reference Type
https://www.djangoproject.com/weblog/2022/jul/04/security-releases/ No Types Assigned


https://www.djangoproject.com/weblog/2022/jul/04/security-releases/ Patch, Vendor Advisory


Quick Info

CVE Dictionary Entry:
CVE-2022-34265
NVD Published Date:
07/04/2022
NVD Last Modified:
06/17/2026
Source:
MITRE