cve.bz

CVE-2025-59830 rack rack: Uncontrolled Resource Consumption

7.5 highEPSS 0.6%Fix available

High (7.5) in rack rack. EPSS 0.6% estimated probability of exploitation activity in the next 30 days. Fixed in rack 2.2.18.

On this page
Rack is a modular Ruby web server interface. Prior to version 2.2.18, Rack::QueryParser enforces its params_limit only for parameters separated by &, while still splitting on both & and ;. As a result, attackers could use ; separators to bypass the parameter count limit and submit more parameters than intended. Applications or middleware that directly invoke Rack::QueryParser with its default configuration (no explicit delimiter) could be exposed to increased CPU and memory consumption. This can be abused as a limited denial-of-service vector. This issue has been patched in version 2.2.18.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 50th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2025-09-25. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-400 Uncontrolled Resource Consumption
CWE-770 Allocation of Resources Without Limits or Throttling
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-59830 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-59830?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-59830?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-59830 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
rack:rackbefore 2.2.18

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-625h-95r8-8xpmRubyGemsrack<2.2.182.2.18

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11ruby-rack2.1.4-3+deb11u4DLA-4357-1
Debian12ruby-rack2.2.20-0+deb12u1DEBIAN-CVE-2025-59830
Debian13, 14ruby-rack3.0.8-2DEBIAN-CVE-2025-59830
Ubuntu22.04:LTSruby-rack2.1.4-5ubuntu1.2UBUNTU-CVE-2025-59830
Ubuntu24.04:LTSruby-rack2.2.7-1ubuntu0.4UBUNTU-CVE-2025-59830 USN-7784-1
UbuntuPro:14.04:LTS, Pro:16.04:LTS, Pro:18.04:LTSruby-rackno fix listedUBUNTU-CVE-2025-59830
UbuntuPro:20.04:LTSruby-rack2.0.7-2ubuntu0.1+esm8UBUNTU-CVE-2025-59830
Red Hatenterprise_linux:8::highavailability, enterprise_linux:8::resilientstoragepcs, pcs-snmp0:0.10.18-2.el8_10.7RHSA-2025:19719
Red Hatenterprise_linux:9::highavailability, enterprise_linux:9::resilientstoragepcs, pcs-snmp0:0.11.10-1.el9_7.1RHSA-2025:20962
Red Hatenterprise_linux:9::highavailability, enterprise_linux:9::resilientstoragepcs, pcs-snmp0:0.11.9-2.el9_6.2RHSA-2025:19512
Red Hatenterprise_linux:10.0pcs, pcs-snmp, cockpit-ha-cluster0:0.12.0-3.el10_0.3RHSA-2025:19513
Red Hatenterprise_linux:10.1pcs, pcs-snmp, cockpit-ha-cluster0:0.12.1-1.el10_1.1RHSA-2025:21036
Red Hatrhel_aus:8.4::highavailability, rhel_eus_long_life:8.4::highavailabilitypcs, pcs-snmp0:0.10.8-1.el8_4.8RHSA-2025:19948
Red Hatrhel_e4s:8.6::highavailability, rhel_tus:8.6::highavailabilitypcs, pcs-snmp0:0.10.12-6.el8_6.10RHSA-2025:19734
Red Hatrhel_e4s:8.8::highavailability, rhel_tus:8.8::highavailabilitypcs, pcs-snmp0:0.10.15-4.el8_8.9RHSA-2025:19647
Red Hatrhel_e4s:9.0::highavailability, rhel_e4s:9.0::resilientstoragepcs, pcs-snmp0:0.11.1-10.el9_0.9RHSA-2025:19800
Red Hatrhel_e4s:9.2::highavailability, rhel_e4s:9.2::resilientstoragepcs, pcs-snmp0:0.11.4-7.el9_2.6RHSA-2025:19733
Red Hatrhel_eus:9.4::highavailability, rhel_eus:9.4::resilientstoragepcs, pcs-snmp0:0.11.7-2.el9_4.5RHSA-2025:19736
Red Hatsatellite:6.15::el8foreman, foreman-cli, foreman-ec2 and 12 more0:3.9.1.13-1.el8satRHSA-2025:19856
15 more for Red Hat in the JSON and on Red Hat's page.
openSUSETumbleweedrubygem-rack-2.22.2.18-1.1openSUSE-SU-2025:15587-1
openSUSETumbleweedrubygem-rack-2.22.2.22-1.1openSUSE-SU-2026:10286-1
AlmaLinux8pcs, pcs-snmp0.10.18-2.el8_10.7.alma.1ALSA-2025:19719
AlmaLinux9pcs, pcs-snmp0.11.10-1.el9_7.1ALSA-2025:20962
AlmaLinux10cockpit-ha-cluster0.12.1-1.el10_1.1ALSA-2025:21036
Rocky Linux8pcs0:0.10.18-2.el8_10.7RLSA-2025:19719
Rocky Linux9pcs0:0.11.10-1.el9_7.1RLSA-2025:20962
Rocky Linux9pcs0:0.11.9-2.el9_6.2RLSA-2025:19512

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

