# CVE-2025-32441: ruby-rack: Rack is a modular Ruby web server interface

CVE-2025-32441 is fixed in 3 products on 1 platform, first by ruby-rack 1.6.4-4ubuntu0.2+esm8, released May 7, 2025. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2025-32441
- Priority: Routine
- CVSS: 4.2 (Medium)
- EPSS: 0.0028
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: May 7, 2025

## Description

Rack is a modular Ruby web server interface. Prior to version 2.2.14, whenusing the `Rack::Session::Pool` middleware, simultaneous rack requests canrestore a deleted rack session, which allows the unauthenticated user tooccupy that session. Rack session middleware prepares the session at thebeginning of request, then saves is back to the store with possible changesapplied by host rack application. This way the session becomes to be asubject of race conditions in general sense over concurrent rack requests.When using the `Rack::Session::Pool` middleware, and provided the attackercan acquire a session cookie (already a major issue), the session may berestored if the attacker can trigger a long running request (within thatsame session) adjacent to the user logging out, in order to retain illicitaccess even after a user has attempted to logout. Version 2.2.14 contains apatch for the issue. Some other mitigations are available. Either ensurethe application invalidates sessions atomically by marking them as loggedout e.g., using a `logged_out` flag, instead of deleting them, and checkthis flag on every request to prevent reuse; or implement a custom sessionstore that tracks session invalidation timestamps and refuses to acceptsession data if the session was invalidated after the request began.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | rmt-server opensuse-leap 15.6 | 2.23-150500.3.34.2 | [SUSE-SU-2025:02564-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-02564-1.md) | Jul 31, 2025 |
| Linux | rmt-server sles 15.6 | 2.23-150500.3.34.2 | [SUSE-SU-2025:02564-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-02564-1.md) | Jul 31, 2025 |
| Linux | rmt-server sles 15.7 | 2.23-150700.3.6.1 | [SUSE-SU-2025:02330-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-02330-1.md) | Jul 16, 2025 |
| Linux | ruby-rack Debian 11.6 (bullseye) | 2.1.4-3+deb11u4 | [DLA-4357-1](https://patchblox.com/security/data/fix/linux/dla-4357-1.md) | Nov 1, 2025 |
| Linux | ruby-rack Debian 12.15 (bookworm) | 2.2.20-0+deb12u1 | [DEBIAN-CVE-2025-32441](https://patchblox.com/security/data/fix/linux/debian-cve-2025-32441.md) | May 7, 2025 |
| Linux | ruby-rack Debian 13.5 (trixie) | 3.0.8-2 | [DEBIAN-CVE-2025-32441](https://patchblox.com/security/data/fix/linux/debian-cve-2025-32441.md) | May 7, 2025 |
| Linux | ruby-rack Debian 14 | 3.0.8-2 | [DEBIAN-CVE-2025-32441](https://patchblox.com/security/data/fix/linux/debian-cve-2025-32441.md) | May 7, 2025 |
| Linux | ruby-rack Ubuntu 18.04.6 LTS (bionic) | 1.6.4-4ubuntu0.2+esm8 | [ruby-rack 1.6.4-4ubuntu0.2+esm8](https://patchblox.com/security/data/fix/linux/ubuntu-bionic-ruby-rack-1.6.4-4ubuntu0.2-esm8.md) | May 7, 2025 |
| Linux | ruby-rack Ubuntu 20.04 LTS (focal) | 2.0.7-2ubuntu0.1+esm7 | [ruby-rack 2.0.7-2ubuntu0.1+esm7](https://patchblox.com/security/data/fix/linux/ubuntu-focal-ruby-rack-2.0.7-2ubuntu0.1-esm7.md) | May 7, 2025 |
| Linux | ruby-rack Ubuntu 22.04.1 LTS (jammy) | 2.1.4-5ubuntu1.1+esm2 | [ruby-rack 2.1.4-5ubuntu1.1+esm2](https://patchblox.com/security/data/fix/linux/ubuntu-jammy-ruby-rack-2.1.4-5ubuntu1.1-esm2.md) | May 7, 2025 |
| Linux | ruby-rack Ubuntu 24.04.5 LTS (noble) | 2.2.7-1ubuntu0.3 | [ruby-rack 2.2.7-1ubuntu0.3](https://patchblox.com/security/data/fix/linux/ubuntu-noble-ruby-rack-2.2.7-1ubuntu0.3.md) | May 7, 2025 |
| Linux | ruby-rack Ubuntu 24.10 (oracular) | 2.2.7-1.1ubuntu0.2 | [ruby-rack 2.2.7-1.1ubuntu0.2](https://patchblox.com/security/data/fix/linux/ubuntu-oracular-ruby-rack-2.2.7-1.1ubuntu0.2.md) | May 8, 2025 |
| Linux | ruby-rack Ubuntu 25.04 (plucky) | 2.2.7-1.1ubuntu0.25.04.1 | [ruby-rack 2.2.7-1.1ubuntu0.25.04.1](https://patchblox.com/security/data/fix/linux/ubuntu-plucky-ruby-rack-2.2.7-1.1ubuntu0.25.04.1.md) | May 8, 2025 |
| Linux | ruby-rack Ubuntu 25.10 (questing) | 3.1.16-0.1 | [ruby-rack 3.1.16-0.1](https://patchblox.com/security/data/fix/linux/ubuntu-questing-ruby-rack-3.1.16-0.1.md) | May 7, 2025 |
| Linux | ruby-rack Ubuntu 26.04.1 LTS (resolute) | 3.1.16-0.1 | [ruby-rack 3.1.16-0.1](https://patchblox.com/security/data/fix/linux/ubuntu-resolute-ruby-rack-3.1.16-0.1.md) | May 7, 2025 |
| Linux | rubygem-rack opensuse-leap 15.6 | 2.0.8-150000.3.31.1 | [SUSE-SU-2025:01586-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-01586-1.md) | May 19, 2025 |
| Linux | rubygem-rack sles 15.6 | 2.0.8-150000.3.31.1 | [SUSE-SU-2025:01586-1](https://patchblox.com/security/data/fix/linux/suse-su-2025-01586-1.md) | May 19, 2025 |
| Linux | rubygem-rack sles 15.7 | 2.0.8-150000.3.31.1 | [SUSE-SU-2025:01586-2](https://patchblox.com/security/data/fix/linux/suse-su-2025-01586-2.md) | Jun 3, 2025 |

---

Data as of 2026-11-08T06:59:42Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
