CVE-2025-46336

Publication date 8 May 2025

Last updated 22 July 2025


Ubuntu priority

Cvss 3 Severity Score

4.2 · Medium

Score breakdown

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.

Read the notes from the security team

Status


Notes


hlibk

Before ruby-rack version 3, the code was not split between ruby-rack and ruby-rack-session. Therefore, ruby-rack is affected for versions below 3. For versions of ruby-rack 3 or more, ruby-rack-session is affected instead. Upstream assigned two CVEs for the same vulnerability. For ruby-rack, this vulnerability is categorized as CVE-2025-32441. For ruby-rack-session, the vulnerability is CVE-2025-46336.

Severity score breakdown

Parameter Value
Base score 4.2 · Medium
Attack vector Network
Attack complexity High
Privileges required Low
User interaction None
Scope Unchanged
Confidentiality Low
Integrity impact Low
Availability impact None
Vector CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N