Logo
-

Byte Open Security

(ByteOS Network)

Log In

Sign Up

ByteOS

Security
Vulnerability Details
Registries
Custom Views
Weaknesses
Attack Patterns
Filters & Tools
NVD Vulnerability Details :
CVE-2025-46727
Analyzed
More InfoOfficial Page
Source-security-advisories@github.com
View Known Exploited Vulnerability (KEV) details
Published At-07 May, 2025 | 23:15
Updated At-17 Jun, 2025 | 19:44

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.

CISA Catalog
Date AddedDue DateVulnerability NameRequired Action
N/A
Date Added: N/A
Due Date: N/A
Vulnerability Name: N/A
Required Action: N/A
Metrics
TypeVersionBase scoreBase severityVector
Secondary3.17.5HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Primary3.17.5HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Type: Secondary
Version: 3.1
Base score: 7.5
Base severity: HIGH
Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Type: Primary
Version: 3.1
Base score: 7.5
Base severity: HIGH
Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CPE Matches

rack
rack
>>rack>>Versions before 2.2.14(exclusive)
cpe:2.3:a:rack:rack:*:*:*:*:*:ruby:*:*
rack
rack
>>rack>>Versions from 3.0.0(inclusive) to 3.0.16(exclusive)
cpe:2.3:a:rack:rack:*:-:*:*:*:ruby:*:*
rack
rack
>>rack>>Versions from 3.1.0(inclusive) to 3.1.14(exclusive)
cpe:2.3:a:rack:rack:*:-:*:*:*:ruby:*:*
Weaknesses
CWE IDTypeSource
CWE-400Primarysecurity-advisories@github.com
CWE-770Primarysecurity-advisories@github.com
CWE ID: CWE-400
Type: Primary
Source: security-advisories@github.com
CWE ID: CWE-770
Type: Primary
Source: security-advisories@github.com
Evaluator Description

Evaluator Impact

Evaluator Solution

Vendor Statements

References
HyperlinkSourceResource
https://github.com/rack/rack/commit/2bb5263b464b65ba4b648996a579dbd180d2b712security-advisories@github.com
Patch
https://github.com/rack/rack/commit/3f5a4249118d09d199fe480466c8c6717e43b6e3security-advisories@github.com
Patch
https://github.com/rack/rack/commit/cd6b70a1f2a1016b73dc906f924869f4902c2d74security-advisories@github.com
Patch
https://github.com/rack/rack/security/advisories/GHSA-gjh7-p2fx-99vxsecurity-advisories@github.com
Mitigation
Vendor Advisory
Hyperlink: https://github.com/rack/rack/commit/2bb5263b464b65ba4b648996a579dbd180d2b712
Source: security-advisories@github.com
Resource:
Patch
Hyperlink: https://github.com/rack/rack/commit/3f5a4249118d09d199fe480466c8c6717e43b6e3
Source: security-advisories@github.com
Resource:
Patch
Hyperlink: https://github.com/rack/rack/commit/cd6b70a1f2a1016b73dc906f924869f4902c2d74
Source: security-advisories@github.com
Resource:
Patch
Hyperlink: https://github.com/rack/rack/security/advisories/GHSA-gjh7-p2fx-99vx
Source: security-advisories@github.com
Resource:
Mitigation
Vendor Advisory
Change History
0Changes found

Details not found