cve.bz

CVE-2019-14234

9.8 criticalEPSS 48%

Critical (9.8). EPSS 48% chance of exploitation in the next 30 days. Fixed in django 1.11.23, 2.1.11, 2.2.4.

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.

Severity

CVSS 3.0

9.8 critical
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
48% chance of exploitation in the next 30 days; higher than 98% of CVEs (scores of 2026-10-31)
CWE
CWE-89
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-6r97-cj55-9hrqPyPIdjango>=1.11a1 <1.11.231.11.23
GHSA-6r97-cj55-9hrqPyPIdjango>=2.1a1 <2.1.112.1.11
GHSA-6r97-cj55-9hrqPyPIdjango>=2.2a1 <2.2.42.2.4
PYSEC-2019-13PyPIdjango>=2.1 <2.1.11
>=1.11 <1.11.23
>=2.2 <2.2.4
2.1.11, 1.11.23, 2.2.4

References

Check your stackJSON