PYSEC-2019-13
Vulnerability from pysec - Published: 2019-08-09 13:15 - Updated: 2019-08-28 13:15
VLAI?
Details
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.
Impacted products
| Name | purl | django | pkg:pypi/django |
|---|
Aliases
{
"affected": [
{
"package": {
"ecosystem": "PyPI",
"name": "django",
"purl": "pkg:pypi/django"
},
"ranges": [
{
"events": [
{
"introduced": "2.1"
},
{
"fixed": "2.1.11"
},
{
"introduced": "1.11"
},
{
"fixed": "1.11.23"
},
{
"introduced": "2.2"
},
{
"fixed": "2.2.4"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.11",
"1.11.1",
"1.11.2",
"1.11.3",
"1.11.4",
"1.11.5",
"1.11.6",
"1.11.7",
"1.11.8",
"1.11.9",
"1.11.10",
"1.11.11",
"1.11.12",
"1.11.13",
"1.11.14",
"1.11.15",
"1.11.16",
"1.11.17",
"1.11.18",
"1.11.20",
"1.11.21",
"1.11.22",
"2.1",
"2.1.1",
"2.1.2",
"2.1.3",
"2.1.4",
"2.1.5",
"2.1.7",
"2.1.8",
"2.1.9",
"2.1.10",
"2.2",
"2.2.1",
"2.2.2",
"2.2.3"
]
}
],
"aliases": [
"CVE-2019-14234",
"GHSA-6r97-cj55-9hrq"
],
"details": "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.",
"id": "PYSEC-2019-13",
"modified": "2019-08-28T13:15:00Z",
"published": "2019-08-09T13:15:00Z",
"references": [
{
"type": "ARTICLE",
"url": "https://www.djangoproject.com/weblog/2019/aug/01/security-releases/"
},
{
"type": "WEB",
"url": "https://docs.djangoproject.com/en/dev/releases/security/"
},
{
"type": "WEB",
"url": "https://groups.google.com/forum/#!topic/django-announce/jIoju2-KLDs"
},
{
"type": "WEB",
"url": "https://seclists.org/bugtraq/2019/Aug/15"
},
{
"type": "ADVISORY",
"url": "https://www.debian.org/security/2019/dsa-4498"
},
{
"type": "WEB",
"url": "http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00025.html"
},
{
"type": "WEB",
"url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/STVX7X7IDWAH5SKE6MBMY3TEI6ZODBTK/"
},
{
"type": "ADVISORY",
"url": "https://security.netapp.com/advisory/ntap-20190828-0002/"
},
{
"type": "ADVISORY",
"url": "https://security.gentoo.org/glsa/202004-17"
},
{
"type": "ADVISORY",
"url": "https://github.com/advisories/GHSA-6r97-cj55-9hrq"
}
]
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…