CWE Code: 89
Vulnerability Type: sql_injection
CVSS Score: 7.5
CWE Name:  Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
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.
Access Authentication: NONE
Access Complexity: LOW
Access Vector: NETWORK
Impact (C/I/A): PARTIAL/PARTIAL/PARTIAL
Published Date: 2019-08-09
Last Modified Date: 2019-08-28
You are a cybersecurity expert assistant. Provide detailed information about vulnerabilities in a clear and structured format.
system
Please provide details about this vulnerability:  Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection').
user
CWE Code: 89
Vulnerability Type: sql_injection
CVSS Score: 7.5
CWE Name:  Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
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.
Access Authentication: NONE
Access Complexity: LOW
Access Vector: NETWORK
Impact (C/I/A): PARTIAL/PARTIAL/PARTIAL
Published Date: 2019-08-09
Last Modified Date: 2019-08-28
assistant