Description
multipart/parser.rb in Rack 1.3.x before 1.3.8 and 1.4.x before 1.4.3 allows remote attackers to cause a denial of service (memory consumption and out-of-memory error) via a long string in a Multipart HTTP packet.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | ruby-rack | 1.4.1-2.1 | — |
| Debian 13 | ruby-rack | 1.4.1-2.1 | — |
| Debian 12 | ruby-rack | 1.4.1-2.1 | — |
| Debian 6.0 | librack-ruby | 1.1.0-4+squeeze1 | DSA-2783-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 14.04 LTS | ruby-rack | 1.5.2-1 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| RubyGems | rack | >= 1.3.0, < 1.3.8 | 1.3.8 | GHSA-3pxh-h8hw-mj8w |
| RubyGems | rack | >= 1.4.0, < 1.4.3 | 1.4.3 | GHSA-3pxh-h8hw-mj8w |
Advisories 1
- DSA-2783-1 librack-ruby - several Debian Security (DSA / DLA) · Mar 9, 2026
References
- https://github.com/rack/rack/commit/548b9af2dc0059f4c0c19728624448d84de450ff
- https://bugzilla.redhat.com/show_bug.cgi?id=895282
- http://rack.github.com/
- https://groups.google.com/forum/#%21topic/rack-devel/-MWPHDeGWtI
- https://groups.google.com/forum/#%21topic/rack-devel/7ZKPNAjgRSs
- openSUSE-SU-2013:0462 vendor-advisory
- RHSA-2013:0548 vendor-advisory
- https://github.com/rack/rack/commit/f95113402b7239f225282806673e1b6424522b18
- RHSA-2013:0544 vendor-advisory
- DSA-2783 vendor-advisory