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
02 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
03 Exploitation and scoring
- Exploitation
- Not assessed. CISA has not published an exploitation assessment for this record, and it is not in the KEV catalog. That is an absence of assessment, not a finding of no risk.
- SSVC decision
- Not assessed by CISA
- EPSS probability
- 65.57% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 99.2% of scored records. A rank, not a probability.
- NVD base score
- 9.8 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- NVD analysis status
- Modified. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Important. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2020-02-03 11:59Z6 YR AGO
- Last updated
- 2024-08-04 09:33Z2 YR AGO
- Reserved
- 2020-01-21
- Assigning CNA
- mitre
- Record state
- PUBLISHED
- Severity
- Not rated by the issuing CNA
- CNA CVSS vector
- Not published by the issuing CNA
- Weaknesses
- CWE-89Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')Base
- Data version
- 5.1
- Document digest
- 537bbeda9c872b4486af63047d6459a04852aa1de2f82d9d1e27ce7afdb9debc
05 Affected products
06 References
- groups.google.comhttps://groups.google.com/forum/#%21topic/django-announce/X45S86X5bZI
- docs.djangoproject.comhttps://docs.djangoproject.com/en/3.0/releases/security/
- www.openwall.comhttps://www.openwall.com/lists/oss-security/2020/02/03/1
- www.djangoproject.comhttps://www.djangoproject.com/weblog/2020/feb/03/security-releases/
- www.openwall.com[oss-security] 20200203 Django 3.0.3, 2.2.10 and 1.11.28: CVE-2020-7471: Potential SQL injection via ``StringAgg(delimiter)``http://www.openwall.com/lists/oss-security/2020/02/03/1
- github.comhttps://github.com/django/django/commit/eb31d845323618d688ad429479c6dda973056136
- usn.ubuntu.comUSN-4264-1https://usn.ubuntu.com/4264-1/
- seclists.org20200219 [SECURITY] [DSA 4629-1] python-django security updatehttps://seclists.org/bugtraq/2020/Feb/30
- www.debian.orgDSA-4629https://www.debian.org/security/2020/dsa-4629
- security.netapp.comhttps://security.netapp.com/advisory/ntap-20200221-0006/
- security.gentoo.orgGLSA-202004-17https://security.gentoo.org/glsa/202004-17
- lists.fedoraproject.orgFEDORA-2020-c2639662afhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4A2AP4T7RKPBCLTI2NNQG3T6MINDUUMZ/
07 Fixed in
Arch Linux
- python-django Fixed in 3.0.3-1
Source: Arch Linux Security Tracker, the Arch Linux security team. Reformatted by exploit.cc.
Debian 12
- python-django Fixed in 2:2.2.10-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- python-django Fixed in 2:2.2.10-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- python-django Fixed in 2:2.2.10-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 18.04 LTS
- python-django Fixed in 1:1.11.11-1ubuntu1.7
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.