CVE-2022-21680
Inefficient Regular Expression Complexity in marked
7.5
HIGH
CVSS 3.1
EPSS 2.8%
描述
Marked is a markdown parser and compiler. Prior to version 4.0.10, the regular expression `block.def` may cause catastrophic backtracking against some strings and lead to a regular expression denial of service (ReDoS). Anyone who runs untrusted markdown through a vulnerable version of marked and does not use a worker with a time limit may be affected. This issue is patched in version 4.0.10. As a workaround, avoid running untrusted markdown through marked or run marked on a worker thread and set a reasonable time limit to prevent draining resources.
如何修補 CVE-2022-21680
要修補 CVE-2022-21680,請將受影響套件升級到下列已修補版本。
- —未列出修補版本
- —升級至 4.0.10 或更新版本
CVE-2022-21680 正在被利用嗎?
低 — EPSS 為 2.8%,目前沒有觀察到大規模利用活動。
受影響套件(2)
- from 0
- from 0, < 4.0.10
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |