CVE-2019-14234
publishedDjango: SQL injection possibility in key and index lookups for JSONField/HStoreField
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Alpine Linux | edge | py3-django | Fixed | 1.11.23-r0 | Package fix record |
| Debian | buster | python-django | Advisory build | 1:1.11.23-1~deb10u1 | DSA-4498-1 |
| SUSE / openSUSE | openSUSE-Leap-15.1 | python3-Djangonoarch | Advisory build | 2.2.4-lp151.2.3.1 | OPENSUSE-SU-2019:1839-1 |
| Ubuntu | bionic | python-django | Advisory build | 1:1.11.11-1ubuntu1.5 | USN-4084-1 |
| Alpine Linux | v3.10 | py-django | Fixed | 1.11.23-r0 | Package fix record |
| Alpine Linux | v3.11 | py3-django | Fixed | 1.11.23-r0 | Package fix record |
| Alpine Linux | v3.12 | py3-django | Fixed | 1.11.23-r0 | Package fix record |
Show 21 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.13 | py3-django | Fixed | 1.11.23-r0 | Package fix record |
| Alpine Linux | v3.14 | py3-django | Fixed | 1.11.23-r0 | Package fix record |
| Alpine Linux | v3.15 | py3-django | Fixed | 1.11.23-r0 | Package fix record |
| Alpine Linux | v3.16 | py3-django | Fixed | 1.11.23-r0 | Package fix record |
| Alpine Linux | v3.17 | py3-django | Fixed | 1.11.23-r0 | Package fix record |
| Alpine Linux | v3.18 | py3-django | Fixed | 1.11.23-r0 | Package fix record |
| Alpine Linux | v3.19 | py3-django | Fixed | 1.11.23-r0 | Package fix record |
| Alpine Linux | v3.20 | py3-django | Fixed | 1.11.23-r0 | Package fix record |
| Alpine Linux | v3.21 | py3-django | Fixed | 1.11.23-r0 | Package fix record |
| Alpine Linux | v3.22 | py3-django | Fixed | 1.11.23-r0 | Package fix record |
| Alpine Linux | v3.23 | py3-django | Fixed | 1.11.23-r0 | Package fix record |
| Alpine Linux | v3.24 | py3-django | Fixed | 1.11.23-r0 | Package fix record |
| Alpine Linux | v3.7 | py-django | Fixed | 1.11.23-r0 | Package fix record |
| Alpine Linux | v3.8 | py-django | Fixed | 1.11.23-r0 | Package fix record |
| Alpine Linux | v3.9 | py-django | Fixed | 1.11.23-r0 | Package fix record |
| Debian | stretch | python-django | Advisory build | 1:1.10.7-2+deb9u6 | DSA-4498-1 |
| Ubuntu | bionic | python-django-common | Advisory build | 1:1.11.11-1ubuntu1.5 | USN-4084-1 |
| Ubuntu | bionic | python3-django | Advisory build | 1:1.11.11-1ubuntu1.5 | USN-4084-1 |
| Ubuntu | xenial | python-django | Advisory build | 1.8.7-1ubuntu5.10 | USN-4084-1 |
| Ubuntu | xenial | python-django-common | Advisory build | 1.8.7-1ubuntu5.10 | USN-4084-1 |
| Ubuntu | xenial | python3-django | Advisory build | 1.8.7-1ubuntu5.10 | USN-4084-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
9- openSUSE-SU-2019:1872 http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00025.html
- https://docs.djangoproject.com/en/dev/releases/security/
- https://groups.google.com/forum/#%21topic/django-announce/jIoju2-KLDs
- FEDORA-2019-647f74ce51 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/STVX7X7IDWAH5SKE6MBMY3TEI6ZODBTK/
- 20190812 [SECURITY] [DSA 4498-1] python-django security update https://seclists.org/bugtraq/2019/Aug/15
- GLSA-202004-17 https://security.gentoo.org/glsa/202004-17
- https://security.netapp.com/advisory/ntap-20190828-0002/
- DSA-4498 https://www.debian.org/security/2019/dsa-4498
- https://www.djangoproject.com/weblog/2019/aug/01/security-releases/
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- c18c8b49291672f7205b1d4d0c32336a5f958c27af25fd4d55618e68a249a3bd
- Ingested
- 23 Sep 2026, 07:45:59 UTC
- Source record
- Official CVE record