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_app2026/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。