CVE-2022-28346

A

n 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

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

CWE
CWE-89

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