CVE-2025-32441 json
Rack session gets restored after deletion
published 2025-05-07 18 mo ago modified 2026-09-10 1 mo ago also EUVD-2025-13949 , GHSA-vpfw-47h7-xj4g
- cvss
- 4.2
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 21%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- rubygems rack 2.2.14
- rack rack 2.2.14
- rack_project rack 2.2.14
- ruby-rack Debian 12 2.2.20-0+deb12u1
- ruby-rack Debian 14, Debian 13 3.0.8-2
debian advisories DEBIAN-CVE-2025-32441
- ruby-rack Ubuntu 24.04 LTS 2.2.7-1ubuntu0.3
- ruby-rack Ubuntu 26.04 LTS, Ubuntu 25.10 3.1.16-0.1
- ruby-rack Ubuntu Pro 14.04 LTS 1.5.2-3+deb8u3ubuntu1~esm10
- ruby-rack Ubuntu Pro 16.04 LTS 1.6.4-3ubuntu0.2+esm8
- ruby-rack Ubuntu Pro 18.04 LTS 1.6.4-4ubuntu0.2+esm8
- ruby-rack Ubuntu Pro 20.04 LTS 2.0.7-2ubuntu0.1+esm7
- ruby-rack Ubuntu Pro 22.04 LTS 2.1.4-5ubuntu1.1+esm2
ubuntu advisories UBUNTU-CVE-2025-32441
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- rmt-server SLES for SAP 15 SP5, SLES 15 SP5-LTSS, SLE Module for Server Applications 15 SP6 +5 more 2.23-150500.3.34.2
- rmt-server SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE Module for Public Cloud 15 SP3 +2 more 2.23-150300.3.54.1
- rmt-server SLE Module for Server Applications 15 SP7, SLE Module for Public Cloud 15 SP7 2.23-150700.3.6.1
- rmt-server SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE Module for Public Cloud 15 SP4 +4 more 2.23-150400.3.42.1
- rubygem-rack SLE High Availability Extension 15 SP7, SLE High Availability Extension 15 SP6, SLE High Availability Extension 15 SP5 +3 more 2.0.8-150000.3.31.1
suse advisories SUSE-SU-2025:02564-1SUSE-SU-2025:02429-1SUSE-SU-2025:02330-1SUSE-SU-2025:02329-1SUSE-SU-2025:01586-2SUSE-SU-2025:01586-1
- github.com/rack/rack@c48e52f commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-32441 updated cvss 4.2
rack: Rack Session Reuse Vulnerability
-
Red Hat Logging Subsystem for Red Hat OpenShift openshift-logging/fluentd-rhel8, openshift-logging/fluentd-rhel9 Red Hat 3scale API Management Platform 2 3scale-amp2/zync-rhel8, 3scale-amp2/zync-rhel9 Red Hat Enterprise Linux 7 pcs, pcs-snmp, python-clufter Red Hat Enterprise Linux 8 pcs, pcs-snmp Red Hat Enterprise Linux 9 pcs, pcs-snmp Red Hat Satellite 6 rubygem-rackaffected: no fix available “Fix deferred”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 18 mo ago
Exploit prediction
0.28% chance of exploitation in the next 30 days, higher than 21% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 4.2 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N |
| GitHub | 3.1 | 4.2 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N |
| NVD | 3.1 | 4.2 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| rubygems | rack | <2.2.14 |
2.2.14 |
Affected products
- rack rack
Classification
References
-
github.com
/rack/rack/commit/c48e52f7c57e99e1e1bf54c8760d4f082cd1c89d
web, patch
-
github.com
/rack/rack/security/advisories/GHSA-vpfw-47h7-xj4g
web, mitigation, vendor-advisory
-
github.com
/rack/rack/blob/v2.2.13/lib/rack/session/abstract/id.rb#L263-L270
web, product
-
github.com
/rack/rack-session/security/advisories/GHSA-9j94-67jr-4cqj
web
-
nvd.nist.gov
/vuln/detail/CVE-2025-32441
advisory
-
github.com
/rack/rack
package
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2025-32441.yml
web
Sources
- CVE List CVE-2025-32441
- GitHub Advisory GHSA-vpfw-47h7-xj4g
- NVD CVE-2025-32441
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.