Vulnerability advisory
BIT-django-2020-7471
Also known as CVE-2020-7471GHSA-hmr4-m2h5-33qxPYSEC-2020-35
Severity
Severity not reported.
Affected versions
django Bitnami
| Affected | Fixed in |
|---|---|
1.11.0 to before 1.11.28 | 1.11.28 |
2.2.0 to before 2.2.10 | 2.2.10 |
3.0.0 to before 3.0.3 | 3.0.3 |
Severity for this package
| |
Description
Django 1.11 before 1.11.28, 2.2 before 2.2.10, and 3.0 before 3.0.3 allows SQL Injection if untrusted data is used as a StringAgg delimiter (e.g., in Django applications that offer downloads of data as a series of rows with a user-specified column delimiter). By passing a suitably crafted delimiter to a contrib.postgres.aggregates.StringAgg instance, it was possible to break escaping and inject malicious SQL.
References
- Advisorywww.openwall.com/lists/oss-security/2020/02/03/1 ↗
- Advisorydocs.djangoproject.com/en/3.0/releases/security/ ↗
- Advisorygithub.com/django/django/commit/eb31d845323618d688ad429479c6dda973056136 ↗
- Webgroups.google.com/forum/#%21topic/django-announce/X45S86X5bZI ↗
- Weblists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4A2AP4T7RKPBCLTI2NNQG3T6MINDUUMZ/ ↗
- Webseclists.org/bugtraq/2020/Feb/30 ↗
- Websecurity.gentoo.org/glsa/202004-17 ↗
- Websecurity.netapp.com/advisory/ntap-20200221-0006/ ↗
- Webusn.ubuntu.com/4264-1/ ↗
- Webwww.debian.org/security/2020/dsa-4629 ↗
- Advisorywww.djangoproject.com/weblog/2020/feb/03/security-releases/ ↗
- Advisorywww.openwall.com/lists/oss-security/2020/02/03/1 ↗
- Webnvd.nist.gov/vuln/detail/CVE-2020-7471 ↗