CVE-2020-7471

Summary

CVECVE-2020-7471
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2020-02-03 12:15:00 UTC
Updated2023-11-07 03:26:00 UTC
DescriptionDjango 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.

Risk And Classification

Problem Types: CWE-89

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Djangoproject Django All All All All
Application Djangoproject Django All All All All

References

ReferenceSourceLinkTags
oss-security - Django 3.0.3, 2.2.10 and 1.11.28: CVE-2020-7471: Potential SQL injection via ``StringAgg(delimiter)`` MLIST www.openwall.com Mailing List, Third Party Advisory
[SECURITY] Fedora 32 Update: python-django-3.0.7-1.fc32 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
[SECURITY] Fedora 32 Update: python-django-3.0.7-1.fc32 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
USN-4264-1: Django vulnerability | Ubuntu security notices | Ubuntu UBUNTU usn.ubuntu.com
Google Groups groups.google.com
Django security releases issued: 3.0.3, 2.2.10, and 1.11.28 | Weblog | Django CONFIRM www.djangoproject.com Vendor Advisory
Fixed CVE-2020-7471 -- Properly escaped StringAgg(delimiter) parameter. · django/django@eb31d84 · GitHub CONFIRM github.com Patch, Third Party Advisory
Django: Multiple vulnerabilities (GLSA 202004-17) — Gentoo security GENTOO security.gentoo.org
CVE-2020-7471 Django Vulnerability in NetApp Products | NetApp Product Security CONFIRM security.netapp.com
Archive of security issues | Django documentation | Django CONFIRM docs.djangoproject.com Vendor Advisory
Bugtraq: [SECURITY] [DSA 4629-1] python-django security update BUGTRAQ seclists.org
Google Groups CONFIRM groups.google.com Mailing List, Third Party Advisory
Debian -- Security Information -- DSA-4629-1 python-django DEBIAN www.debian.org
oss-security - Django 3.0.3, 2.2.10 and 1.11.28: CVE-2020-7471: Potential SQL injection via ``StringAgg(delimiter)`` CONFIRM www.openwall.com Mailing List, Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 296075 Oracle Solaris 11.4 Support Repository Update (SRU) 21.69.0 Missing (CPUAPR2020)
  • 500577 Alpine Linux Security Update for py3-django
  • 505293 Alpine Linux Security Update for py3-django
  • 981594 Python (pip) Security Update for django (GHSA-hmr4-m2h5-33qx)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report