Skip to content
Fencer Intel
critical 9.8

CVE-2019-14234 in the critical feed json

SQL Injection in Django

published 7y ago modified 4mo ago also GHSA-6r97-cj55-9hrq , PYSEC-2019-13 , EUVD-2019-0037

cvss
9.8
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
47.7%
EPSS 47.7% chance of exploitation in 30 days, percentile 98%
public exploits
0
none known

Summary

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.

Patch / fix

  • pypi django 1.11.23, 2.1.11, 2.2.4
  • djangoproject django 1.11.23, 2.1.11, 2.2.4
  • python-django Debian 14, Debian 13, Debian 12 2:2.2.4-1

debian advisories DEBIAN-CVE-2019-14234

  • python-django Ubuntu 16.04 LTS 1.8.7-1ubuntu5.10
  • python-django Ubuntu 18.04 LTS 1:1.11.11-1ubuntu1.5
  • python-django Ubuntu 20.04 LTS 1:1.11.22-1ubuntu1

ubuntu advisories UBUNTU-CVE-2019-14234

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • python-django openstack 13 1.11.27-1.el7ost
  • python2-django openstack 13 1.11.27-1.el7ost
  • python-django-bash-completion openstack 13 1.11.27-1.el7ost
  • python-django openstack 15 2.1.11-1.el8ost
  • python3-django openstack 15 2.1.11-1.el8ost
  • python-django-bash-completion openstack 15 2.1.11-1.el8ost

red hat advisories RHSA-2020:4390RHSA-2020:1324

  • python-Django1 OpenStack Cloud Crowbar 9, OpenStack Cloud 9 1.11.23-3.9.1
  • python-Django OpenStack Cloud Crowbar 8, OpenStack Cloud 8, HPE Helion OpenStack 8 1.11.23-3.12.1
  • python-Django OpenStack Cloud 7 1.8.19-3.15.1

suse advisories SUSE-SU-2019:2335-1SUSE-SU-2019:2257-1SUSE-SU-2019:2180-1

  • python-Django Package Hub 15 SP1 2.2.4-bp151.3.3.1
  • python-Django openSUSE Leap 15.1 2.2.4-lp151.2.3.1

opensuse advisories openSUSE-SU-2019:1872-1openSUSE-SU-2019:1839-1

  • py-django Alpine 3.10, Alpine 3.9, Alpine 3.8 +1 more 1.11.23-r0
  • py3-django Alpine 3.24, Alpine 3.23, Alpine 3.22 +11 more 1.11.23-r0

alpine advisories ALPINE-CVE-2019-14234

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • python-django Arch Linux 2.2.4-1

arch linux advisories AVG-1015

Is CVE-2019-14234 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2019-14234 updated cvss 5.3

Django: SQL injection possibility in key and index lookups for JSONField/HStoreField

  • Red Hat Ceph Storage 2 python-django, python-django-bash-completion
    affected: no fix planned “Out of support scope”
  • Red Hat Ceph Storage 3 python-django, python-django-bash-completion
    affected: no fix planned “Will not fix”
  • Red Hat Certification for Red Hat Enterprise Linux 7 python-django
    affected: no fix available “Fix deferred”
  • Red Hat OpenStack Platform 9 (Mitaka) python-django, python-django-bash-completion Red Hat OpenStack Platform 9 (Mitaka) Operational Tools python-django, python-django-bash-completion Red Hat OpenStack Platform 10 (Newton) python-django, python-django-bash-completion
    affected: no fix planned “Will not fix”
  • Red Hat OpenStack Platform 14 (Rocky) python2-django, python-django-bash-completion
    affected: no fix planned “Out of support scope”
  • Red Hat Storage 3 python-django, python2-django, python-django-bash-completion Red Hat Update Infrastructure 3 for Cloud Providers python-django
    affected: no fix available “Fix deferred”
  • Red Hat OpenStack Platform 13.0 python-django 1.11.27-1.el7ost, python2-django 1.11.27-1.el7ost, python-django-bash-completion 1.11.27-1.el7ost Red Hat OpenStack Platform 13.0 for RHEL 7.6 EUS Server python-django 1.11.27-1.el7ost, python2-django 1.11.27-1.el7ost, python-django-bash-completion 1.11.27-1.el7ost
    fixed: vendor fix RHSA-2020:4390
  • Red Hat OpenStack Platform 15.0 python-django 2.1.11-1.el8ost, python3-django 2.1.11-1.el8ost, python-django-bash-completion 2.1.11-1.el8ost
    fixed: vendor fix RHSA-2020:1324
show 1 more
  • Red Hat Ceph Storage 2 calamari-server Red Hat Satellite 6 python-django, python2-django, python-django-bash-completion
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

47.69% chance of exploitation in the next 30 days, higher than 98% of all scored CVEs (FIRST EPSS, 2026-11-09).

CVSS scores

assigned by version score vector
NVD 3.0 9.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P
GitHub 3.0 9.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
pypi django
>=1.11a1, <1.11.23
>=2.1a1, <2.1.11
>=2.2a1, <2.2.4
>=2.1, <2.1.11
>=1.11, <1.11.23
>=2.2, <2.2.4
1.11.23
2.1.11
2.2.4

Classification

Weakness
  • CWE-89 Improper Neutralization of Special Elements used in an SQL Command
Technology feeds

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.