Security mailing lists by PureSourceCode

CVE-2019-14234

CRITICAL 9.8CVSS 3.0

SQL Injection in Django

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.

Published
9 Aug 2019
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-89
Also known as
GHSA-6r97-cj55-9hrqPYSEC-2019-13
Sources
NVDJSONOSV GHSA-6r97-cj55-9hrqJSONOSV PYSEC-2019-13JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
NVD nvd@nist.gov (Primary) CVSS 3.0 CRITICAL 9.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.0 CRITICAL 9.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 HIGH 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD djangoproject django
cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*
>= 1.11, < 1.11.23 1.11.23
NVD djangoproject django
cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*
>= 2.1, < 2.1.11 2.1.11
NVD djangoproject django
cpe:2.3:a:djangoproject:django:*:*:*:*:*:*:*:*
>= 2.2, < 2.2.4 2.2.4
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:30:*:*:*:*:*:*:*
= 30
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
= 9.0
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
= 10.0
OSV PyPI django >= 1.11a1, < 1.11.23 1.11.23
OSV PyPI django >= 2.1a1, < 2.1.11 2.1.11
OSV PyPI django >= 2.2a1, < 2.2.4 2.2.4
OSV PyPI django >= 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

History

  • 25 Nov 2026 20:22 UTC · NVD: first stored (published 9 Aug 2019)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 9 Aug 2019)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 16 Aug 2019)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.