SQL Injection Affecting py3-django package, versions <1.11.23-r0
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-ALPINE320-PY3DJANGO-7013809
- published 23 May 2024
- disclosed 9 Aug 2019
Introduced: 9 Aug 2019
CVE-2019-14234 Open this link in a new tabHow to fix?
Upgrade Alpine:3.20
py3-django
to version 1.11.23-r0 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream py3-django
package and not the py3-django
package as distributed by Alpine
.
See How to fix?
for Alpine:3.20
relevant fixed versions and status.
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.
References
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-14234
- https://seclists.org/bugtraq/2019/Aug/15
- https://www.djangoproject.com/weblog/2019/aug/01/security-releases/
- https://www.debian.org/security/2019/dsa-4498
- https://security-tracker.debian.org/tracker/CVE-2019-14234
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/STVX7X7IDWAH5SKE6MBMY3TEI6ZODBTK/
- https://security.gentoo.org/glsa/202004-17
- https://groups.google.com/forum/#!topic/django-announce/jIoju2-KLDs
- https://docs.djangoproject.com/en/dev/releases/security/
- https://security.netapp.com/advisory/ntap-20190828-0002/
- http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00025.html
- http://people.ubuntu.com/~ubuntu-security/cve/CVE-2019-14234
- https://groups.google.com/forum/#%21topic/django-announce/jIoju2-KLDs
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/STVX7X7IDWAH5SKE6MBMY3TEI6ZODBTK/