libexpat 2.9.0以前でXML処理が遅延しサービス停止のおそれ
Summary
libexpat 2.9.0以前には、実体展開の検出が遅れる脆弱性があります。細工されたXMLを処理させると、1回の解析に数十秒のCPUを消費させられ、サービス拒否の状態になるおそれがあります。修正版の有無については最新の情報を確認してください。
AI summary
Written by an external AI model and may contain mistakes. Check the original description and references below before acting on it.
libexpat 2.9.0以前には、実体展開の検出が遅れる脆弱性があります。細工されたXMLを処理させると、1回の解析に数十秒のCPUを消費させられ、サービス拒否の状態になるおそれがあります。修正版の有無については最新の情報を確認してください。
Affected packages
| Ecosystem | Package | Affected | Fixed |
|---|---|---|---|
| libexpat | libexpat |
≤ 2.9.0 |
— |
Original description The description as published by the source.
libexpat through 2.9.0 contains a denial of service vulnerability because billion laughs protection in accountingDiffTolerated() in xmlparse.c detects entity amplification too late. Attackers can supply a moderately sized XML document with a large DTD and nested entity expansions to consume tens of seconds of CPU per parse.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- web github.com
- web github.com
- web github.com
- web github.com
- web vulncheck.com
- web nvd.nist.gov
- web github.com