Vulnerability
CVE-2026-34230
Rack is a modular Ruby web server interface. Prior to versions 2.2.23, 3.1.21, and 3.2.6, Rack::Utils.select_best_encoding processes Accept-Encoding values with quadratic time complexity when the header contains many wildcard (*) entries. Because this method is used by Rack::Deflater to choose a response encoding, an unauthenticated attacker can send a single request with a crafted Accept-Encoding header and cause disproportionate CPU consumption on the compression middleware path. This results in a denial of service condition for applications using Rack::Deflater. This issue has been patched in versions 2.2.23, 3.1.21, and 3.2.6.
131 advisories report this vulnerability, across 8 ecosystems.
Advisories in Wolfi
- CGA-297j-2658-7wv2
- CGA-2rxq-vjfm-q93x
- CGA-2wqf-xcj9-c56r
- CGA-4jx7-5hr4-f8hp
- CGA-5pg2-f567-4m24
- CGA-67cc-fg9q-3cf2
- CGA-8wr8-g56v-45jj
- CGA-9cff-qr47-7m94
- CGA-f553-63rv-m745
- CGA-ffqp-h3x5-rhj4
- CGA-fgx6-g6gq-287g
- CGA-g4vp-j4rr-jw7h
- CGA-h52h-f658-j29v
- CGA-hqq2-rm26-8vqg
- CGA-jg58-ffc2-gjjx
- CGA-p844-vgmq-m53q
- CGA-px9w-6jr6-8g7q
- CGA-q9vh-h7fm-8hgx
- CGA-qx48-v2px-fxmj
- CGA-x6gm-2549-5fh6