PT-2019-3437 · Django Software Foundation+3 · Django+3

Published

2019-07-26

·

Updated

2025-09-29

·

CVE-2019-14234

CVSS v2.0

10

Critical

VectorAV:N/AC:L/Au:N/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions Django versions 1.11.x through 1.11.22 Django versions 2.1.x through 2.1.10 Django versions 2.2.x through 2.2.3
Description The issue is related to an error in shallow key transformation, affecting key and index lookups for django.contrib.postgres.fields.JSONField and key lookups for django.contrib.postgres.fields.HStoreField. This could lead to SQL injection, potentially allowing a remote attacker to compromise data integrity, gain unauthorized access to protected information, and cause a denial of service. For example, an attacker could exploit this 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.
Recommendations For Django versions 1.11.x through 1.11.22, update to version 1.11.23 or later. For Django versions 2.1.x through 2.1.10, update to version 2.1.11 or later. For Django versions 2.2.x through 2.2.3, update to version 2.2.4 or later.

Exploit

Fix

SQL injection

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALSA-2025_16880
ALT-PU-2019-2364
ALT-PU-2019-2365
ALT-PU-2019-2367
BDU:2019-03594
CVE-2019-14234
DSA-4498-1
GHSA-6R97-CJ55-9HRQ
OPENSUSE-SU-2019:1839-1
OPENSUSE-SU-2019:1872-1
OPENSUSE-SU-2019_1839-1
PYSEC-2019-13
RHSA-2020:1324
RHSA-2020:4390
SUSE-SU-2019:2180-1
SUSE-SU-2019:2257-1
SUSE-SU-2019:2335-1
USN-4084-1

Affected Products

Alt Linux
Django
Suse
Ubuntu