CVE-2025-46336CWE-362CWE-367CWE-613

Rack session gets restored after deletion

Medium · published May 8, 2025

CVSS v3.1
4.2
EPSS
0%
Percentile
25.2
In the wild
Unconfirmed
What it is

Rack::Session is a session management implementation for Rack. In versions starting from 2.0.0 to before 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. This issue has been patched in version 2.1.1.

The record
Technical detail
CVSS v3.1
4.2 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
CVSS v4.0
Not supplied
EPSS
0.00332 · 25.2th percentile
Weaknesses
CWE-362 · Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition'); CWE-367 · Time-of-check Time-of-use (TOCTOU) Race Condition; CWE-613 · Insufficient Session Expiration
Published
2025-05-08T19:26Z
EPSS history
Timeline
  • 08 MAY 19:26Z
    Rack session gets restored after deletion
    cvelistv5