Rackのマルチパート解析で、細工したリクエストによりサービス拒否の脆弱性
概要
Rackのマルチパート解析処理に、細工したリクエストでCPUを使い切らせ、サービス拒否に陥らせる脆弱性が見つかりました。影響するのは3.0.0から3.1.24未満、3.2.0から3.2.9未満のRackです。修正版の3.1.24と3.2.9が公開されているため、該当するバージョンを使っている場合は修正版への更新を進めてください。
AI要約
SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。
Rackのマルチパート解析処理に、細工したリクエストでCPUを使い切らせ、サービス拒否に陥らせる脆弱性が見つかりました。影響するのは3.0.0から3.1.24未満、3.2.0から3.2.9未満のRackです。修正版の3.1.24と3.2.9が公開されているため、該当するバージョンを使っている場合は修正版への更新を進めてください。
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
Rack is a modular Ruby web server interface. From 3.0.0 until 3.1.24 and 3.2.9, Rack::Multipart::Parser#tag_multipart_encoding calls Encoding.find for every charset parameter in a multipart part's Content-Type header without first checking Encoding.name_list. For an unknown name, Ruby searches each directory on $LOAD_PATH for an encoding library before raising ArgumentError, and Rack catches the exception without caching the failure or limiting repeated charset parameters. An unauthenticated attacker can send thousands of unknown charset parameters in a relatively small multipart request, occupying a worker thread for tens of seconds or longer, with cost increasing as the application's load path grows. Rack 2.2 is not affected by this denial of service because the first unknown charset aborts parsing. This issue is fixed in versions 3.1.24 and 3.2.9.
出典: CVE.org (CVE Program・cvelistV5) NVD
参照URL
- web github.com
- web github.com
- web github.com
- web github.com
- web github.com