SQL Injection in Djangoproject Django
CVE-2022-28347
A SQL injection issue was discovered in QuerySet.explain() in Django 2.2 before 2.2.28, 3.2 before 3.2.13, and 4.0 before 4.0.4. This occurs by passing a crafted dictionary (with dictionary expansion) as the **options argument, and placing the injection payload in an option name.
Vulnerability class: SQL Injection
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.029, 87.4th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Djangoproject Django
- Debian Linux — versions 11.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 7 other repositories (ARPSyndicate/cvemon, chenxiex/django-401-compose, graydonhope/VulnerabilityScanner, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- groups.google.com/forum/
- docs.djangoproject.com/en/4.0/releases/security/ (Patch, Vendor Advisory)
- www.openwall.com/lists/oss-security/2022/04/11/1 (Patch, Mailing List, Third Party Advisory)
- www.djangoproject.com/weblog/2022/apr/11/security-releases/ (Patch, Vendor Advisory)
- DSA-5254 (vendor-advisory, Third Party Advisory)
- FEDORA-2023-8fed428c5e (vendor-advisory)
- FEDORA-2023-a53ab7c969 (vendor-advisory)