
CVE catalog
CVE-2022-28347
python-django: CVE-2022-28347
- Severity
- Critical · CVSS 9.4
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 2.94% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | python-django | sid | 3:5.2.18-1 | fixed |
| Debian | python-django | forky | 3:5.2.17-2 | fixed |
| Debian | python-django | trixie | 3:4.2.28-0+deb13u2 | fixed |
| Debian | python-django | trixie-security | 3:4.2.28-0+deb13u1 | fixed |
| Debian | python-django | bookworm | 3:3.2.25-0+deb12u3 | fixed |
| Debian | python-django | bookworm-security | 3:3.2.25-0+deb12u6 | fixed |
| Ubuntu | python-django | 20.04 | 1:1.11.22-1ubuntu1 | vulnerable |
| Ubuntu | python-django | 20.04 | 2:2.2.6-1ubuntu1 | vulnerable |
| Ubuntu | python-django | 20.04 | 2:2.2.9-2ubuntu1 | vulnerable |
| Ubuntu | python-django | 20.04 | 2:2.2.10-1 | vulnerable |
| Ubuntu | python-django | 20.04 | 2:2.2.10-1ubuntu1 | vulnerable |
| Ubuntu | python-django | 20.04 | 2:2.2.11-1 | vulnerable |
| Ubuntu | python-django | 20.04 | 2:2.2.12-1 | vulnerable |
| Ubuntu | python-django | 20.04 | 2:2.2.12-1ubuntu0.1 | vulnerable |
| Ubuntu | python-django | 20.04 | 2:2.2.12-1ubuntu0.2 | vulnerable |
| Ubuntu | python-django | 20.04 | 2:2.2.12-1ubuntu0.3 | vulnerable |
| Ubuntu | python-django | 20.04 | 2:2.2.12-1ubuntu0.4 | vulnerable |
| Ubuntu | python-django | 20.04 | 2:2.2.12-1ubuntu0.5 | vulnerable |
| Ubuntu | python-django | 20.04 | 2:2.2.12-1ubuntu0.6 | vulnerable |
| Ubuntu | python-django | 20.04 | 2:2.2.12-1ubuntu0.7 | vulnerable |
| Ubuntu | python-django | 20.04 | 2:2.2.12-1ubuntu0.8 | vulnerable |
| Ubuntu | python-django | 20.04 | 2:2.2.12-1ubuntu0.9 | vulnerable |
| Ubuntu | python-django | 20.04 | 2:2.2.12-1ubuntu0.10 | vulnerable |
| Ubuntu | python-django | 20.04 | 2:2.2.12-1ubuntu0.11 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | python-django | source | sid | 2:3.2.13-1 | not yet assigned | Not reported | [1009677] |
| Debian | python-django | source | forky | 2:3.2.13-1 | not yet assigned | Not reported | [1009677] |
| Debian | python-django | source | trixie | 2:3.2.13-1 | not yet assigned | Not reported | [1009677] |
| Debian | python-django | source | bookworm | 2:3.2.13-1 | not yet assigned | Not reported | [1009677] |
| Ubuntu | python-django | deb | 20.04 | 2:2.2.12-1ubuntu0.11 | Not reported | UBUNTU-CVE-2022-28347 | Not reported |
OpenFactory catalog packages
Matching against OpenFactory catalog package versions is in progress.
[Debian 12 (Bookworm)]
- [python3-django]Unknown
Source package: [python-django]
Details (6)
3:3.2.25-0+deb12u3· all · bookwormFixed · Fixed:
2:3.2.13-1dsa · python-django · debian · bookworm
3:3.2.25-0+deb12u3· all · bookwormFixed · Fixed:
2:3.2.13-1dsa · python-django · debian · bookworm
3:4.2.21-1~bpo12+1· all · bookworm-backportsFixed · Fixed:
2:3.2.13-1dsa · python-django · debian · bookworm
3:4.2.21-1~bpo12+1· all · bookworm-backportsFixed · Fixed:
2:3.2.13-1dsa · python-django · debian · bookworm
3:3.2.25-0+deb12u4· all · bookworm-securityFixed · Fixed:
2:3.2.13-1dsa · python-django · debian · bookworm
3:3.2.25-0+deb12u4· all · bookworm-securityFixed · Fixed:
2:3.2.13-1dsa · python-django · debian · bookworm
- [python-django-doc]Unknown
Source package: [python-django]
Details (6)
3:3.2.25-0+deb12u3· all · bookwormFixed · Fixed:
2:3.2.13-1dsa · python-django · debian · bookworm
3:3.2.25-0+deb12u3· all · bookwormFixed · Fixed:
2:3.2.13-1dsa · python-django · debian · bookworm
3:4.2.21-1~bpo12+1· all · bookworm-backportsFixed · Fixed:
2:3.2.13-1dsa · python-django · debian · bookworm
3:4.2.21-1~bpo12+1· all · bookworm-backportsFixed · Fixed:
2:3.2.13-1dsa · python-django · debian · bookworm
3:3.2.25-0+deb12u4· all · bookworm-securityFixed · Fixed:
2:3.2.13-1dsa · python-django · debian · bookworm
3:3.2.25-0+deb12u4· all · bookworm-securityFixed · Fixed:
2:3.2.13-1dsa · python-django · debian · bookworm
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2026_11235-1.json]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2022-28347]
- [https://security-tracker.debian.org/tracker/CVE-2022-28347]
- [https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-28347.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2022/wid-sec-w-2022-1335.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]