Description
Rack is a modular Ruby web server interface. Prior to 2.2.25, 3.1.23, and 3.2.8, Rack::Multipart::Parser.parse_boundary can skip a leading empty or quoted boundary parameter in a multipart Content-Type header and accept a later parameter. Rack can therefore parse a request body with a boundary that a conforming intermediary would not derive, allowing form fields or file uploads to reach an application without the intended proxy or web application firewall inspection. This issue is fixed in versions 2.2.25, 3.1.23, and 3.2.8.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| rack | rack | < 2.2.25, >= 3.0, < 3.1.23, >= 3.2, < 3.2.8 | — |
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 | 3.2.8-1 | — |
| Debian 13 | ruby-rack | No fix yet | — |
| Debian 12 | ruby-rack | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | ruby-rack | No fix yet | — |
| Ubuntu 26.04 LTS | ruby-rack | No fix yet | — |
| Ubuntu 24.04 LTS | ruby-rack | No fix yet | — |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 22.04 LTS | ruby-rack | No fix yet | — |
| Ubuntu Pro 20.04 LTS | ruby-rack | No fix yet | — |
| Ubuntu Pro 18.04 LTS | ruby-rack | No fix yet | — |
| Ubuntu Pro 16.04 LTS | ruby-rack | No fix yet | — |
| Ubuntu Pro 14.04 LTS | ruby-rack | No fix yet | — |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | logstash-9.3 +2 | No fix yet | — |
| Wolfi rolling | logstash-9.4 +1 | 9.4.9-r2 | — |
| Wolfi rolling | ruby3.3-rack-2.2 +2 | 2.2.25-r0 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| RubyGems | rack | < 2.2.25 | 2.2.25 | GHSA-p8x9-v4hv-2w4g |
| RubyGems | rack | >= 3.0.0, < 3.1.23 | 3.1.23 | GHSA-p8x9-v4hv-2w4g |
| RubyGems | rack | >= 3.2.0, < 3.2.8 | 3.2.8 | GHSA-p8x9-v4hv-2w4g |
References
- https://github.com/rack/rack/security/advisories/GHSA-p8x9-v4hv-2w4g
- https://github.com/rack/rack/commit/19a1a19cb4da97d61c8d5effeb2e927c44370ae9
- https://github.com/rack/rack/commit/a29512324265790a5536b830490075d0d79323be
- https://github.com/rack/rack/commit/d5e928b803da30b8e40171dbd4be39bed7daa6fa
- https://github.com/rack/rack/releases/tag/v2.2.25
- https://github.com/rack/rack/releases/tag/v3.1.23
- https://github.com/rack/rack/releases/tag/v3.2.8