CVE-2022-28346SQL Injection in Django

CWE-89SQL Injection11 documents7 sources
Severity
9.8CRITICALNVD
OSV6.1
EPSS
2.0%
top 16.43%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedApr 12
Latest updateApr 13

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.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitability: 3.9 | Impact: 5.9

Affected Packages2 packages

NVDdjangoproject/django2.22.2.28+2
PyPIdjangoproject/django2.22.2.28+2

Also affects: Debian Linux 11.0, 9.0

Patches

🔴Vulnerability Details

6
GHSA
SQL Injection in Django2022-04-13
OSV
SQL Injection in Django2022-04-13
CVEList
CVE-2022-28346: An issue was discovered in Django 22022-04-12
OSV
CVE-2022-28346: An issue was discovered in Django 22022-04-12
OSV
python-django vulnerabilities2022-04-11

📋Vendor Advisories

4
Ubuntu
Django vulnerabilities2022-04-11
Red Hat
Django: SQL injection in QuerySet.annotate(),aggregate() and extra()2022-04-11
Ubuntu
Django vulnerabilities2022-04-11
Debian
CVE-2022-28346: python-django - An issue was discovered in Django 2.2 before 2.2.28, 3.2 before 3.2.13, and 4.0 ...2022
CVE-2022-28346 — SQL Injection in Djangoproject Django | cvebase