CVE-2020-7471
- State
- Published
- Severity
- Not scored
- Published
- Feb 3, 2020
- Updated
- Aug 4, 2024
- Reserved
- Jan 21, 2020
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.
Scores
The record has no CVSS score.
Weaknesses
The record names no weakness.
Affected Products
| Product | Versions |
|---|---|
n/an/a |
|
References
- https://groups.google.com/forum/#%21topic/django-announce/X45S86X5bZI
- https://docs.djangoproject.com/en/3.0/releases/security/
- https://www.openwall.com/lists/oss-security/2020/02/03/1
- https://www.djangoproject.com/weblog/2020/feb/03/security-releases/
- [oss-security] 20200203 Django 3.0.3, 2.2.10 and 1.11.28: CVE-2020-7471: Potential SQL injection via ``StringAgg(delimiter)``mailing-list
- https://github.com/django/django/commit/eb31d845323618d688ad429479c6dda973056136
- USN-4264-1vendor-advisory
- 20200219 [SECURITY] [DSA 4629-1] python-django security updatemailing-list
- DSA-4629vendor-advisory
- https://security.netapp.com/advisory/ntap-20200221-0006/
- GLSA-202004-17vendor-advisory
- FEDORA-2020-c2639662afvendor-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.