Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')
CVE-2025-46336
Summary
Rack::Session is a session management implementation for Rack. In rack-session versions 2.0.x prior to 2.1.1, 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.
- HIGH
- NETWORK
- LOW
- UNCHANGED
- NONE
- LOW
- LOW
- NONE
CWE-362 - Race Condition
A race condition occurs in a shared memory program when two threads/processes access the same shared memory data, and at least one thread executes a write operation. This vulnerability manipulates the time to check vs. time to use (TOC/TOU) gap between the threads in the critical section to cause disorientation in the shared data. The impact can vary from compromising the confidentiality of the system to causing the system to crash or to execute arbitrary code.
References
Advisory Timeline
- Published