Rack Content-Disposition Parsing Denial-of-Service Vulnerability

Vulnerability

A denial-of-service vulnerability has been identified in the Content-Disposition parsing component of Rack, a Ruby web server interface. This issue affects Rack versions 3.1.0 prior to 3.1.16. The vulnerability allows carefully crafted input to disrupt normal parsing of the Content-Disposition header, which is commonly used in multipart processing. As a result, the parsing can take an unusually long time, potentially leading to a denial-of-service condition. This vulnerability is particularly relevant for applications that handle multipart posts with Rack, such as most Rails applications.

Impact

Exploitation of this vulnerability can cause a significant delay in Content-Disposition header processing, leading to a denial-of-service condition.

Reproduction

The vulnerability can be reproduced by sending a multipart request with a specially crafted Content-Disposition header that includes quoted characters. The Rack application will parse the header in a way that introduces a delay, demonstrating the denial-of-service aspect of the vulnerability.

Remediation

Users can upgrade to Rack version 3.1.16 or later to address this vulnerability.

Added: Jun 5, 2025, 11:27 PM
Updated: Jun 6, 2025, 12:01 AM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
2.5
exploitability
5.7
remediation
7.7
relevance
0.0
threat
4.8
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.