Description
Rack is a modular Ruby web server interface. Prior to version 2.2.14, when using the `Rack::Session::Pool` middleware, simultaneous rack requests can restore a deleted rack session, which allows the unauthenticated user to occupy that session. Rack session middleware prepares the session at the beginning of request, then saves is back to the store with possible changes applied by host rack application. This way the session becomes to be a subject of race conditions in general sense over concurrent rack requests. When using the `Rack::Session::Pool` middleware, and provided the attacker can acquire a session cookie (already a major issue), the session may be restored if the attacker can trigger a long running request (within that same session) adjacent to the user logging out, in order to retain illicit access even after a user has attempted to logout. Version 2.2.14 contains a patch for the issue. Some other mitigations are available. Either ensure the application invalidates sessions atomically by marking them as logged out e.g., using a `logged_out` flag, instead of deleting them, and check this flag on every request to prevent reuse; or implement a custom session store that tracks session invalidation timestamps and refuses to accept session data if the session was invalidated after the request began.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| rack | rack | < 2.2.14 | — |
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.0.8-2 | — |
| Debian 13 | ruby-rack | 3.0.8-2 | — |
| Debian 12 | ruby-rack | 2.2.20-0+deb12u1 | — |
| Debian 11 | ruby-rack | 2.1.4-3+deb11u4 | DLA-4357-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.04 LTS | ruby-rack | 3.1.16-0.1 | — |
| Ubuntu 25.10 | ruby-rack | 3.1.16-0.1 | — |
| Ubuntu 24.04 LTS | ruby-rack | 2.2.7-1ubuntu0.3 | USN-7507-1 |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 22.04 LTS | ruby-rack | 2.1.4-5ubuntu1.1+esm2 | USN-7507-1 |
| Ubuntu Pro 20.04 LTS | ruby-rack | 2.0.7-2ubuntu0.1+esm7 | USN-7507-1 |
| Ubuntu Pro 18.04 LTS | ruby-rack | 1.6.4-4ubuntu0.2+esm8 | USN-7507-1 |
| Ubuntu Pro 16.04 LTS | ruby-rack | 1.6.4-3ubuntu0.2+esm8 | USN-7507-1 |
| Ubuntu Pro 14.04 LTS | ruby-rack | 1.5.2-3+deb8u3ubuntu1~esm10 | USN-7507-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP7 | rmt-server | 2.23-150700.3.6.1 | SUSE-SU-2025:02330-1 |
| SLES 15 SP7 | rubygem-rack | 2.0.8-150000.3.31.1 | SUSE-SU-2025:01586-2 |
| SLES 15 SP6 | rmt-server | 2.23-150500.3.34.2 | SUSE-SU-2025:02564-1 |
| SLES 15 SP6 | rubygem-rack | 2.0.8-150000.3.31.1 | SUSE-SU-2025:01586-1 |
| SLES 15 SP5 | rmt-server | 2.23-150500.3.34.2 | SUSE-SU-2025:02564-1 |
| SLES 15 SP5 | rubygem-rack | 2.0.8-150000.3.31.1 | SUSE-SU-2025:01586-1 |
| SLES 15 SP4 | rmt-server | 2.23-150400.3.42.1 | SUSE-SU-2025:02329-1 |
| SLES 15 SP4 | rubygem-rack | 2.0.8-150000.3.31.1 | SUSE-SU-2025:01586-1 |
| SLES 15 SP3 | rmt-server | 2.23-150300.3.54.1 | SUSE-SU-2025:02429-1 |
| SLES 15 SP3 | rubygem-rack | 2.0.8-150000.3.31.1 | SUSE-SU-2025:01586-1 |
Show 9 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES for SAP 15 SP5 | rmt-server | 2.23-150500.3.34.2 | SUSE-SU-2025:02564-1 |
| SLES for SAP 15 SP4 | rmt-server | 2.23-150400.3.42.1 | SUSE-SU-2025:02329-1 |
| SLES for SAP 15 SP3 | rmt-server | 2.23-150300.3.54.1 | SUSE-SU-2025:02429-1 |
| SLE HPC 15 SP5 | rmt-server | 2.23-150500.3.34.2 | SUSE-SU-2025:02564-1 |
| SLE HPC 15 SP4 | rmt-server | 2.23-150400.3.42.1 | SUSE-SU-2025:02329-1 |
| SLE HPC 15 SP3 | rmt-server | 2.23-150300.3.54.1 | SUSE-SU-2025:02429-1 |
| SUSE Manager Server 4.3 | rmt-server | 2.23-150400.3.42.1 | SUSE-SU-2025:02329-1 |
| SUSE Manager Proxy 4.3 | rmt-server | 2.23-150400.3.42.1 | SUSE-SU-2025:02329-1 |
| SUSE Enterprise Storage 7.1 | rmt-server | 2.23-150300.3.54.1 | SUSE-SU-2025:02429-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 15.6 | rmt-server | 2.23-150500.3.34.2 | SUSE-SU-2025:02564-1 |
| openSUSE Leap 15.6 | rubygem-rack | 2.0.8-150000.3.31.1 | SUSE-SU-2025:01586-1 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | ruby3.2-rack-2.2 +3 | 2.2.22-r0 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| RubyGems | rack | < 2.2.14 | 2.2.14 | GHSA-vpfw-47h7-xj4g |
Advisories 8
- USN-7507-1 ruby-rack vulnerabilities Ubuntu Security Notices (USN) · Jun 25, 2026
- SUSE-SU-2025:01586-2 Security update for rubygem-rack SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:02429-1 Security update for rmt-server SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:01586-1 Security update for rubygem-rack SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2025:02564-1 Security update for rmt-server SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2025:02329-1 Security update for rmt-server SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2025:02330-1 Security update for rmt-server SUSE / openSUSE Security Updates · Feb 4, 2026
- DLA-4357-1 ruby-rack - security update Debian Security (DSA / DLA) · Nov 1, 2025