CVE-2020-7471

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.

Risk Information

Base Score
9.8
MODERATE
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS Score
Exploitation Probability
7.771

Associated Vulnerability

VulnerabilityOS Platform
Vulnerabilities CVE-2020-7471 are fixed in Python-django 1.11.28Windows
Vulnerabilities CVE-2020-7471 are fixed in Python-django 2.2.10Windows
Vulnerabilities CVE-2020-7471 are fixed in Python-django 3.0.3Windows
High-level Python web development framework (USN-4264-1) python-django_1.11.22-1ubuntu1.2_all.debLinux
python-django security update(DSA-4629-1) python-django_1.10.7-2+deb9u8_all.debLinux
python-django security update(DSA-4629-1) python-django_1.11.28-1~deb10u1_all.debLinux
Vulnerabilities CVE-2020-7471 are fixed in Python-django for linux 1.11.28Linux
Vulnerabilities CVE-2020-7471 are fixed in Python-django for linux 2.2.10Linux
Vulnerabilities CVE-2020-7471 are fixed in Python-django for linux 3.0.3Linux

Patch Details

No records found

References

https://nvd.nist.gov/vuln/detail/CVE-2023-1234
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1234