rack is vulnerable to Denial of Service (DoS)
50
Medium Risk
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.
You are affected if you are using a version that falls within the vulnerable range.
rack is vulnerable to Denial of Service (DoS) in versions 2.0.0 - 2.2.13 and 3.0.0 - 3.1.13.
Upgrade the rack library to the patch version.
Secure your code, cloud, and runtime environments in one central system. Find and fix vulnerabilities automatically.
No credit card required | Scan results in 32secs.
SOC 2Compliant
ISO 27001Compliant