Swooleの HTTP/2 処理にメモリリークの脆弱性、攻撃でサーバーのワーカーが停止するおそれ
Summary
Swooleの HTTP/2 ヘッダー処理で、繰り返し送られた:path疑似ヘッダーの値が解放されず、リクエストごとに数メガバイト単位でメモリが消費されます。認証なしの遠隔からの攻撃でサーバーのワーカーが停止するおそれがあり、CVSS v4では8.7です。6.1.14より前の6.1系と、6.2.7より前の6.2系が対象で、修正版の6.1.14と6.2.7で修正できます。
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.
Swooleの HTTP/2 ヘッダー処理で、繰り返し送られた:path疑似ヘッダーの値が解放されず、リクエストごとに数メガバイト単位でメモリが消費されます。認証なしの遠隔からの攻撃でサーバーのワーカーが停止するおそれがあり、CVSS v4では8.7です。6.1.14より前の6.1系と、6.2.7より前の6.2系が対象で、修正版の6.1.14と6.2.7で修正できます。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| swooleswoole |
< 6.1.14→ 6.1.14 ≥ 6.2.0, < 6.2.7→ 6.2.7 |
6.1.14 6.2.7 |
Original description The description as published by the source.
Swoole before 6.1.14 and 6.2.x before 6.2.7 contains a memory leak in the HTTP/2 header callback that copies each repeated :path pseudo-header without freeing the earlier value. Remote unauthenticated attackers can send HEADERS frames repeating :path via HPACK dynamic-table references to leak megabytes per request and terminate server workers.
Source: CVE.org (CVE Program・cvelistV5) NVD