CVE-2021-33203
python-django - security update
4.9
MEDIUM
CVSS 3.1
EPSS 2.7%
描述
Django before 2.2.24, 3.x before 3.1.12, and 3.2.x before 3.2.4 has a potential directory traversal via django.contrib.admindocs. Staff members could use the TemplateDetailView view to check the existence of arbitrary files. Additionally, if (and only if) the default admindocs templates have been customized by application developers to also show file contents, then not only the existence but also the file contents would have been exposed. In other words, there is directory traversal outside of the template root directories.
如何修補 CVE-2021-33203
要修補 CVE-2021-33203,請將受影響套件升級到下列已修補版本。
- —升級至 2.2.24 或更新版本
- —升級至 2:2.2.24-1 或更新版本
- —升級至 1:1.10.7-2+deb9u14 或更新版本
- —升級至 2.2.24 或更新版本
- —升級至 2.2.24 或更新版本
CVE-2021-33203 正在被利用嗎?
低 — EPSS 為 2.7%,目前沒有觀察到大規模利用活動。
受影響套件(5)
- from 0, < 2.2.24, >= 3.0.0, < 3.1.12, >= 3.2.0, < 3.2.4
- from 0, < 2:2.2.24-1
- from 0, < 1:1.10.7-2+deb9u14
- from 0, < 2.2.24
- from 0, < 2.2.24, >= 3.0, < 3.1.12, >= 3.2, < 3.2.4
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | MEDIUM4.9 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N |