CVE-2020-7471
Last modified
CVE-2020-7471 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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.. EPSS estimates a 65.34% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Djangoproject | Django | >= 1.11, < 1.11.28 |
| Djangoproject | Django | >= 2.2, < 2.2.10 |
| Djangoproject | Django | >= 3.0, < 3.0.3 |
References
- http://www.openwall.com/lists/oss-security/2020/02/03/1Mailing List, Third Party Advisory
- https://docs.djangoproject.com/en/3.0/releases/security/Vendor Advisory
- https://github.com/django/django/commit/eb31d845323618d688ad429479c6dda973056136Patch, Third Party Advisory
- https://www.openwall.com/lists/oss-security/2020/02/03/1Mailing List, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2020/02/03/1Mailing List, Third Party Advisory
- https://docs.djangoproject.com/en/3.0/releases/security/Vendor Advisory
- https://github.com/django/django/commit/eb31d845323618d688ad429479c6dda973056136Patch, Third Party Advisory
- https://www.openwall.com/lists/oss-security/2020/02/03/1Mailing List, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2020-7471?
How severe is CVE-2020-7471?
How do I fix CVE-2020-7471?
Are you affected by CVE-2020-7471?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
