CVE-2022-28346

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
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

Configuration 1 (hide)

OR cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*
cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*
cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*

Configuration 2 (hide)

OR cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*

History

21 Nov 2024, 06:57

Type Values Removed Values Added
References () http://www.openwall.com/lists/oss-security/2022/04/11/1 - Mailing List, Patch, Third Party Advisory () http://www.openwall.com/lists/oss-security/2022/04/11/1 - Mailing List, Patch, Third Party Advisory
References () https://docs.djangoproject.com/en/4.0/releases/security/ - Patch, Vendor Advisory () https://docs.djangoproject.com/en/4.0/releases/security/ - Patch, Vendor Advisory
References () https://groups.google.com/forum/#%21forum/django-announce - () https://groups.google.com/forum/#%21forum/django-announce -
References () https://lists.debian.org/debian-lts-announce/2022/04/msg00013.html - Mailing List, Third Party Advisory () https://lists.debian.org/debian-lts-announce/2022/04/msg00013.html - Mailing List, Third Party Advisory
References () 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/HWY6DQWRVBALV73BPUVBXC3QIYUM24IK/ -
References () https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LTZVAKU5ALQWOKFTPISE257VCVIYGFQI/ - () https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LTZVAKU5ALQWOKFTPISE257VCVIYGFQI/ -
References () https://security.netapp.com/advisory/ntap-20220609-0002/ - Third Party Advisory () https://security.netapp.com/advisory/ntap-20220609-0002/ - Third Party Advisory
References () https://www.debian.org/security/2022/dsa-5254 - Third Party Advisory () https://www.debian.org/security/2022/dsa-5254 - Third Party Advisory
References () https://www.djangoproject.com/weblog/2022/apr/11/security-releases/ - Patch, Vendor Advisory () https://www.djangoproject.com/weblog/2022/apr/11/security-releases/ - Patch, Vendor Advisory

28 Apr 2023, 05:15

Type Values Removed Values Added
References
  • (FEDORA) https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/LTZVAKU5ALQWOKFTPISE257VCVIYGFQI/ -

28 Apr 2023, 04:15

Type Values Removed Values Added
References
  • (FEDORA) https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HWY6DQWRVBALV73BPUVBXC3QIYUM24IK/ -

07 Nov 2022, 19:39

Type Values Removed Values Added
References (DEBIAN) https://www.debian.org/security/2022/dsa-5254 - (DEBIAN) https://www.debian.org/security/2022/dsa-5254 - Third Party Advisory
CPE cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*

16 Oct 2022, 00:15

Type Values Removed Values Added
References
  • (DEBIAN) https://www.debian.org/security/2022/dsa-5254 -

14 Oct 2022, 12:58

Type Values Removed Values Added
References (CONFIRM) https://security.netapp.com/advisory/ntap-20220609-0002/ - (CONFIRM) https://security.netapp.com/advisory/ntap-20220609-0002/ - Third Party Advisory

09 Jun 2022, 19:15

Type Values Removed Values Added
References
  • (CONFIRM) https://security.netapp.com/advisory/ntap-20220609-0002/ -

19 Apr 2022, 15:48

Type Values Removed Values Added
CPE cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
References (MISC) http://www.openwall.com/lists/oss-security/2022/04/11/1 - (MISC) http://www.openwall.com/lists/oss-security/2022/04/11/1 - Mailing List, Patch, Third Party Advisory
References (MLIST) https://lists.debian.org/debian-lts-announce/2022/04/msg00013.html - (MLIST) https://lists.debian.org/debian-lts-announce/2022/04/msg00013.html - Mailing List, Third Party Advisory
References (MISC) https://www.djangoproject.com/weblog/2022/apr/11/security-releases/ - (MISC) https://www.djangoproject.com/weblog/2022/apr/11/security-releases/ - Patch, Vendor Advisory
References (MISC) https://groups.google.com/forum/#!forum/django-announce - (MISC) https://groups.google.com/forum/#!forum/django-announce - Mailing List, Third Party Advisory
References (MISC) https://docs.djangoproject.com/en/4.0/releases/security/ - (MISC) https://docs.djangoproject.com/en/4.0/releases/security/ - Patch, Vendor Advisory
CWE CWE-89
CVSS v2 : unknown
v3 : unknown
v2 : 7.5
v3 : 9.8

14 Apr 2022, 18:15

Type Values Removed Values Added
References
  • (MLIST) https://lists.debian.org/debian-lts-announce/2022/04/msg00013.html -

12 Apr 2022, 09:07

Type Values Removed Values Added
New CVE

Information

Published : 2022-04-12 05:15

Updated : 2024-11-21 06:57


NVD link : CVE-2022-28346

Mitre link : CVE-2022-28346

CVE.ORG link : CVE-2022-28346


JSON object : View

Products Affected

djangoproject

  • django

debian

  • debian_linux
CWE
CWE-89

Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')