SQL Injection in Djangoproject Django
CVE-2020-7471
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.
Vulnerability class: SQL Injection
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.656 (99.3th percentile), scored .
High probability of exploitation in the next 30 days — patch promptly. 99th percentile — 99.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.656 · newest: 0.656 · change: 0.000
Affected products
Weakness classification (CWE)
Public proof-of-concept exploits
References
- groups.google.com/forum/
- docs.djangoproject.com/en/3.0/releases/security/ (Vendor Advisory)
- www.openwall.com/lists/oss-security/2020/02/03/1 (Mailing List, Third Party Advisory)
- www.djangoproject.com/weblog/2020/feb/03/security-releases/ (Vendor Advisory)
- www.openwall.com/lists/oss-security/2020/02/03/1 (mailing-list, Mailing List, Third Party Advisory)
- github.com/django/django/commit/eb31d845323618d688ad429479c6dda973056136 (Patch, Third Party Advisory)
- usn.ubuntu.com/4264-1/ (vendor-advisory)
- seclists.org/bugtraq/2020/Feb/30 (mailing-list)
- www.debian.org/security/2020/dsa-4629 (vendor-advisory)
- security.netapp.com/advisory/ntap-20200221-0006/
Frequently asked questions
- What is CVE-2020-7471?
- CVE-2020-7471 is a critical-severity vulnerability in Djangoproject Django, classified under SQL Injection. CVSS score: 9.8/10. Published 2020-02-03.
- How severe is CVE-2020-7471?
- Critical severity. CVSS v3 base score is 9.8 out of 10.
- Is CVE-2020-7471 known to be exploited?
- 60 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.