CVE-2020-28493
Regular Expression Denial of Service (ReDoS) in Jinja2
5.3
MEDIUM
CVSS 3.1
EPSS 3.5%
描述
This affects the package jinja2 from 0.0.0 and before 2.11.3. The ReDoS vulnerability is mainly due to the `_punctuation_re regex` operator and its use of multiple wildcards. The last wildcard is the most exploitable as it searches for trailing punctuation. This issue can be mitigated by Markdown to format user content instead of the urlize filter, or by implementing request timeouts and limiting process memory.
如何修補 CVE-2020-28493
要修補 CVE-2020-28493,請將受影響套件升級到下列已修補版本。
- —升級至 1.11.3-r0 或更新版本
- —升級至 2.11.3-1 或更新版本
- —升級至 2.11.3 或更新版本
- —升級至 2.11.3 或更新版本
CVE-2020-28493 正在被利用嗎?
低 — EPSS 為 3.5%,目前沒有觀察到大規模利用活動。
受影響套件(4)
- from 0, < 1.11.3-r0
- from 0, < 2.11.3-1
- from 0, < 2.11.3
- from 0, < 2.11.3
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | MEDIUM5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |