CVE-2025-46727: rack Uncontrolled Resource Consumption
Vulnerability summary
CVE-2025-46727 is a high (CVSS 7.5) Uncontrolled Resource Consumption vulnerability in rack. EPSS estimates a 1.21% chance of exploitation in the next 30 days, higher than 67.9% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 16 · Related 20Timeline
- 07-05-2025PublishedVulnerability first disclosed.
- 08-05-2025Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
8 scores · 8 sources · 1 version- OSV · Red hatEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · WolfiEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · ChainguardEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- OSV · RubygemsEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS trend
Probability
1.21%
Chance of exploitation in the next 30 days
Percentile
68%
Versus all other CVEs
30-day change
+0.05 pp
From 1.16% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-400Uncontrolled Resource ConsumptionThe product does not properly control the allocation and maintenance of a limited resource.
- CWE-770Allocation of Resources Without Limits or ThrottlingThe product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.
Affected systems
Chainguard25 products
- gitlab-rails-ce-18.1< 18.1.6-r13
- gitlab-rails-ce-fips-18.1All versions (No fix recorded)
- logstash-8-with-output-opensearch< 8.18.1-r1
- ruby3.2-rack-2.2< 2.2.22-r0
- ruby3.2-rails-7.1< 7.1.5.1-r7
Redhat5 products
- cockpit-ha-cluster< 0:0.12.0-3.el10_0.2
- pcs< 0:0.11.9-2.el9_6.1 | < 0:0.11.7-2.el9_4.4 | < 0:0.11.4-7.el9_2.5 | < 0:0.12.0-3.el10_0.2 | < 0:0.9.169-3.el7_9.4
- pcs-debuginfo< 0:0.9.169-3.el7_9.4
- pcs-snmp< 0:0.11.9-2.el9_6.1 | < 0:0.11.7-2.el9_4.4 | < 0:0.11.4-7.el9_2.5 | < 0:0.12.0-3.el10_0.2 | < 0:0.9.169-3.el7_9.4
- rubygem-rack< 0:2.2.14-1.el9sat | < 0:2.2.14-1.el8sat
Wolfi5 products
- logstash-8-with-output-opensearch< 8.18.1-r1
- ruby3.2-rack-2.2< 2.2.22-r0
- ruby3.3-rack-2.2< 2.2.22-r0
- ruby3.4-rack-2.2< 2.2.22-r0
- ruby4.0-rack-2.2< 2.2.22-r0
Debian1 product
- ruby-rack< 2.2.20-0+deb12u1 | < 3.1.16-0.1
Opensuse1 product
- rubygem-rack-2.2&distro=openSUSE Tumbleweed< 2.2.14-1.1
Rack1 product
- rack≥ 3.0, < 3.0.16 | ≥ 3.1, < 3.1.14 | < 2.2.14 | ≥ 3.0.0, < 3.0.16 | ≥ 3.1.0, < 3.1.14
RubyGems1 product
- rack< 2.2.14 | ≥ 3.0, < 3.0.16 | ≥ 3.1, < 3.1.14
Ubuntu1 product
- ruby-rackAll versions (No fix recorded) | < 2.0.7-2ubuntu0.1+esm7 | < 2.1.4-5ubuntu1.2 | < 2.1.4-5ubuntu1.1+esm2 | < 2.2.7-1ubuntu0.3 | < 3.1.16-0.1
8 vendors · 40 products
References
37 links- github.com/rack/rack/security/advisories/GHSA-gjh7-p2fx-99vxX Refsource CONFIRMARTICLEREPORTAdvisoryWEBMitigationVendor Advisory
- github.com/rack/rack/commit/2bb5263b464b65ba4b648996a579dbd180d2b712X Refsource MISCARTICLEREPORTFIXWEBPatch
- github.com/rack/rack/commit/3f5a4249118d09d199fe480466c8c6717e43b6e3X Refsource MISCARTICLEREPORTFIXWEBPatch
- github.com/rack/rack/commit/cd6b70a1f2a1016b73dc906f924869f4902c2d74X Refsource MISCARTICLEREPORTFIXWEBPatch
Show all 37 references
- lists.opensuse.org/archives/…Advisory
- github.com/rack/rackPACKAGE