CVE-2018-25110
HIGH7.5EPSS 0.77%Marked allows Regular Expression Denial of Service (ReDoS) attacks
發布日:2025/5/23修改日:2026/4/28
描述
Marked prior to version 0.3.17 is vulnerable to a Regular Expression Denial of Service (ReDoS) attack due to catastrophic backtracking in several regular expressions used for parsing HTML tags and markdown links. An attacker can exploit this vulnerability by providing specially crafted markdown input, such as deeply nested or repetitively structured brackets or tag attributes, which cause the parser to hang and lead to a Denial of Service.
受影響套件(2)
- Debian/node-markedfrom 0, < 0.5.1+dfsg-1
- npm/markedfrom 0, < 0.3.17
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 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
參考連結(7)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2018-25110
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2018-25110
- PATCHhttps://github.com/markedjs/marked
- WEBhttps://github.com/Checkmarx/Vulnerabilities-Proofs-of-Concept/tree/main/2018/CVE-2018-25110
- WEBhttps://github.com/markedjs/marked/commit/20bfc106013ed45713a21672ad4a34df94dcd485
- WEBhttps://github.com/markedjs/marked/issues/1070
- WEBhttps://github.com/markedjs/marked/pull/1083