django
Affected
- introduced
0, fixed1.11.28(ecosystem)
Fixed versions
1.11.28
Fix
- Fixed version
1.11.28pip install --upgrade django==1.11.28
Advisory
Also known as: BIT-django-2020-7471, CVE-2020-7471, PYSEC-2020-35
SQL injection in Django
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.
Critical Basis: The source's own band: CRITICAL
0, fixed 1.11.28 (ecosystem)1.11.28
1.11.28pip install --upgrade django==1.11.282.0, fixed 2.2.10 (ecosystem)2.2.10
2.2.10pip install --upgrade django==2.2.103.0, fixed 3.0.3 (ecosystem)3.0.3
3.0.3pip install --upgrade django==3.0.3Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0