← All CVEs

CVE-2022-28346

critical · 9.8

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.

9.8
CVSS
18.7%
EPSS (exploit prob.)
97th
EPSS percentile
2022-04-12
Published

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Weaknesses

CWE-89

Affected products

VendorProductAffected versions
djangoprojectdjango>= 2.2, < 2.2.28
djangoprojectdjango>= 3.2, < 3.2.13
djangoprojectdjango>= 4.0, < 4.0.4
debiandebian_linux9.0
debiandebian_linux11.0

Check a specific version with /api/v1/cve/match.

References

Query this programmatically:

curl https://evil-db.io/api/v1/cve/CVE-2022-28346