HtmlSanitizerに細工されたstyle属性でサービス妨害を受ける脆弱性
Summary
HtmlSanitizerでCSSのスタイル宣言を処理する際に処理負荷が急増する脆弱性で、細工された1件のリクエストでも、同期処理のワーカーが数秒占有されます。公開された最新の情報では、9.0.967および9.1.968-betaで修正されています。古い版を使っている場合は、修正版への更新を優先してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
HtmlSanitizerでCSSのスタイル宣言を処理する際に処理負荷が急増する脆弱性で、細工された1件のリクエストでも、同期処理のワーカーが数秒占有されます。公開された最新の情報では、9.0.967および9.1.968-betaで修正されています。古い版を使っている場合は、修正版への更新を優先してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| mganssHtmlSanitizer | — | Not listed |
| NuGetHtmlSanitizer |
< 9.1.968-beta→ 9.1.968-beta |
9.1.968-beta |
Original description The description as published by the source.
Impact
An unauthenticated request can occupy one synchronous application worker for seconds. Concurrent requests add CPU cost and can keep all workers busy, sustaining denial of service without user interaction.
Patches
The issue has been patched in versions 9.0.967 and 9.1.968-beta.
Workarounds
Disallow the style attribute.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- package github.com
- web github.com
- web github.com
- web github.com
- web nvd.nist.gov
- web github.com