7.5

CVE-2025-46727: rack Uncontrolled Resource Consumption

CVSS: 7.5v3.1HighAnalyzed
AliasesRHSA-2025:7604RHSA-2025:7605RHSA-2025:8256
Published 07-05-2025Last modified 08-05-2025

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.

Overall risk
30/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.5/10
010
High · v3.1 (CVE.org)
EPSS score
1.21%
0%100%
Low · +0.05 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 16 · Related 20

Timeline

  1. 07-05-2025
    PublishedVulnerability first disclosed.
  2. 08-05-2025
    Last 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

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

19-09-202619-10-2026
EPSS score
1.21%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

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
Show all 37 references