p PatchFirst

CVE-2019-14234

CVE-2019-14234

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

An issue was discovered in Django 1.11.x before 1.11.23, 2.1.x before 2.1.11, and 2.2.x before 2.2.4. Due to an error in shallow key transformation, key and index lookups for django.contrib.postgres.fields.JSONField, and key lookups for django.contrib.postgres.fields.HStoreField, were subject to SQL injection. This could, for example, be exploited via crafted use of "OR 1=1" in a key or index name to return all records, using a suitably crafted dictionary, with dictionary expansion, as the **kwargs passed to the QuerySet.filter() function.

CVSS 9.8 · Critical · EPSS 47.7% · 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:2.2.4-1

    Update to 2:2.2.4-1

  • python-django Debian:13

    Affected ranges
    • ECOSYSTEM: < 2:2.2.4-1

    Update to 2:2.2.4-1

  • python-django Debian:14

    Affected ranges
    • ECOSYSTEM: < 2:2.2.4-1

    Update to 2:2.2.4-1

  • django PyPI

    Versions
    • 1.11
    • 1.11.1
    • 1.11.10
    • 1.11.11
    • 1.11.12
    • 1.11.13
    • 1.11.14
    • 1.11.15
    • 1.11.16
    • 1.11.17
    • 1.11.18
    • 1.11.2
    • 1.11.20
    • 1.11.21
    • 1.11.22
    • 1.11.3
    • 1.11.4
    • 1.11.5
    • 1.11.6
    • 1.11.7
    • 1.11.8
    • 1.11.9
    • 1.11a1
    • 1.11b1
    • 1.11rc1
    Affected ranges
    • ECOSYSTEM: ≥ 1.11a1, < 1.11.23

    Update to 1.11.23

  • django PyPI

    Versions
    • 2.1
    • 2.1.1
    • 2.1.10
    • 2.1.2
    • 2.1.3
    • 2.1.4
    • 2.1.5
    • 2.1.7
    • 2.1.8
    • 2.1.9
    • 2.1a1
    • 2.1b1
    • 2.1rc1
    Affected ranges
    • ECOSYSTEM: ≥ 2.1a1, < 2.1.11

    Update to 2.1.11

  • django PyPI

    Versions
    • 2.2
    • 2.2.1
    • 2.2.2
    • 2.2.3
    • 2.2a1
    • 2.2b1
    • 2.2rc1
    Affected ranges
    • ECOSYSTEM: ≥ 2.2a1, < 2.2.4

    Update to 2.2.4

  • django PyPI

    Versions
    • 1.11
    • 1.11.1
    • 1.11.2
    • 1.11.3
    • 1.11.4
    • 1.11.5
    • 1.11.6
    • 1.11.7
    • 1.11.8
    • 1.11.9
    • 1.11.10
    • 1.11.11
    • 1.11.12
    • 1.11.13
    • 1.11.14
    • 1.11.15
    • 1.11.16
    • 1.11.17
    • 1.11.18
    • 1.11.20
    • 1.11.21
    • 1.11.22
    • 2.1
    • 2.1.1
    • 2.1.2
    • 2.1.3
    • 2.1.4
    • 2.1.5
    • 2.1.7
    • 2.1.8
    • 2.1.9
    • 2.1.10
    • 2.2
    • 2.2.1
    • 2.2.2
    • 2.2.3
    Affected ranges
    • ECOSYSTEM: ≥ 2.1, < 2.1.11 ∪ ≥ 1.11, < 1.11.23 ∪ ≥ 2.2, < 2.2.4

    Update to 2.1.11; Update to 1.11.23; Update to 2.2.4

  • python-django Ubuntu:Pro:14.04:LTS

    Versions
    • 1.5.4-1ubuntu1
    • 1.6-1
    • 1.6.1-1
    • 1.6.1-2
    • 1.6.1-2ubuntu0.1
    • 1.6.1-2ubuntu0.2
    • 1.6.1-2ubuntu0.3
    • 1.6.1-2ubuntu0.4
    • 1.6.1-2ubuntu0.5
    • 1.6.1-2ubuntu0.6
    • 1.6.1-2ubuntu0.8
    • 1.6.1-2ubuntu0.9
    • 1.6.1-2ubuntu0.10
    • 1.6.1-2ubuntu0.11
    • 1.6.1-2ubuntu0.12
    • 1.6.1-2ubuntu0.13
    • 1.6.1-2ubuntu0.14
    • 1.6.1-2ubuntu0.15
    • 1.6.1-2ubuntu0.16
    • 1.6.11-0ubuntu1
    • 1.6.11-0ubuntu1.1
    • 1.6.11-0ubuntu1.2
    • 1.6.11-0ubuntu1.3
    • 1.6.11-0ubuntu1.3+esm1
    • 1.6.11-0ubuntu1.3+esm2
    • 1.6.11-0ubuntu1.3+esm3
    • 1.6.11-0ubuntu1.3+esm4
    • 1.6.11-0ubuntu1.3+esm5
    • 1.6.11-0ubuntu1.3+esm6
    • 1.6.11-0ubuntu1.3+esm7
    • 1.6.11-0ubuntu1.3+esm8
    • 1.6.11-0ubuntu1.3+esm9
    • 1.6.11-0ubuntu1.3+esm10
    • 1.6.11-0ubuntu1.3+esm11
    • 1.6.11-0ubuntu1.3+esm12
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • python-django Ubuntu:16.04:LTS

    Versions
    • 1.7.9-1ubuntu5
    • 1.8.5-2ubuntu1
    • 1.8.7-1ubuntu1
    • 1.8.7-1ubuntu2
    • 1.8.7-1ubuntu3
    • 1.8.7-1ubuntu4
    • 1.8.7-1ubuntu5
    • 1.8.7-1ubuntu5.1
    • 1.8.7-1ubuntu5.2
    • 1.8.7-1ubuntu5.4
    • 1.8.7-1ubuntu5.5
    • 1.8.7-1ubuntu5.6
    • 1.8.7-1ubuntu5.7
    • 1.8.7-1ubuntu5.8
    • 1.8.7-1ubuntu5.9
    Affected ranges
    • ECOSYSTEM: < 1.8.7-1ubuntu5.10

    Update to 1.8.7-1ubuntu5.10

  • python-django Ubuntu:18.04:LTS

    Versions
    • 1:1.11.4-1ubuntu1
    • 1:1.11.6-1ubuntu1
    • 1:1.11.9-1ubuntu1
    • 1:1.11.11-1ubuntu1
    • 1:1.11.11-1ubuntu1.1
    • 1:1.11.11-1ubuntu1.2
    • 1:1.11.11-1ubuntu1.3
    • 1:1.11.11-1ubuntu1.4
    Affected ranges
    • ECOSYSTEM: < 1:1.11.11-1ubuntu1.5

    Update to 1:1.11.11-1ubuntu1.5

  • python-django Ubuntu:20.04:LTS

    Affected ranges
    • ECOSYSTEM: < 1:1.11.22-1ubuntu1

    Update to 1:1.11.22-1ubuntu1

Original sources

Check your server →