p PatchFirst

CVE-2022-28347

CVE-2022-28347

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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 9.8 · Critical · EPSS 2.9% · Fix available

Published
Updated

Stack: system · python

Affected products and versions

  • n/a

    Versions
    • n/a: Affected

    No fix published

  • python-django Debian:12

    Affected ranges
    • ECOSYSTEM: < 2:3.2.13-1

    Update to 2:3.2.13-1

  • python-django Debian:13

    Affected ranges
    • ECOSYSTEM: < 2:3.2.13-1

    Update to 2:3.2.13-1

  • python-django Debian:14

    Affected ranges
    • ECOSYSTEM: < 2:3.2.13-1

    Update to 2:3.2.13-1

  • django PyPI

    Versions
    • 2.2
    • 2.2.1
    • 2.2.10
    • 2.2.11
    • 2.2.12
    • 2.2.13
    • 2.2.14
    • 2.2.15
    • 2.2.16
    • 2.2.17
    • 2.2.18
    • 2.2.19
    • 2.2.2
    • 2.2.20
    • 2.2.21
    • 2.2.22
    • 2.2.23
    • 2.2.24
    • 2.2.25
    • 2.2.26
    • 2.2.27
    • 2.2.3
    • 2.2.4
    • 2.2.5
    • 2.2.6
    • 2.2.7
    • 2.2.8
    • 2.2.9
    Affected ranges
    • ECOSYSTEM: ≥ 2.2, < 2.2.28

    Update to 2.2.28

  • django PyPI

    Versions
    • 3.2
    • 3.2.1
    • 3.2.10
    • 3.2.11
    • 3.2.12
    • 3.2.2
    • 3.2.3
    • 3.2.4
    • 3.2.5
    • 3.2.6
    • 3.2.7
    • 3.2.8
    • 3.2.9
    Affected ranges
    • ECOSYSTEM: ≥ 3.2, < 3.2.13

    Update to 3.2.13

  • django PyPI

    Versions
    • 4.0
    • 4.0.1
    • 4.0.2
    • 4.0.3
    Affected ranges
    • ECOSYSTEM: ≥ 4.0, < 4.0.4

    Update to 4.0.4

  • django PyPI

    Versions
    • 2.2
    • 2.2.1
    • 2.2.10
    • 2.2.11
    • 2.2.12
    • 2.2.13
    • 2.2.14
    • 2.2.15
    • 2.2.16
    • 2.2.17
    • 2.2.18
    • 2.2.19
    • 2.2.2
    • 2.2.20
    • 2.2.21
    • 2.2.22
    • 2.2.23
    • 2.2.24
    • 2.2.25
    • 2.2.26
    • 2.2.27
    • 2.2.3
    • 2.2.4
    • 2.2.5
    • 2.2.6
    • 2.2.7
    • 2.2.8
    • 2.2.9
    • 3.2
    • 3.2.1
    • 3.2.10
    • 3.2.11
    • 3.2.12
    • 3.2.2
    • 3.2.3
    • 3.2.4
    • 3.2.5
    • 3.2.6
    • 3.2.7
    • 3.2.8
    • 3.2.9
    • 4.0
    • 4.0.1
    • 4.0.2
    • 4.0.3
    Affected ranges
    • ECOSYSTEM: ≥ 4.0, < 4.0.4 ∪ ≥ 3.2, < 3.2.13 ∪ ≥ 2.2, < 2.2.28

    Update to 4.0.4; Update to 3.2.13; Update to 2.2.28

  • python-django Ubuntu:20.04:LTS

    Versions
    • 1:1.11.22-1ubuntu1
    • 2:2.2.6-1ubuntu1
    • 2:2.2.9-2ubuntu1
    • 2:2.2.10-1
    • 2:2.2.10-1ubuntu1
    • 2:2.2.11-1
    • 2:2.2.12-1
    • 2:2.2.12-1ubuntu0.1
    • 2:2.2.12-1ubuntu0.2
    • 2:2.2.12-1ubuntu0.3
    • 2:2.2.12-1ubuntu0.4
    • 2:2.2.12-1ubuntu0.5
    • 2:2.2.12-1ubuntu0.6
    • 2:2.2.12-1ubuntu0.7
    • 2:2.2.12-1ubuntu0.8
    • 2:2.2.12-1ubuntu0.9
    • 2:2.2.12-1ubuntu0.10
    Affected ranges
    • ECOSYSTEM: < 2:2.2.12-1ubuntu0.11

    Update to 2:2.2.12-1ubuntu0.11

Original sources

Check your server →