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 trend (30 days)EPSS over the last 30 days for CVE-2020-7471: held from 0.656 to 0.656.

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

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.