← 漏洞与更新

高危漏洞公告Ruby

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.243.1.24
rubygems:rack>= 3.2.0, < 3.2.93.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…

在 GitHub Advisory Database 阅读

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。