CVE catalog

CVE-2022-28347

python-django: CVE-2022-28347

[CVE catalog]

Severity
Critical · CVSS 9.4CVSS: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.

DistributionPackageReleaseVersionStatus
Debianpython-djangosid3:5.2.18-1fixed
Debianpython-djangoforky3:5.2.17-2fixed
Debianpython-djangotrixie3:4.2.28-0+deb13u2fixed
Debianpython-djangotrixie-security3:4.2.28-0+deb13u1fixed
Debianpython-djangobookworm3:3.2.25-0+deb12u3fixed
Debianpython-djangobookworm-security3:3.2.25-0+deb12u6fixed
Ubuntupython-django20.041:1.11.22-1ubuntu1vulnerable
Ubuntupython-django20.042:2.2.6-1ubuntu1vulnerable
Ubuntupython-django20.042:2.2.9-2ubuntu1vulnerable
Ubuntupython-django20.042:2.2.10-1vulnerable
Ubuntupython-django20.042:2.2.10-1ubuntu1vulnerable
Ubuntupython-django20.042:2.2.11-1vulnerable
Ubuntupython-django20.042:2.2.12-1vulnerable
Ubuntupython-django20.042:2.2.12-1ubuntu0.1vulnerable
Ubuntupython-django20.042:2.2.12-1ubuntu0.2vulnerable
Ubuntupython-django20.042:2.2.12-1ubuntu0.3vulnerable
Ubuntupython-django20.042:2.2.12-1ubuntu0.4vulnerable
Ubuntupython-django20.042:2.2.12-1ubuntu0.5vulnerable
Ubuntupython-django20.042:2.2.12-1ubuntu0.6vulnerable
Ubuntupython-django20.042:2.2.12-1ubuntu0.7vulnerable
Ubuntupython-django20.042:2.2.12-1ubuntu0.8vulnerable
Ubuntupython-django20.042:2.2.12-1ubuntu0.9vulnerable
Ubuntupython-django20.042:2.2.12-1ubuntu0.10vulnerable
Ubuntupython-django20.042:2.2.12-1ubuntu0.11fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianpython-djangosourcesid2:3.2.13-1not yet assignedNot reported[1009677]
Debianpython-djangosourceforky2:3.2.13-1not yet assignedNot reported[1009677]
Debianpython-djangosourcetrixie2:3.2.13-1not yet assignedNot reported[1009677]
Debianpython-djangosourcebookworm2:3.2.13-1not yet assignedNot reported[1009677]
Ubuntupython-djangodeb20.042:2.2.12-1ubuntu0.11Not reportedUBUNTU-CVE-2022-28347Not reported

[Debian bug #1009677]

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

[Debian 12 (Bookworm)]

  • Source package: [python-django]

    Details (6)
    • 3:3.2.25-0+deb12u3 · all · bookworm

      Fixed · Fixed: 2:3.2.13-1

      dsa · python-django · debian · bookworm

    • 3:3.2.25-0+deb12u3 · all · bookworm

      Fixed · Fixed: 2:3.2.13-1

      dsa · python-django · debian · bookworm

    • 3:4.2.21-1~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 2:3.2.13-1

      dsa · python-django · debian · bookworm

    • 3:4.2.21-1~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 2:3.2.13-1

      dsa · python-django · debian · bookworm

    • 3:3.2.25-0+deb12u4 · all · bookworm-security

      Fixed · Fixed: 2:3.2.13-1

      dsa · python-django · debian · bookworm

    • 3:3.2.25-0+deb12u4 · all · bookworm-security

      Fixed · Fixed: 2:3.2.13-1

      dsa · python-django · debian · bookworm

  • Source package: [python-django]

    Details (6)
    • 3:3.2.25-0+deb12u3 · all · bookworm

      Fixed · Fixed: 2:3.2.13-1

      dsa · python-django · debian · bookworm

    • 3:3.2.25-0+deb12u3 · all · bookworm

      Fixed · Fixed: 2:3.2.13-1

      dsa · python-django · debian · bookworm

    • 3:4.2.21-1~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 2:3.2.13-1

      dsa · python-django · debian · bookworm

    • 3:4.2.21-1~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 2:3.2.13-1

      dsa · python-django · debian · bookworm

    • 3:3.2.25-0+deb12u4 · all · bookworm-security

      Fixed · Fixed: 2:3.2.13-1

      dsa · python-django · debian · bookworm

    • 3:3.2.25-0+deb12u4 · all · bookworm-security

      Fixed · Fixed: 2:3.2.13-1

      dsa · python-django · debian · bookworm

Observed:

References