mistune 3.3.0未満 不均衡な角かっこ処理でCPUを使い切られるDoS
概要
mistune 3.0.0以上3.3.0未満のインラインリンク解析処理に計算量の問題があり、認証なしの攻撃者が角かっこの不均衡なMarkdownを送ることでCPUを使い果たし、処理が数分間止まるおそれがあります。修正版として3.3.0が公開されているため、3.3.0以上へ更新してください。
AI要約
外部の AI が作成した要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。
mistune 3.0.0以上3.3.0未満のインラインリンク解析処理に計算量の問題があり、認証なしの攻撃者が角かっこの不均衡なMarkdownを送ることでCPUを使い果たし、処理が数分間止まるおそれがあります。修正版として3.3.0が公開されているため、3.3.0以上へ更新してください。
影響パッケージ
| 種類 | パッケージ | 影響を受ける版 | 直った版 |
|---|---|---|---|
| lepture | mistune |
3.0.0 以上 3.3.0 未満 |
3.3.0 |
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
Mistune from 3.0.0 before 3.3.0 contains an algorithmic complexity vulnerability in the inline link parser's parse_link_text function that allows unauthenticated attackers to exhaust CPU with unbalanced brackets. Attackers can submit Markdown containing many unbalanced '[' or '![' characters, forcing repeated unbounded forward scans and tying up worker processes for minutes.
出典: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
参照URL
- web github.com
- web vulncheck.com
- web nvd.nist.gov
- web github.com