Intel

AIKIDO-2025-10296

rack is vulnerable to Denial of Service (DoS)

Denial of Service (DoS)CVE-2025-46727

50

Medium Risk

This Affects:

RUBYrack
2.0.0 - 2.2.13
Fixed in 2.2.14
3.0.0 - 3.1.13
Fixed in 3.1.14

TL;DR

Affected versions of the package are vulnerable to denial of service (DoS) due to unbounded parameter parsing in Rack::QueryParser, which can result in memory exhaustion. In the patched version, support was added for limiting the parameter using the environment variables RACK_QUERY_PARSER_PARAMS_LIMIT and RACK_QUERY_PARSER_BYTESIZE_LIMIT (default limits of 4096 parameters and 4MB total byte size), as well as through QueryParser constructor options. If either limit is exceeded, a Rack::QueryParser::QueryLimitError is raised, with ParamsTooDeepError now aliased for compatibility with existing error handling.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

rack is vulnerable to Denial of Service (DoS) in versions 2.0.0 - 2.2.13 and 3.0.0 - 3.1.13.

How to fix this

Upgrade the rack library to the patch version.