CVE-2022-28346

Summary

CVECVE-2022-28346
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2022-04-12 05:15:00 UTC
Updated2023-11-07 03:45:00 UTC
DescriptionAn 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.

Risk And Classification

Problem Types: CWE-89

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Debian Debian Linux 11.0 All All All
Operating System Debian Debian Linux 9.0 All All All
Application Djangoproject Django All All All All

References

ReferenceSourceLinkTags
Redirecting to Google Groups groups.google.com
Redirecting to Google Groups MISC groups.google.com
[SECURITY] Fedora 38 Update: python-django-4.0.10-1.fc38 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
oss-security - Django: CVE-2022-28346: Potential SQL injection in ``QuerySet.annotate()``, ``aggregate()``, and ``extra()`` MISC www.openwall.com
Archive of security issues | Django documentation | Django MISC docs.djangoproject.com
CVE-2022-28346 Django Vulnerability in NetApp Products | NetApp Product Security CONFIRM security.netapp.com
[SECURITY] [DLA 2982-1] python-django security update MLIST lists.debian.org
[SECURITY] Fedora 37 Update: python-django-4.0.10-1.fc37 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
[SECURITY] Fedora 38 Update: python-django-4.0.10-1.fc38 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
[SECURITY] Fedora 37 Update: python-django-4.0.10-1.fc37 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
Django security releases issued: 4.0.4, 3.2.13, and 2.2.28 | Weblog | Django MISC www.djangoproject.com
Debian -- Security Information -- DSA-5254-1 python-django DEBIAN www.debian.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 179192 Debian Security Update for python-django (DLA 2982-1)
  • 181137 Debian Security Update for python-django (DSA 5254-1)
  • 182406 Debian Security Update for python-django (CVE-2022-28346)
  • 198736 Ubuntu Security Notification for Django Vulnerabilities (USN-5373-1)
  • 240488 Red Hat Update for OpenStack Platform 16.2 (RHSA-2022:5115)
  • 240566 Red Hat Update for Satellite 6.11 Release (RHSA-2022:5498)
  • 240972 Red Hat Update for OpenStack Platform 16.1.9 (RHSA-2022:8872)
  • 283945 Fedora Security Update for python (FEDORA-2023-8fed428c5e)
  • 284167 Fedora Security Update for python (FEDORA-2023-a53ab7c969)
  • 296064 Oracle Solaris 11.4 Support Repository Update (SRU) 46.119.2 Missing (CPUAPR2022)
  • 502341 Alpine Linux Security Update for py3-django
  • 505304 Alpine Linux Security Update for py3-django
  • 690837 Free Berkeley Software Distribution (FreeBSD) Security Update for django (0db46f84-b9fa-11ec-89df-080027240888)
  • 960505 Rocky Linux Security Update for Satellite (RLSA-2022:5498)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report