The overall severity of this flaw is Moderate, because most Rack applications are not directly impacted. The vulnerability primarily affects applications or middleware that invoke Rack::QueryParser directly using its default configuration, which accepts both & and ; as parameter delimiters. This behavior can lead to excessive CPU or memory consumption, resulting only a limited denial-of-service condition.

For typical applications using Rack::Request, the default request-handling flow applies safe parsing logic and does not exhibit the vulnerable behavior.

In summary, while the theoretical severity is High, the practical impact is generally Moderate to Low for standard configurations.

```

Affectedness:

It should be noted that starting from Rack v3.x, the framework no longer splits query parameters on semicolons. This change was introduced in commit ef1fc0c44e6a4b77c8fcf9b4f3bfa09f04ae8482, effectively mitigating this issue in newer releases.

Rack 1.x is also not affected by this vulnerability. The vulnerable parsing logic was introduced in Rack 2.x; earlier versions use a simpler query parsing mechanism that does not expose the same resource exhaustion risk.

```

~~~

Additionally, Ruby 2.x and 3.x versions shipped with Red Hat Enterprise Linux are not affected, as they do not bundle the rack RubyGem by default. Rack is a third-party gem that must be installed separately.

~~~

Red Hat's mitigation

No action is required for typical Rack applications that use the framework’s default request-handling mechanisms, as these are not impacted.

For custom implementations or middleware that directly invoke Rack::QueryParser, administrators should:

Use explicit delimiters: Configure QueryParser to use a specific delimiter (e.g. &) rather than accepting both & and ;.

Limit request size and parameters: Enforce request size and parameter count limits at upstream layers (such as a web server, reverse proxy, or WAF) to prevent excessive resource consumption.

Prefer safe APIs: Use Rack::Request or other higher-level request parsing APIs, which apply safe defaults and avoid this vulnerability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 10pcs-0:0.12.0-3.el10_0.3Fixed 2025-11-03RHSA-2025:19513
Red Hat Enterprise Linux 10pcs-0:0.12.1-1.el10_1.1Fixed 2025-11-11RHSA-2025:21036
Red Hat Enterprise Linux 8pcs-0:0.10.18-2.el8_10.7Fixed 2025-11-04RHSA-2025:19719
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportpcs-0:0.10.8-1.el8_4.8Fixed 2025-11-10RHSA-2025:19948
Red Hat Enterprise Linux 8.4 Extended Update Support Long-Life Add-Onpcs-0:0.10.8-1.el8_4.8Fixed 2025-11-10RHSA-2025:19948
Red Hat Enterprise Linux 8.6 Telecommunications Update Servicepcs-0:0.10.12-6.el8_6.10Fixed 2025-11-04RHSA-2025:19734
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutionspcs-0:0.10.12-6.el8_6.10Fixed 2025-11-04RHSA-2025:19734
Red Hat Enterprise Linux 8.8 Telecommunications Update Servicepcs-0:0.10.15-4.el8_8.9Fixed 2025-11-04RHSA-2025:19647
Red Hat Enterprise Linux 8.8 Update Services for SAP Solutionspcs-0:0.10.15-4.el8_8.9Fixed 2025-11-04RHSA-2025:19647
Red Hat Enterprise Linux 9pcs-0:0.11.9-2.el9_6.2Fixed 2025-11-03RHSA-2025:19512
Logging Subsystem for Red Hat OpenShiftopenshift-logging/cluster-logging-operator-bundleNot affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/cluster-logging-rhel9-operatorNot affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/eventrouter-rhel9Not affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/fluentd-rhel8Not affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/fluentd-rhel9Not affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/log-file-metric-exporter-rhel9Not affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/logging-view-plugin-rhel9Not affected
Logging Subsystem for Red Hat OpenShiftopenshift-logging/vector-rhel9Not affected
OpenShift Service Mesh 2openshift-service-mesh/grafana-rhel8Out of support scope
OpenShift Service Mesh 2openshift-service-mesh/istio-cni-rhel8Out of support scope
40 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-59830.

Attack patterns (CAPEC)

  • CAPEC-147 XML Ping of the Death Likelihood: Low · Severity: Medium
  • CAPEC-227 Sustained Client Engagement
  • CAPEC-492 Regular Expression Exponential Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-770 (20).

References

Check your stackJSON