Rack: Multipart parser searches the load path for every unknown part `charset`, allowing denial of service via CPU exhaustion
影響
| パッケージ | 影響する版 | 修正版 |
|---|---|---|
| rubygems:rack | >= 3.0.0, < 3.1.24 | 3.1.24 |
| rubygems:rack | >= 3.2.0, < 3.2.9 | 3.2.9 |
Rack::Multipart::Parser#tag_multipart_encoding calls Encoding.find once for every charset parameter in the Content-Type header of a multipart part. When the name is not a known encoding, Ruby's Encoding.find attempts to load an encoding library of that name, which searches every directory on $LOAD_PATH before failing. Rack rescues the resulting ArgumentError and falls back to binary, does not remember the failure, and does not limit the number of charset parameters a part may carry. An attacker…
重大な脆弱性・障害の速報を X で受け取る悪用・大規模な漏洩・障害を、対処法と一緒に。
@vulnpulse_app をフォロー2026/12/04 08:55、GitHub Advisory Databaseが「Rack: Multipart parser searches the load path for every unknown part `charset`, allowing denial of service via CPU exhaustion」を公開しました (種別: 脆弱性アドバイザリ)。重大度は「重要」(high) です。関連する技術: Ruby。CVE: CVE-2026-142592。