CVE-2025-32441
Fixed in a distro release EPSS <1%CVSS 4.2
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.
Products: Rack
Fixed upstream
| Ecosystem | Package | Fixed in |
|---|---|---|
| RubyGems | rack | 2.2.14 |
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Chainguard | gitlab-rails-ce-18.1 | 18.1.6-r13 |
| Chainguard | gitlab-rails-ce-fips-18.1 | no fix |
| Chainguard | ruby3.2-rack-2.2 | 2.2.22-r0 |
| Chainguard | ruby3.3-rack-2.2 | 2.2.22-r0 |
| Chainguard | ruby3.4-rack-2.2 | 2.2.22-r0 |
| Chainguard | ruby4.0-rack-2.2 | 2.2.22-r0 |
| Debian 11 | ruby-rack | 2.1.4-3+deb11u4 |
| Debian 12 | ruby-rack | 2.2.20-0+deb12u1 |
| Debian 13 | ruby-rack | 3.0.8-2 |
| Debian 14 | ruby-rack | 3.0.8-2 |
| SUSE Enterprise Storage 7.1 | rmt-server | 2.23-150300.3.54.1 |
| SUSE Linux Enterprise High Availability Extension 15 SP3 | rubygem-rack | 2.0.8-150000.3.31.1 |
| SUSE Linux Enterprise High Availability Extension 15 SP4 | rubygem-rack | 2.0.8-150000.3.31.1 |
| SUSE Linux Enterprise High Availability Extension 15 SP5 | rubygem-rack | 2.0.8-150000.3.31.1 |
| SUSE Linux Enterprise High Availability Extension 15 SP6 | rubygem-rack | 2.0.8-150000.3.31.1 |
| SUSE Linux Enterprise High Availability Extension 15 SP7 | rubygem-rack | 2.0.8-150000.3.31.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS | rmt-server | 2.23-150300.3.54.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS | rmt-server | 2.23-150400.3.42.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS | rmt-server | 2.23-150400.3.42.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS | rmt-server | 2.23-150500.3.34.2 |
| SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS | rmt-server | 2.23-150500.3.34.2 |
| SUSE Linux Enterprise Module for Public Cloud 15 SP3 | rmt-server | 2.23-150300.3.54.1 |
| SUSE Linux Enterprise Module for Public Cloud 15 SP4 | rmt-server | 2.23-150400.3.42.1 |
| SUSE Linux Enterprise Module for Public Cloud 15 SP5 | rmt-server | 2.23-150500.3.34.2 |
| SUSE Linux Enterprise Module for Public Cloud 15 SP6 | rmt-server | 2.23-150500.3.34.2 |
| SUSE Linux Enterprise Module for Public Cloud 15 SP7 | rmt-server | 2.23-150700.3.6.1 |
| SUSE Linux Enterprise Module for Server Applications 15 SP6 | rmt-server | 2.23-150500.3.34.2 |
| SUSE Linux Enterprise Module for Server Applications 15 SP7 | rmt-server | 2.23-150700.3.6.1 |
| SUSE Linux Enterprise Server 15 SP3-LTSS | rmt-server | 2.23-150300.3.54.1 |
| SUSE Linux Enterprise Server 15 SP4-LTSS | rmt-server | 2.23-150400.3.42.1 |
| SUSE Linux Enterprise Server 15 SP5-LTSS | rmt-server | 2.23-150500.3.34.2 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP3 | rmt-server | 2.23-150300.3.54.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP4 | rmt-server | 2.23-150400.3.42.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP5 | rmt-server | 2.23-150500.3.34.2 |
| SUSE Manager Proxy 4.3 | rmt-server | 2.23-150400.3.42.1 |
| SUSE Manager Server 4.3 | rmt-server | 2.23-150400.3.42.1 |
| Ubuntu 24.04 LTS | ruby-rack | 2.2.7-1ubuntu0.3 |
| Ubuntu 25.10 | ruby-rack | 3.1.16-0.1 |
| Ubuntu 26.04 LTS | ruby-rack | 3.1.16-0.1 |
| Ubuntu Pro 14.04 LTS | ruby-rack | 1.5.2-3+deb8u3ubuntu1~esm10 |
| Ubuntu Pro 16.04 LTS | ruby-rack | 1.6.4-3ubuntu0.2+esm8 |
| Ubuntu Pro 18.04 LTS | ruby-rack | 1.6.4-4ubuntu0.2+esm8 |
| Ubuntu Pro 20.04 LTS | ruby-rack | 2.0.7-2ubuntu0.1+esm7 |
| Ubuntu Pro 22.04 LTS | ruby-rack | 2.1.4-5ubuntu1.1+esm2 |
| Wolfi | ruby3.2-rack-2.2 | 2.2.22-r0 |
| Wolfi | ruby3.3-rack-2.2 | 2.2.22-r0 |
| Wolfi | ruby3.4-rack-2.2 | 2.2.22-r0 |
| Wolfi | ruby4.0-rack-2.2 | 2.2.22-r0 |
| openSUSE Leap 15.6 | rmt-server | 2.23-150500.3.34.2 |
| openSUSE Leap 15.6 | rubygem-rack | 2.0.8-150000.3.31.1 |