Jaguarda Install skill

Security watch

Update Rack where it parses uploads or query strings

Rack’s November fixes cover more than file uploads behind a proxy. Multipart forms could exhaust worker CPU on affected Rack 3 installations. A separate query-parser issue could exhaust memory even in applications without file uploads.

Source published Entry revised Web applications

Who this matters to

Review Rack deployments that parse query strings or accept multipart forms. Two other issues matter where a proxy inspects uploads or where the application copies upload field names or content types into logs or response headers. Rack and the proxy could interpret a form differently, and unexpected line breaks could reach logs or headers.

What to do

For the query parser, the first fixes on the affected branches are 2.2.26, 3.1.24, and 3.2.9. The multipart CPU issue affects Rack 3 and is fixed in 3.1.24 and 3.2.9. These builds also include the earlier upload fixes. Move Rack 3.0 deployments to a patched branch.

How to verify

Run bundle info rack in the deployed release. In staging, submit an ordinary search or filter query and check that the application receives the expected parameters. Where uploads are supported, send a small file through the production-equivalent proxy and check its field name and content type.