CVE-2023-43665
Django Denial-of-service in django.utils.text.Truncator
5.9
MEDIUM
CVSS 3.1
EPSS 1.2%
描述
In Django 3.2 before 3.2.22, 4.1 before 4.1.12, and 4.2 before 4.2.6, the django.utils.text.Truncator chars() and words() methods (when used with html=True) are subject to a potential DoS (denial of service) attack via certain inputs with very long, potentially malformed HTML text. The chars() and words() methods are used to implement the truncatechars_html and truncatewords_html template filters, which are thus also vulnerable. NOTE: this issue exists because of an incomplete fix for CVE-2019-14232.
如何修補 CVE-2023-43665
要修補 CVE-2023-43665,請將受影響套件升級到下列已修補版本。
- —升級至 3.2.22 或更新版本
- —升級至 2:2.2.28-1~deb11u7 或更新版本
- —升級至 3.2.22 或更新版本
- —升級至 3.2.22 或更新版本
CVE-2023-43665 正在被利用嗎?
低 — EPSS 為 1.2%,目前沒有觀察到大規模利用活動。
受影響套件(4)
- >= 3.2.0, < 3.2.22, >= 4.1.0, < 4.1.12, >= 4.2.0, < 4.2.6
- from 0, < 2:2.2.28-1~deb11u7
- >= 3.2a1, < 3.2.22
- >= 3.2, < 3.2.22, >= 4.1, < 4.1.12, >= 4.2, < 4.2.6
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | MEDIUM5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |