Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2025-46336 Details

ANALYZED


This CVE record has been analyzed and enriched by NVDAPI.com as an independent party.

Description

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.

Metrics

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

Weakness Enumeration

CWE-IDCWE NameSource
CWE-362Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')[email protected]
CWE-367Time-of-check Time-of-use (TOCTOU) Race Condition[email protected]
CWE-613Insufficient Session Expiration[email protected]

Affected Products

ProductVersions
Rack::Session::Pool
All versions

CPE

  • No CPEs found in CPE dictionary for this product.

Remediation

  • No remediation found in references.
Rack
>= 2.0.0, < 2.1.1 (semver)

CPE

  • cpe:2.3:a:rack:rack:*:*:*:*:*:ruby:*:*
  • cpe:2.3:a:rack_project:rack:*:*:*:*:*:*:*:*
  • cpe:2.3:a:rack_project:rack:*:*:*:*:*:ruby:*:*

Remediation

  • Upgrade: 2.1.1moderate effort
  • Mitigation:low effort

    Ensure your 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.

  • Mitigation:low effort

    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.

Change History

3 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2025-46336
NVD Published Date:
May 8, 2025
NVD Last Modified:
Jun 17, 2026
Source:
[email protected]
CVE-2025-46336 Details - Not Deferred