Description
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.
Published: 2022-04-12
Score: 9.8 Critical
EPSS: 2.0% Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

No analysis available yet.

Remediation

No remediation available yet.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-2982-1 python-django security update
Debian DSA Debian DSA DSA-5254-1 python-django security update
EUVD EUVD EUVD-2022-0087 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.
Github GHSA Github GHSA GHSA-2gwj-7jmv-h26r SQL Injection in Django
Ubuntu USN Ubuntu USN USN-5373-1 Django vulnerabilities
Ubuntu USN Ubuntu USN USN-5373-2 Django vulnerabilities
History

No history.

Subscriptions

Debian Debian Linux
Djangoproject Django
Redhat Ansible Automation Platform Openstack Rhui Satellite Satellite Capsule
cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2025-02-13T16:32:33.638Z

Reserved: 2022-04-02T00:00:00.000Z

Link: CVE-2022-28346

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2022-04-12T05:15:06.927

Modified: 2024-11-21T06:57:11.007

Link: CVE-2022-28346

cve-icon Redhat

Severity : Important

Publid Date: 2022-04-11T08:00:00Z

Links: CVE-2022-28346 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses