Rackのマルチパート解析に、メモリを使い果たされる脆弱性
Summary
Rackのマルチパート解析で、認証なしの攻撃者がリクエストを細工するとメモリを使い果たさせられる脆弱性が見つかりました。影響するのは2.2.25未満、3.1.23未満、3.2.8未満の版で、2.2.25、3.1.23、3.2.8で修正されています。Rackを使うアプリケーションは、修正版への更新を優先してください。
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.
Rackのマルチパート解析で、認証なしの攻撃者がリクエストを細工するとメモリを使い果たさせられる脆弱性が見つかりました。影響するのは2.2.25未満、3.1.23未満、3.2.8未満の版で、2.2.25、3.1.23、3.2.8で修正されています。Rackを使うアプリケーションは、修正版への更新を優先してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| rackrack | — | Not listed |
| rubygemsrack |
≥ 3.2.0, < 3.2.8→ 3.2.8 |
3.2.8 |
Fix status by distribution
Records published by each distribution for this CVE. Fixed versions differ by release; check each link.
- Debian DEBIAN-CVE-2026-125111 ruby-rack Fix available
- Ubuntu UBUNTU-CVE-2026-125111 ruby-rack No fixed version in this record
Original description The description as published by the source.
Rack is a modular Ruby web server interface. Prior to 2.2.25, 3.1.23, and 3.2.8, Rack::Multipart::Parser can retain parsed data in its internal StringScanner buffer when reads end inside or immediately after multipart headers. An unauthenticated attacker can align many small parts with rack.multipart.buffer_size boundaries so the buffer grows with the request despite per-field, header, and preamble limits, causing a worker to exhaust memory. The attack requires only a well-formed multipart body and affects applications that parse multipart requests. This issue is fixed in versions 2.2.25, 3.1.23, and 3.2.8.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- patch github.com
- patch github.com
- web github.com
- web github.com