Read the docs
TI-2022-11107 Aliases CVE-2022-28347GHSA-w24h-v9qh-8gxj

A SQL injection issue was discovered in QuerySet.explain() in Django 2.2 before 2.2.28…

Priority MEDIUM 47CWE-89Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
SQL injection
Confidentiality · integrity · availability
High · High · High
Fix status
Partial Red Hat: 5 fixed, 8 without a fix

Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-89.

Summary

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.

Why it matters now

EPSS 0.02943 87th percentileScored 2026-11-07
Fix Partial Django (PyPI): 2.2.28, 3.2.13, 4.0.4Red Hat: 4 advisoriesRed Hat: 5 fixed, 8 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
—Django (PyPI)2.2 to before 2.2.282.2.28Patch availableGHSA-w24h-v9qh-8gxj
—Django (PyPI)3.2 to before 3.2.133.2.13Patch availableGHSA-w24h-v9qh-8gxj
—Django (PyPI)4.0 to before 4.0.44.0.4Patch availableGHSA-w24h-v9qh-8gxj
  • — Vendor— Affected all versions Fixed in — No fix listed CNA
  • Django (PyPI) Vendor— Affected 2.2 to before 2.2.28 Fixed in 2.2.28 Patch available GHSA-w24h-v9qh-8gxj
  • Django (PyPI) Vendor— Affected 3.2 to before 3.2.13 Fixed in 3.2.13 Patch available GHSA-w24h-v9qh-8gxj
  • Django (PyPI) Vendor— Affected 4.0 to before 4.0.4 Fixed in 4.0.4 Patch available GHSA-w24h-v9qh-8gxj

CPE configurations NVD · 2

CPEVersionsRoleVendor
cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*2.2 to before 2.2.28; 3.2 to before 3.2.13; 4.0 to before 4.0.4Vulnerabledjangoproject
cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*11.0VulnerableDebian
  • cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:* Versions 2.2 to before 2.2.28; 3.2 to before 3.2.13; 4.0 to before 4.0.4 Vulnerable ·djangoproject
  • cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* Versions 11.0 Vulnerable ·Debian

Remediation

  • Fix · GHSA-w24h-v9qh-8gxj Django (PyPI) Fixed in 2.2.28 Advisory →
  • Fix · GHSA-w24h-v9qh-8gxj Django (PyPI) Fixed in 3.2.13 Advisory →
  • Fix · GHSA-w24h-v9qh-8gxj Django (PyPI) Fixed in 4.0.4 Advisory →

Red Hat 4 advisories

  • RHSA-2022:5703 Released 2022-07-25 · Red Hat rating Important
    Red Hat Ansible Automation Platform 1.2 security update
    • Red Hat Automation Hub 4.2 for RHEL 7 python3-django-2.2.28-1.el7pc
    • Red Hat Automation Hub 4.2 for RHEL 8 python3-django-2.2.28-1.el8pc
  • RHSA-2022:5702 Released 2022-07-25 · Red Hat rating Important
    Red Hat Ansible Automation Platform 2.1.2 security and bug fix update
    • Red Hat Ansible Automation Platform 2.1 for RHEL 8 automation-controller-4.1.2-2.el8ap, automation-controller-cli-4.1.2-2.el8ap, automation-controller-server-4.1.2-2.el8ap +4
  • RHSA-2022:5602 Released 2022-07-19 · Red Hat rating Important
    RHUI 4.1.1 release - Security Fixes and Enhancement Update
    • RHUI 4 for RHEL 8 python-django-3.2.13-2.el8ui, python-pulpcore-3.17.6-3.el8ui, python38-pulpcore-3.17.6-3.el8ui
Show 1 more Red Hat advisories
  • RHSA-2022:5498 Released 2022-07-05 · Red Hat rating Moderate
    Satellite 6.11 Release
    • Red Hat Satellite 6.11 for RHEL 7 candlepin-4.1.13-1.el7sat, foreman-3.1.1.21-2.el7sat, libsolv-0.7.22-1.el7pc +4
    • Red Hat Satellite 6.11 for RHEL 8 candlepin-4.1.13-1.el8sat, foreman-3.1.1.21-2.el8sat, libsolv-0.7.22-1.el8pc +8

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Ceph Storage 3AffectedNo fix planned: Will not fix
Red Hat Discovery 1AffectedNo fix yet
Red Hat OpenStack Platform 13 (Queens)AffectedNo fix yet
Red Hat OpenStack Platform 16.1AffectedNo fix yet
Red Hat OpenStack Platform 16.2AffectedNo fix yet
Red Hat Satellite 6AffectedNo fix yet
Red Hat Storage 3AffectedNo fix planned: Will not fix
Red Hat Update Infrastructure 4 for Cloud ProvidersAffectedNo fix yet
RHUI 4 for RHEL 8Fixed RHSA-2022:5602
Red Hat Ansible Automation Platform 2.1 for RHEL 8Fixed RHSA-2022:5702
Red Hat Automation Hub 4.2 for RHEL 7Fixed RHSA-2022:5703
Red Hat Automation Hub 4.2 for RHEL 8Fixed RHSA-2022:5703
Red Hat Satellite 6.11 for RHEL 8Fixed RHSA-2022:5498
Not affected: 4 products
  • RHUI 4 for RHEL 8
  • Red Hat Ansible Automation Platform 2.1 for RHEL 8
  • Red Hat Satellite 6.11 for RHEL 7
  • Red Hat Satellite 6.11 for RHEL 8

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-28347
  2. 2026-10-03 Alias added: GHSA-w24h-v9qh-8gxj

References

Sources