CVE-2025-49007
ReDoS Vulnerability in Rack::Multipart handle_mime_head
Auswirkung
### 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
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Bei Erfolg: hohes Risiko für Ausfälle.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| rubygems | rack | >= 3.1.0, < 3.1.16 | 3.1.16 |
Betroffene Produkte · Rack
| Produkt | Betroffene Versionen |
|---|---|
| Rack | ab 3.1.0 vor 3.1.16 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://github.com/rack/rack/commit/4795831a0a310c2d31102749e551b38faab6401f
- https://github.com/rack/rack/commit/aed514df37e33907df3c971ed3ca9a0a20ac2901
- https://github.com/rack/rack/security/advisories/GHSA-47m2-26rw-j2jw
- https://github.com/advisories/GHSA-47m2-26rw-j2jw
- https://nvd.nist.gov/vuln/detail/CVE-2025-49007
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2025-49007.yml