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 FencerVendor 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-completionaffected: no fix planned “Out of support scope”
-
Red Hat Ceph Storage 3 python-django, python-django-bash-completionaffected: no fix planned “Will not fix”
-
Red Hat Certification for Red Hat Enterprise Linux 7 python-djangoaffected: 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-completionaffected: no fix planned “Will not fix”
-
Red Hat OpenStack Platform 14 (Rocky) python2-django, python-django-bash-completionaffected: 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-djangoaffected: 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.el7ostfixed: 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.el8ostfixed: vendor fix RHSA-2020:1324
show 1 moreshow fewer
-
Red Hat Ceph Storage 2 calamari-server Red Hat Satellite 6 python-django, python2-django, python-django-bash-completionnot 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
-
github.com
/django/django/commit/4f5b58f5cd3c57fee9972ab074f8dc6895d8f387
web
-
github.com
/django/django/commit/ed682a24fca774818542757651bfba576c3fc3ef
web
-
github.com
/django/django/commit/f74b3ae3628c26e1b4f8db3d13a91d52a833a975
web
-
debian.org
/security/2019/dsa-4498
vendor-advisory, web, third-party-advisory, advisory
-
lists.opensuse.org
/opensuse-security-announce/2019-08/msg00025.html
vendor-advisory, web, mailing-list, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/STVX7X7IDWAH5SKE6MBMY3TEI6ZODBTK/
vendor-advisory
-
security.gentoo.org
/glsa/202004-17
vendor-advisory, web, advisory
-
docs.djangoproject.com
/en/dev/releases/security/
vendor-advisory, web
-
djangoproject.com
/weblog/2019/aug/01/security-releases/
vendor-advisory, article
- groups.google.com /forum/#%21topic/django-announce/jIoju2-KLDs
-
seclists.org
/bugtraq/2019/Aug/15
mailing-list, web, third-party-advisory
-
security.netapp.com
/advisory/ntap-20190828-0002/
advisory
-
nvd.nist.gov
/vuln/detail/CVE-2019-14234
advisory
-
docs.djangoproject.com
/en/dev/releases/security
web
-
github.com
/advisories/GHSA-6r97-cj55-9hrq
advisory
-
github.com
/django/django
package
-
github.com
/pypa/advisory-database/tree/main/vulns/django/PYSEC-2019-13.yaml
web
-
groups.google.com
/forum/#!topic/django-announce/jIoju2-KLDs
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/STVX7X7IDWAH5SKE6MBMY3TEI6ZODBTK
web
-
security.netapp.com
/advisory/ntap-20190828-0002
web
-
djangoproject.com
/weblog/2019/aug/01/security-releases
web
-
lists.fedoraproject.org
/archives/list/package-announce@lists.fedoraproject.org/message/STVX7X7IDWAH5SKE6MBMY3TEI6ZODBTK/
web
Sources
- CVE List CVE-2019-14234
- GitHub Advisory GHSA-6r97-cj55-9hrq
- NVD CVE-2019-14234
- OSV PYSEC-2019-13
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.