CVE-2019-14234

Aliases:GHSA-6r97-cj55-9hrqPYSEC-2019-13
Modified
Published: 09 Aug 2019, 12:16
Last modified:05 Aug 2024, 00:12

Vulnerability Summary

Overall Risk (default)
high
70/100
CVSS Score
9.8 CRITICAL
v3.0 (nvd)
EPSS Score
29.72% HIGH
30% probability +10.61%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

09 Aug 2019, 12:16
Published
Vulnerability first disclosed
05 Aug 2024, 00:12
Last Modified
Vulnerability information updated

Description

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.

CVSS Metrics

  • v4.0CRITICALScore: 9.3CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
  • v3.0CRITICALScore: 9.8CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • v2.0HIGHScore: 7.5AV:N/AC:L/Au:N/C:P/I:P/A:P

EPSS Trends

Current EPSS score: 29.72% Percentile: 97%

Techniques & Countermeasures

  • CWE-89Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

    The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.

Affected Systems

  • debiandebian_linux

    9.0 | 10.0

  • djangoprojectdjango

    ≥ 1.11, < 1.11.23 | ≥ 2.1, < 2.1.11 | ≥ 2.2, < 2.2.4

  • fedoraprojectfedora

    30

  • PyPIdjango

    ≥ 1.11a1, < 1.11.23 | ≥ 2.1a1, < 2.1.11 | ≥ 2.2a1, < 2.2.4 | ≥ 2.2, < 2.2.4

References (22)