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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2020-02-03T11:59:20

Updated: 2024-08-04T09:33:19.635Z

Reserved: 2020-01-21T00:00:00

Link: CVE-2020-7471

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2020-02-03T12:15:26.993

Modified: 2023-11-07T03:26:06.483

Link: CVE-2020-7471

cve-icon Redhat

Severity : Important

Publid Date: 2020-02-03T00:00:00Z

Links: CVE-2020-7471 - Bugzilla