CVE-2025-49007CWE-770

ReDoS Vulnerability in Rack::Multipart handle_mime_head

Medium · published June 4, 2025

CVSS v4.0
6.6
EPSS
1%
Percentile
45.8
In the wild
Unconfirmed
What it is

Rack is a modular Ruby web server interface. Starting in version 3.1.0 and prior to version 3.1.16, there is a denial of service vulnerability in the Content-Disposition parsing component of Rack. This is very similar to the previous security issue CVE-2022-44571. Carefully crafted input can cause Content-Disposition header parsing in Rack to take an unexpected amount of time, possibly resulting in a denial of service attack vector. This header is used typically used in multipart parsing. Any applications that parse multipart posts using Rack (virtually all Rails applications) are impacted. Version 3.1.16 contains a patch for the vulnerability.

The record
Technical detail
CVSS v4.0
6.6 · MEDIUM
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U
EPSS
0.00560 · 45.8th percentile
Weakness
CWE-770 · Allocation of Resources Without Limits or Throttling
Published
2025-06-04T22:42Z
EPSS history
Timeline
  • 04 JUN 22:42Z
    ReDoS Vulnerability in Rack::Multipart handle_mime_head
    cvelistv5