Back to search
CVE-2020-7471
Published: Feb 3, 2020
Modified: Aug 4, 2024
PUBLISHED
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.
| Vendor | Product | Versions |
|---|---|---|
n/a | n/a | affected n/a |
References
https://groups.google.com/forum/#%21topic/django-announce/X45S86X5bZI
x_refsource_CONFIRM
https://docs.djangoproject.com/en/3.0/releases/security/
x_refsource_CONFIRM
https://www.openwall.com/lists/oss-security/2020/02/03/1
x_refsource_CONFIRM
https://www.djangoproject.com/weblog/2020/feb/03/security-releases/
x_refsource_CONFIRM
USN-4264-1
vendor-advisory
x_refsource_UBUNTU
20200219 [SECURITY] [DSA 4629-1] python-django security update
mailing-list
x_refsource_BUGTRAQ
DSA-4629
vendor-advisory
x_refsource_DEBIAN
https://security.netapp.com/advisory/ntap-20200221-0006/
x_refsource_CONFIRM
GLSA-202004-17
vendor-advisory
x_refsource_GENTOO
FEDORA-2020-c2639662af
vendor-advisory
x_refsource_FEDORA
Security Training
Train your team to recognize and prevent security threats with our comprehensive security awareness program.
Start TrainingVulnerability Scanning
Discover vulnerabilities in your applications and infrastructure before attackers do.
Scan Now