CVE-2022-28347SQL Injection in Django

CWE-89SQL Injection9 documents7 sources
Severity
9.8CRITICALNVD
EPSS
1.1%
top 21.91%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedApr 12
Latest updateApr 13

Description

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.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitability: 3.9 | Impact: 5.9

Affected Packages2 packages

NVDdjangoproject/django2.22.2.28+2
PyPIdjangoproject/django2.22.2.28+2

Also affects: Debian Linux 11.0

Patches

🔴Vulnerability Details

5
OSV
SQL Injection in Django2022-04-13
GHSA
SQL Injection in Django2022-04-13
CVEList
CVE-2022-28347: A SQL injection issue was discovered in QuerySet2022-04-12
OSV
CVE-2022-28347: A SQL injection issue was discovered in QuerySet2022-04-12
OSV
python-django vulnerabilities2022-04-11

📋Vendor Advisories

3
Ubuntu
Django vulnerabilities2022-04-11
Red Hat
Django: SQL injection via QuerySet.explain(options) on PostgreSQL2022-04-11
Debian
CVE-2022-28347: python-django - A SQL injection issue was discovered in QuerySet.explain() in Django 2.2 before ...2022
CVE-2022-28347 — SQL Injection in Djangoproject Django | cvebase