CVE-2025-59830 Details
Description
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.
A denial-of-service vulnerability has been identified in Rack, a Ruby web server interface, prior to version 2.2.18. The issue arises in Rack::QueryParser, which improperly enforces the parameter limit. The parser splits parameters using both '&' and ';' separators but only counts '&' when applying the limit. This discrepancy allows attackers to use ';' to bypass the parameter count restriction, potentially leading to increased CPU and memory usage. Applications or middleware that use Rack::QueryParser with the default settings may be vulnerable to this issue.
Upgrade to Rack version 2.2.18 or later, where this vulnerability has been patched. If an immediate upgrade is not possible, configure Rack::QueryParser to use an explicit delimiter, such as '&', to ensure proper parameter counting. As a general precaution, consider enforcing query string and request size limits at the web server or proxy level to mitigate potential parsing overhead.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Sep 25, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/rack/rack/commit/54e4ffdd5affebcb0c015cc6ae74635c0831ed71 | [email protected] | Patch |
| https://github.com/rack/rack/security/advisories/GHSA-625h-95r8-8xpm | [email protected] | MitigationVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-400 | Uncontrolled Resource Consumption | [email protected] |
| CWE-770 | Allocation of Resources Without Limits or Throttling | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| rack rack | < 2.2.18 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 19, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Oct 10, 2025 | Initial Analysis | [email protected] |
| Sep 25, 2025 | New CVE Received | [email protected] |