CVE-2020-7471
python-django - security update
9.8
CRITICAL
CVSS 3.1
EPSS 65.3%
描述
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.
如何修補 CVE-2020-7471
要修補 CVE-2020-7471,請將受影響套件升級到下列已修補版本。
- —升級至 1.11.28-r0 或更新版本
- —升級至 1.11.28-r0 或更新版本
- —升級至 1.11.28 或更新版本
- —升級至 2:2.2.10-1 或更新版本
- —升級至 1:1.10.7-2+deb9u8 或更新版本
- —升級至 1.11.28 或更新版本
- —升級至 eb31d845323618d688ad429479c6dda973056136 或更新版本
CVE-2020-7471 正在被利用嗎?
可能 — EPSS 為 65.3%,屬於高被利用機率區間,建議優先修補。
受影響套件(7)
- from 0, < 1.11.28-r0
- from 0, < 1.11.28-r0
- >= 1.11.0, < 1.11.28, >= 2.2.0, < 2.2.10, >= 3.0.0, < 3.0.3
- from 0, < 2:2.2.10-1
- from 0, < 1:1.10.7-2+deb9u8
- from 0, < 1.11.28
- from 0, < eb31d845323618d688ad429479c6dda973056136 | >= 1.11, < 1.11.28, >= 2.2, < 2.2.10, >= 3.0, < 3.0.3
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |