CVE-2025-32441
published 2025-05-07CVE-2025-32441: 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…
PriorityP421medium4.2CVSS 3.1
AVNACHPRLUINSUCLILAN
EPSS
0.20%
10.2th percentile
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
3 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | ruby-rack | < ruby-rack 2.2.20-0+deb12u1 (bookworm) | ruby-rack 2.2.20-0+deb12u1 (bookworm) |
| rack | rack | < 2.2.14 | 2.2.14 |
| rack | rack | >= 0 < 2.2.14 | 2.2.14 |
CVSS provenance
nvdv3.14.2MEDIUMCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
osv4.2MEDIUM
vendor_debian4.2MEDIUM
vendor_redhat4.2MEDIUM
vendor_ubuntu4.2MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
ruby-rack vulnerabilities
osv·2025-05-12·CVSS 4.2
CVE-2025-32441 [MEDIUM] ruby-rack vulnerabilities
ruby-rack vulnerabilities
It was discovered that Rack incorrectly handled deleted rack sessions. An
attacker could possibly use this issue to expose sensitive information or
to gain unauthorized access to user accounts. (CVE-2025-32441)
It was discovered that Rack incorrectly limited the number of parameters
in a web request. An attacker could possibly use this issue to cause a
denial of service. This issue only affected Ubuntu 20.04 LTS, Ubuntu 22.04
LTS, Ubuntu 24.04 LTS, Ubuntu 24.10, and Ubuntu 25.04. (CVE-2025-46727)
GHSA
Rack session gets restored after deletion
ghsa·2025-05-08
CVE-2025-32441 [MEDIUM] CWE-362 Rack session gets restored after deletion
Rack session gets restored after deletion
### Summary
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.
### Details
[Rack session middleware](https://github.com/rack/rack/blob/v2.2.13/lib/rack/session/abstract/id.rb#L263-L270) 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.
### Impact
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 trigg
OSV
Rack session gets restored after deletion
osv·2025-05-08
CVE-2025-32441 [MEDIUM] Rack session gets restored after deletion
Rack session gets restored after deletion
### Summary
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.
### Details
[Rack session middleware](https://github.com/rack/rack/blob/v2.2.13/lib/rack/session/abstract/id.rb#L263-L270) 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.
### Impact
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 trigg
OSV
CVE-2025-32441: Rack is a modular Ruby web server interface
osv·2025-05-07·CVSS 4.2
CVE-2025-32441 [MEDIUM] CVE-2025-32441: Rack is a modular Ruby web server interface
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 r
Ubuntu
Rack vulnerabilities
vendor_ubuntu·2025-05-12·CVSS 4.2
CVE-2025-32441 [MEDIUM] Rack vulnerabilities
Title: Rack vulnerabilities
Summary: Rack could be made to crash or allow unintended access to network services.
It was discovered that Rack incorrectly handled deleted rack sessions. An
attacker could possibly use this issue to expose sensitive information or
to gain unauthorized access to user accounts. (CVE-2025-32441)
It was discovered that Rack incorrectly limited the number of parameters
in a web request. An attacker could possibly use this issue to cause a
denial of service. This issue only affected Ubuntu 20.04 LTS, Ubuntu 22.04
LTS, Ubuntu 24.04 LTS, Ubuntu 24.10, and Ubuntu 25.04. (CVE-2025-46727)
Instructions: In general, a standard system update will make all the necessary changes.
Red Hat
rack: Rack Session Reuse Vulnerability
vendor_redhat·2025-05-07·CVSS 4.2
CVE-2025-32441 [MEDIUM] CWE-362 rack: Rack Session Reuse Vulnerability
rack: Rack Session Reuse Vulnerability
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) adjacen
Debian
CVE-2025-32441: ruby-rack - Rack is a modular Ruby web server interface. Prior to version 2.2.14, when using...
vendor_debian·2025·CVSS 4.2
CVE-2025-32441 [MEDIUM] CVE-2025-32441: ruby-rack - Rack is a modular Ruby web server interface. Prior to version 2.2.14, when using...
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 r
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2025-05-07
Published