Vulnerability
CVE-2025-46727
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 structures without imposing any limit on the number of parameters, allowing attackers to send requests with extremely large numbers of parameters. The vulnerability arises because `Rack::QueryParser` iterates over each `&`-separated key-value pair and adds it to a Hash without enforcing an upper bound on the total number of parameters. This allows an attacker to send a single request containing hundreds of thousands (or more) of parameters, which consumes excessive memory and CPU during parsing. An attacker can trigger denial of service by sending specifically crafted HTTP requests, which can cause memory exhaustion or pin CPU resources, stalling or crashing the Rack server. This results in full service disruption until the affected worker is restarted. Versions 2.2.14, 3.0.16, and 3.1.14 fix the issue. Some other mitigations are available. One may use middleware to enforce a maximum query string size or parameter count, or employ a reverse proxy (such as Nginx) to limit request sizes and reject oversized query strings or bodies. Limiting request body sizes and query string lengths at the web server or CDN level is an effective mitigation.
90 advisories report this vulnerability, across 13 ecosystems.
Advisories
-
ALAS2-2025-2856
Amazon Linux 2 2017.12 - ALAS2-2025-2856: important priority package update for pcs
-
ALSA-2025:8254
Important: pcs security update
- CGA-3jqv-qwwq-crjm
- CGA-3mcp-x3q2-h3qg
- CGA-5583-jgq4-px8h
- CGA-5g25-9v77-f4wc
- CGA-654j-xr37-jv63
- CGA-6624-gw7w-jh6r
- CGA-6pc6-w724-h8pf
- CGA-726w-9w2j-vq5x
- CGA-7p8p-m544-6587
- CGA-7wfm-8x8r-38fh
- CGA-82f2-2x8x-34rv
- CGA-83gq-9j6w-jg74
- CGA-869x-3vpq-3v96
- CGA-8g95-9ch6-hvgv
- CGA-8h4p-8595-vmxh
- CGA-8xv6-fg55-xgj6
- CGA-9r95-584r-7wfr
- CGA-gc79-5gfh-q8wx
- CGA-grrw-p5w5-2mq5
- CGA-gw5p-qqm5-mjcj
- CGA-gxfc-mhmx-fqrh
- CGA-h9x7-87gv-6hx5
- CGA-hj25-rf2q-g4mc
- CGA-hpgj-8f7x-7grr
- CGA-hvqq-g88q-gvp4
- CGA-hx9p-xg8v-9g9q
- CGA-j4hr-xvq9-x6gx
- CGA-jm45-58f8-rj38
- CGA-mg6w-xjh4-mm6f
- CGA-mp7f-63vf-wxp9
- CGA-p3rg-4cvf-p376
- CGA-p797-w878-62q7
- CGA-pfp5-mj8x-7xw2
- CGA-prq7-xcjv-j847
- CGA-q2rc-pmp7-j249
- CGA-q33x-qfwm-cghx
- CGA-r3v3-q699-85j9
- CGA-r8qq-923w-h8m9
- CGA-rmw2-x5gv-v496
- CGA-rv8j-r32g-p527
- CGA-v4m5-mr37-wvqg
- CGA-v66x-9vj6-g2p8
- CGA-v9mw-423x-2q2g
- CGA-vhvw-f44w-439g
- CGA-w5pq-r5vr-v4x2
- CGA-w775-wm54-7r9v
- CGA-x2qc-j6vr-7f2x
- CGA-xgxw-x8x7-wpcj
- CGA-xhf5-c3x7-vvwc
- CGA-xx2r-43m3-w3cr
-
DEBIAN-CVE-2025-46727
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 structures without…
-
DLA-4357-1
ruby-rack - security update
-
ELSA-2025-8254
ELSA-2025-8254: pcs security update (IMPORTANT)
-
ELSA-2025-8256
ELSA-2025-8256: pcs security update (IMPORTANT)
-
ELSA-2025-8319
ELSA-2025-8319: pcs security update (IMPORTANT)
-
GHSA-gjh7-p2fx-99vx
Rack has an Unbounded-Parameter DoS in Rack::QueryParser
-
OESA-2025-2211
rubygem-rack security update
-
OESA-2025-2212
rubygem-rack security update
-
OESA-2025-2213
rubygem-rack security update
-
OESA-2025-2214
rubygem-rack security update
-
OESA-2025-2215
rubygem-rack security update
-
OESA-2025-2291
rubygem-rack security update
-
RHSA-2025:7604
Red Hat Security Advisory: Satellite 6.17.0.1 Async Update
-
RHSA-2025:7605
Red Hat Security Advisory: Satellite 6.16.5.1 Async Update
-
RHSA-2025:8254
Red Hat Security Advisory: pcs security update
-
RHSA-2025:8256
Red Hat Security Advisory: pcs security update
-
RHSA-2025:8279
Red Hat Security Advisory: pcs security update
-
RHSA-2025:8288
Red Hat Security Advisory: pcs security update
-
RHSA-2025:8289
Red Hat Security Advisory: pcs security update
-
RHSA-2025:8290
Red Hat Security Advisory: pcs security update
-
RHSA-2025:8291
Red Hat Security Advisory: pcs security update
-
RHSA-2025:8319
Red Hat Security Advisory: pcs security update
-
RHSA-2025:8322
Red Hat Security Advisory: pcs security update
-
RHSA-2025:8323
Red Hat Security Advisory: pcs security update
-
RHSA-2025:9838
Red Hat Security Advisory: Satellite 6.15.5.3 Async Update
-
RLSA-2025:8254
Important: pcs security update
-
RLSA-2025:8256
Important: pcs security update
-
SUSE-SU-2025:01586-1
Security update for rubygem-rack
-
SUSE-SU-2025:01586-2
Security update for rubygem-rack
-
SUSE-SU-2025:02329-1
Security update for rmt-server
-
SUSE-SU-2025:02330-1
Security update for rmt-server
-
SUSE-SU-2025:02429-1
Security update for rmt-server
-
SUSE-SU-2025:02564-1
Security update for rmt-server
-
SUSEVEX-CVE-2025-46727
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 structures without…
-
UBUNTU-CVE-2025-46727
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 structures without…
-
USN-7507-1
ruby-rack vulnerabilities
-
openSUSE-SU-2025:15067-1
ruby3.4-rubygem-rack-2.2-2.2.14-1.1 on GA media
-
openSUSE-SU-2026:10286-1
ruby4.0-rubygem-rack-2.2-2.2.22-1.1 on GA media