markdown-it 是一个 Markdown 解析器。在 14.3.2 和 15.0.2 版本之前,当启用 选项时,精心构造的 Markdown 内容会导致 smartquotes 规则出现二次方(O(n²))的处理时间,从而可能在处理不可信输入的应用中引发拒绝服务(DoS)攻击。具体表现为:大量未匹配的左双引号后紧跟右单引号,会触发对整个“开启引号栈”的重复扫描;若引号类型互换(即大量左单引号后接未匹配的右双引号),也会出现相同问题。默认配置( )不受此漏洞影响,但该选项在实际使用中被启用的概率很高。该问题已
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| markdown-it | markdown-it | >= 15.0.0, < 15.0.2 |
affected |
< 14.3.2 |
affected |
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
| Vendor | Product | Affected Versions | CPE | Subscribe |
|---|---|---|---|---|
| markdown-it | markdown-it | >= 15.0.0, < 15.0.2 | - |
|
| # | POC Description | Source Link | Shenlong Link |
|---|
No public POC found.
Login to generate AI POCNo comments yet