CVE-2022-34265

Severity CVSS v4.0:
Pending analysis
Type:
CWE-89 SQL Injection
Publication date:
04/07/2022
Last modified:
07/11/2023

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* 3.2 (including) 3.2.14 (excluding)
cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* 4.0 (including) 4.0.6 (excluding)