CVE-2022-28346
Last modified
CVE-2022-28346 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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.. EPSS estimates a 18.40% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Djangoproject | Django | >= 2.2, < 2.2.28 |
| Djangoproject | Django | >= 3.2, < 3.2.13 |
| Djangoproject | Django | >= 4.0, < 4.0.4 |
| Debian | Debian Linux | 9.0 |
| Debian | Debian Linux | 11.0 |
References
- http://www.openwall.com/lists/oss-security/2022/04/11/1Mailing List, Patch, Third Party Advisory
- https://docs.djangoproject.com/en/4.0/releases/security/Patch, Vendor Advisory
- https://lists.debian.org/debian-lts-announce/2022/04/msg00013.htmlMailing List, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20220609-0002/Third Party Advisory
- https://www.debian.org/security/2022/dsa-5254Third 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/1Mailing List, Patch, Third Party Advisory
- https://docs.djangoproject.com/en/4.0/releases/security/Patch, Vendor Advisory
- https://lists.debian.org/debian-lts-announce/2022/04/msg00013.htmlMailing List, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20220609-0002/Third Party Advisory
- https://www.debian.org/security/2022/dsa-5254Third Party Advisory
- https://www.djangoproject.com/weblog/2022/apr/11/security-releases/Patch, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-28346?
How severe is CVE-2022-28346?
How do I fix CVE-2022-28346?
Are you affected by CVE-2022-28346?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
