Denial of Service Vulnerability in Rack Web Server Interface
CVE-2025-46727
What is CVE-2025-46727?
The Rack web server interface contains a denial of service vulnerability through Rack::QueryParser
, which fails to impose limits on the number of parameters parsed from query strings and application/x-www-form-urlencoded
bodies. Attackers can exploit this by sending specially crafted HTTP requests containing excessively large numbers of parameters, resulting in high memory and CPU consumption during processing. This can lead to service disruptions, requiring manual intervention or server restarts. Upgrading to versions 2.2.14, 3.0.16, or 3.1.14 mitigates this vulnerability. Employing middleware to set parameter limits or utilizing a reverse proxy like Nginx are recommended strategies to enhance security.
Affected Version(s)
rack < 2.2.14 < 2.2.14
rack >= 3.0, < 3.0.16 < 3.0, 3.0.16
rack >= 3.1, < 3.1.14 < 3.1, 3.1.14