CVE-2022-28346

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

Description

An issue was discovered in Django 2.2 before 2.2.28, 3.2 before 3.2.13, and 4.0 before 4.0.4. QuerySet.annotate(), aggregate(), and extra() methods are subject to SQL injection in column aliases via a crafted dictionary (with dictionary expansion) as the passed **kwargs.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* 2.2 (including) 2.2.28 (excluding)
cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* 3.2 (including) 3.2.13 (excluding)
cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* 4.0 (including) 4.0.4 (excluding)
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*