CVE-2025-49007
MEDIUM5.3EPSS 0.57%ReDoS Vulnerability in Rack::Multipart handle_mime_head
發布日:2025/6/5修改日:2026/2/4
描述
### 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
受影響套件(2)
- Debian/ruby-rackfrom 0, < 3.1.16-0.1
- RubyGems/rack>= 3.1.0, < 3.1.16
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 4.0 | — | 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 |
| osv | CVSS 3.1 | MEDIUM5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
參考連結(7)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2025-49007
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2025-49007
- PATCHhttps://github.com/rack/rack
- WEBhttps://github.com/rack/rack/commit/4795831a0a310c2d31102749e551b38faab6401f
- WEBhttps://github.com/rack/rack/commit/aed514df37e33907df3c971ed3ca9a0a20ac2901
- WEBhttps://github.com/rack/rack/security/advisories/GHSA-47m2-26rw-j2jw
- WEBhttps://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2025-49007.yml