CVE-2019-14234Djangoproject Django
Critical 9.8 No auth neededHigh EPSS
Follow: this CVE · Djangoproject · Djangoproject Django We alert you by email or Slack (account required).
- Priority
- 79
- CVSS 3.0
- 9.8
- EPSS
- 47.7% probability of exploitation in 30 days · percentile 99
- Auth required
- No
- Published
- Aug 9, 2019
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-89
- Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Django.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | django |
≥ 1.11a1 < 1.11.23 |
1.11.23 |
pip install "django>=1.11.23" |
| PyPI | django |
≥ 2.1a1 < 2.1.11 |
2.1.11 |
pip install "django>=2.1.11" |
| PyPI | django |
≥ 2.2a1 < 2.2.4 |
2.2.4 |
pip install "django>=2.2.4" |
| PyPI | django |
≥ 2.1 < 2.1.11 |
2.1.11 |
pip install "django>=2.1.11" |
| PyPI | django |
≥ 1.11 < 1.11.23 |
1.11.23 |
pip install "django>=1.11.23" |
| PyPI | django |
≥ 2.2 < 2.2.4 |
2.2.4 |
pip install "django>=2.2.4" |
Per OSV / GitHub Advisories (GHSA-6r97-cj55-9hrq, PYSEC-2019-13). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| djangoproject | django | ≥ 1.11 < 1.11.23 |
| djangoproject | django | ≥ 2.1 < 2.1.11 |
| djangoproject | django | ≥ 2.2 < 2.2.4 |
| fedoraproject | fedora | 30 |
| debian | debian_linux | 9.0 |
| debian | debian_linux | 10.0 |
Official sources
References
Links published by the sources. Open them with care.
- lists.opensuse.org Mailing List Third Party Advisory
- docs.djangoproject.com Vendor Advisory
- groups.google.com
- lists.fedoraproject.org
- seclists.org Mailing List Third Party Advisory
- security.gentoo.org
- security.netapp.com
- www.debian.org Third Party Advisory
- www.djangoproject.com Vendor Advisory