ruby-rack: Rack is a modular Ruby web server interface
CVE-2025-46727 is fixed in 6 products on 1 platform, first by ruby-rack 2.0.7-2ubuntu0.1+esm7, released May 7, 2025. It is not reported as exploited. Patch Radar priority: High.
Rack is a modular Ruby web server interface. Prior to versions 2.2.14,3.0.16, and 3.1.14, `Rack::QueryParser` parses query strings and`application/x-www-form-urlencoded` bodies into Ruby data structureswithout imposing any limit on the number of parameters, allowing attackersto send requests with extremely large numbers of parameters. Thevulnerability arises because `Rack::QueryParser` iterates over each`&`-separated key-value pair and adds it to a Hash without enforcing anupper bound on the total number of parameters. This allows an attacker tosend a single request containing hundreds of thousands (or more) ofparameters, which consumes excessive memory and CPU during parsing. Anattacker can trigger denial of service by sending specifically crafted HTTPrequests, which can cause memory exhaustion or pin CPU resources, stallingor crashing the Rack server. This results in full service disruption untilthe affected worker is restarted. Versions 2.2.14, 3.0.16, and 3.1.14 fixthe issue. Some other mitigations are available. One may use middleware toenforce a maximum query string size or parameter count, or employ a reverseproxy (such as Nginx) to limit request sizes and reject oversized querystrings or bodies. Limiting request body sizes and query string lengths atthe web server or CDN level is an effective mitigation.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| cockpit-ha-cluster · ol 10 | 0:0.12.0-3.el10_0.2 | ELSA-2025-8319 | Jul 2, 2025 |
| pcs · RHEL 10 | 0.12.0-3.el10_0.2 | RHSA-2025:8319 | May 7, 2025 |
| pcs · RHEL 8 | 0:0.10.18-2.el8_10.5 | RHSA-2025:8254 | May 28, 2025 |
| pcs · RHEL 9 | 0:0.11.9-2.el9_6.1 | RHSA-2025:8256 | May 28, 2025 |
| pcs · almalinux 8 | 0.10.18-2.el8_10.5.alma.1 | ALSA-2025:8254 | May 28, 2025 |
| pcs · ol 10 | 0:0.12.0-3.el10_0.2 | ELSA-2025-8319 | Jul 2, 2025 |
| pcs · ol 8 | 0:0.10.18-2.0.1.el8_10.5 | ELSA-2025-8254 | May 28, 2025 |
| pcs · ol 9 | 0:0.11.9-2.el9_6.1 | ELSA-2025-8256 | May 29, 2025 |
| pcs · rocky 8 | 0:0.10.18-2.el8_10.5 | RLSA-2025:8254 | Jul 29, 2025 |
| pcs · rocky 9 | 0:0.11.9-2.el9_6.1 | RLSA-2025:8256 | Oct 4, 2025 |
| pcs-snmp · RHEL 8 | 0:0.10.18-2.el8_10.5 | RHSA-2025:8254 | May 28, 2025 |
| pcs-snmp · RHEL 9 | 0:0.11.9-2.el9_6.1 | RHSA-2025:8256 | May 28, 2025 |
| pcs-snmp · almalinux 8 | 0.10.18-2.el8_10.5.alma.1 | ALSA-2025:8254 | May 28, 2025 |
| pcs-snmp · ol 10 | 0:0.12.0-3.el10_0.2 | ELSA-2025-8319 | Jul 2, 2025 |
| pcs-snmp · ol 8 | 0:0.10.18-2.0.1.el8_10.5 | ELSA-2025-8254 | May 28, 2025 |
| pcs-snmp · ol 9 | 0:0.11.9-2.el9_6.1 | ELSA-2025-8256 | May 29, 2025 |
| rmt-server · opensuse-leap 15.6 | 2.23-150500.3.34.2 | SUSE-SU-2025:02564-1 | Jul 31, 2025 |
| rmt-server · sles 15.6 | 2.23-150500.3.34.2 | SUSE-SU-2025:02564-1 | Jul 31, 2025 |
| rmt-server · sles 15.7 | 2.23-150700.3.6.1 | SUSE-SU-2025:02330-1 | Jul 16, 2025 |
| ruby-rack · Debian 12.15 (bookworm) | 2.2.20-0+deb12u1 | DEBIAN-CVE-2025-46727 | May 7, 2025 |
| ruby-rack · Debian 13.5 (trixie) | 3.1.16-0.1 | DEBIAN-CVE-2025-46727 | May 7, 2025 |
| ruby-rack · Debian 14 | 3.1.16-0.1 | DEBIAN-CVE-2025-46727 | May 7, 2025 |
| ruby-rack · Ubuntu 20.04 LTS (focal) | 2.0.7-2ubuntu0.1+esm7 | ruby-rack 2.0.7-2ubuntu0.1+esm7 | May 7, 2025 |
| ruby-rack · Ubuntu 22.04.1 LTS (jammy) | 2.1.4-5ubuntu1.1+esm2 | ruby-rack 2.1.4-5ubuntu1.1+esm2 | May 7, 2025 |
| ruby-rack · Ubuntu 24.04.5 LTS (noble) | 2.2.7-1ubuntu0.3 | ruby-rack 2.2.7-1ubuntu0.3 | May 7, 2025 |
| ruby-rack · Ubuntu 24.10 (oracular) | 2.2.7-1.1ubuntu0.2 | ruby-rack 2.2.7-1.1ubuntu0.2 | May 8, 2025 |
| ruby-rack · Ubuntu 25.04 (plucky) | 2.2.7-1.1ubuntu0.25.04.1 | ruby-rack 2.2.7-1.1ubuntu0.25.04.1 | May 8, 2025 |
| ruby-rack · Ubuntu 25.10 (questing) | 3.1.16-0.1 | ruby-rack 3.1.16-0.1 | May 7, 2025 |
| rubygem-rack · opensuse-leap 15.6 | 2.0.8-150000.3.31.1 | SUSE-SU-2025:01586-1 | May 19, 2025 |
| rubygem-rack · sles 15.6 | 2.0.8-150000.3.31.1 | SUSE-SU-2025:01586-1 | May 19, 2025 |
| rubygem-rack · sles 15.7 | 2.0.8-150000.3.31.1 | SUSE-SU-2025:01586-2 | Jun 3, 2025 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.