CVE-2022-28346
Published: 11 April 2022
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.
Priority
Status
Package | Release | Status |
---|---|---|
python-django Launchpad, Ubuntu, Debian |
bionic |
Released
(1:1.11.11-1ubuntu1.17)
|
focal |
Released
(2:2.2.12-1ubuntu0.11)
|
|
impish |
Released
(2:2.2.24-1ubuntu1.4)
|
|
jammy |
Released
(3.2.12-2ubuntu1)
|
|
trusty |
Released
(1.6.11-0ubuntu1.3+esm5)
Available with Ubuntu Pro or Ubuntu Pro (Infra-only) |
|
upstream |
Released
(3.2.13,2.2.28)
|
|
xenial |
Released
(1.8.7-1ubuntu5.15+esm5)
Available with Ubuntu Pro or Ubuntu Pro (Infra-only) |
Severity score breakdown
Parameter | Value |
---|---|
Base score | 9.8 |
Attack vector | Network |
Attack complexity | Low |
Privileges required | None |
User interaction | None |
Scope | Unchanged |
Confidentiality | High |
Integrity impact | High |
Availability impact | High |
Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |