logo

CVE-2019-14234 django

Package

Manager: pip
Name: django
Vulnerable Version: >=1.11a1 <1.11.23 || >=2.1a1 <2.1.11 || >=2.2a1 <2.2.4

Severity

Level: Critical

CVSS v3.1: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CVSS v4.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

EPSS: 0.20695 pctl0.95376

Details

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.

Metadata

Created: 2019-08-16T14:00:34Z
Modified: 2024-09-20T16:08:23Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/08/GHSA-6r97-cj55-9hrq/GHSA-6r97-cj55-9hrq.json
CWE IDs: ["CWE-89"]
Alternative ID: GHSA-6r97-cj55-9hrq
Finding: F297
Auto approve: 1