Intel

AIKIDO-2025-10296

rack is vulnerable to Denial of Service (DoS)

CVE-2025-46727Published May 8, 2025
May 8, 2025

50

CVE Score

Medium

Denial of Service (DoS)

Are you affected? Scan for Free

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.

How do I fix this?

Upgrade the rack library to the patch version.

Who does this affect?

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

Package

Versions

2.0.0 - 2.2.13

Fixed in 2.2.14

3.0.0 - 3.1.13

Fixed in 3.1.14

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.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea