Skip to main content
← All vulnerabilities
CVE-2019-14234GHSA-6R97-CJ55-9HRQPYSEC-2019-13

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.

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.11.23, 2.1.11, 2.2.4
1 proof of concept on GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated
  3. EPSS reached 10%

    FIRST estimates at least a 10% chance of exploitation in the next 30 days

Affected versions

  • n/a n/a

    Version range not reported

  • djangoPyPI

    From 1.11a1 · fixed in 1.11.23

  • djangoPyPI

    From 2.1a1 · fixed in 2.1.11

  • djangoPyPI

    From 2.2a1 · fixed in 2.2.4

  • djangoPyPI

    From 2.1 · fixed in 2.1.11; From 1.11 · fixed in 1.11.23; From 2.2 · fixed in 2.2.4

References 10

docs.djangoproject.com

groups.google.com

djangoproject.com

seclists.org

debian.org

lists.opensuse.org

lists.fedoraproject.org

security.netapp.com

security.gentoo.org

GitHub · malvika-thakur/CVE-2019-14234