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.
References
Link | Resource |
---|---|
http://www.openwall.com/lists/oss-security/2022/04/11/1 | Mailing List Patch Third Party Advisory |
https://docs.djangoproject.com/en/4.0/releases/security/ | Patch Vendor Advisory |
https://groups.google.com/forum/#%21forum/django-announce | |
https://lists.debian.org/debian-lts-announce/2022/04/msg00013.html | Mailing List Third Party Advisory |
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HWY6DQWRVBALV73BPUVBXC3QIYUM24IK/ | |
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LTZVAKU5ALQWOKFTPISE257VCVIYGFQI/ | |
https://security.netapp.com/advisory/ntap-20220609-0002/ | Third Party Advisory |
https://www.debian.org/security/2022/dsa-5254 | Third Party Advisory |
https://www.djangoproject.com/weblog/2022/apr/11/security-releases/ | Patch Vendor Advisory |
Configurations
History
07 Nov 2023, 03:45
Type | Values Removed | Values Added |
---|---|---|
References |
|
|
28 Apr 2023, 05:15
Type | Values Removed | Values Added |
---|---|---|
References |
|
28 Apr 2023, 04:15
Type | Values Removed | Values Added |
---|---|---|
References |
|
07 Nov 2022, 19:39
Type | Values Removed | Values Added |
---|---|---|
CPE | cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* | |
References | (DEBIAN) https://www.debian.org/security/2022/dsa-5254 - Third Party Advisory |
16 Oct 2022, 00:15
Type | Values Removed | Values Added |
---|---|---|
References |
|
14 Oct 2022, 12:58
Type | Values Removed | Values Added |
---|---|---|
References | (CONFIRM) https://security.netapp.com/advisory/ntap-20220609-0002/ - Third Party Advisory |
09 Jun 2022, 19:15
Type | Values Removed | Values Added |
---|---|---|
References |
|
19 Apr 2022, 15:48
Type | Values Removed | Values Added |
---|---|---|
CPE | cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* |
|
References | (MISC) https://groups.google.com/forum/#!forum/django-announce - Mailing List, Third Party Advisory | |
References | (MISC) https://www.djangoproject.com/weblog/2022/apr/11/security-releases/ - Patch, Vendor Advisory | |
References | (MISC) http://www.openwall.com/lists/oss-security/2022/04/11/1 - Mailing List, Patch, Third Party Advisory | |
References | (MISC) https://docs.djangoproject.com/en/4.0/releases/security/ - Patch, Vendor Advisory | |
References | (MLIST) https://lists.debian.org/debian-lts-announce/2022/04/msg00013.html - Mailing List, Third Party Advisory | |
CWE | CWE-89 | |
CVSS |
v2 : v3 : |
v2 : 7.5
v3 : 9.8 |
First Time |
Debian debian Linux
Debian Djangoproject Djangoproject django |
14 Apr 2022, 18:15
Type | Values Removed | Values Added |
---|---|---|
References |
|
12 Apr 2022, 09:07
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2022-04-12 05:15
Updated : 2023-12-10 14:22
NVD link : CVE-2022-28346
Mitre link : CVE-2022-28346
CVE.ORG link : CVE-2022-28346
JSON object : View
Products Affected
debian
- debian_linux
djangoproject
- django
CWE
CWE-89
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')