Python-Markdownに遠隔からサービスを止められる脆弱性
Summary
Python-Markdownの3.0から3.11.2までには、リンクの括弧の解析に計算量の多い処理があり、遠隔から短い文章を送るだけでCPUを使い切らせる脆弱性(CVE-2019-25781)が見つかりました。影響を受けるのはMarkdownパッケージの3.0から3.11.2までです。修正版の情報は、確認できた範囲では公表されていないため、最新の情報を確認してください。
AI summary
Written by an external AI model and may contain mistakes. Check the original description and references below before acting on it.
Python-Markdownの3.0から3.11.2までには、リンクの括弧の解析に計算量の多い処理があり、遠隔から短い文章を送るだけでCPUを使い切らせる脆弱性(CVE-2019-25781)が見つかりました。影響を受けるのはMarkdownパッケージの3.0から3.11.2までです。修正版の情報は、確認できた範囲では公表されていないため、最新の情報を確認してください。
Affected packages
| Ecosystem | Package | Affected | Fixed |
|---|---|---|---|
| Python-Markdown | Markdown |
3.0 – 3.11.2 |
— |
Original description The description as published by the source.
Python-Markdown 3.0 through 3.11.2 contains an algorithmic complexity vulnerability in inline link parsing that allows remote attackers to exhaust CPU through unmatched brackets. Attackers can submit short Markdown containing repeated [ or ![ characters, forcing LinkInlineProcessor.getText() and getLink() into quadratic scans that keep workers busy for minutes.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory