Skip to content

GHSA SYNC: 1 brand new advisory #875

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 5, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions gems/rack/CVE-2025-49007.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
---
gem: rack
cve: 2025-49007
ghsa: 47m2-26rw-j2jw
url: https://github.com/rack/rack/security/advisories/GHSA-47m2-26rw-j2jw
title: ReDoS Vulnerability in Rack::Multipart handle_mime_head
date: 2025-06-05
description: |
### 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](https://hackerone.com/scyoon) for reporting
this to the Rails security team
cvss_v4: 6.6
unaffected_versions:
- "< 3.1.0"
patched_versions:
- ">= 3.1.16"
related:
url:
- https://nvd.nist.gov/vuln/detail/CVE-2025-49007
- https://github.com/rack/rack/security/advisories/GHSA-47m2-26rw-j2jw
- https://github.com/rack/rack/commit/4795831a0a310c2d31102749e551b38faab6401f
- https://github.com/rack/rack/commit/aed514df37e33907df3c971ed3ca9a0a20ac2901
- https://github.com/advisories/GHSA-47m2-26rw-j2jw