CVE-2025-49007: ReDoS Vulnerability in Rack::Multipart handle_mime_head

Published Jun 4, 2025
·
Updated

Summary 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.

Details

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.

Credits

Thanks to scyoon for reporting this to the Rails security team

Other sources

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.

MITRE

Affected Software

4 affected componentsFixes available
Rack Rack>3.1.0<=3.1.16
rubygems/rack>=3.1.0<3.1.16
3.1.16
IBM Aspera Faspex 5<=5.0.0 - 5.0.12.1
Rack Rack Ruby>=3.1.0<3.1.16

Event History

Jun 4, 2025
CVE Published
via MITRE·10:42 PM
Data Sourced
via MITRE·10:42 PM
DescriptionWeakness
Data Sourced
via NVD·11:15 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·11:15 PM
RemedyAffected Software
Jun 5, 2025
Advisory Published
via GitHub·05:21 AM
Data Sourced
via GitHub·05:21 AM
DescriptionWeaknessAffected Software
Jul 29, 2025
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-49007?

CVE-2025-49007 is identified as a denial of service vulnerability.

2

How do I fix CVE-2025-49007?

To mitigate CVE-2025-49007, upgrade Rack to version 3.1.16 or later.

3

Which versions of Rack are affected by CVE-2025-49007?

CVE-2025-49007 affects Rack versions from 3.1.0 to 3.1.15.

4

Is CVE-2025-49007 related to any previous vulnerabilities?

Yes, CVE-2025-49007 is similar to the previous vulnerability CVE-2022-44571.

5

What component of Rack does CVE-2025-49007 impact?

CVE-2025-49007 impacts the Content-Disposition parsing component of Rack.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203