Skip to content
OpenAdvisories
Medium · 4.2 CVE-2025-46336 EUVD-2025-14006GHSA-9j94-67jr-4cqj

Rack session gets restored after deletion

Published May 8, 2025 · Updated May 8, 2025 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
rack rack-session >= 2.0.0, < 2.1.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 ruby-rack-session 2.1.1-0.1 —
Debian 13 ruby-rack-session 2.1.1-0.1 —
ReleasePackageFixed inAdvisory
Ubuntu 25.04 ruby-rack No fix yet —
Ubuntu 24.04 LTS ruby-rack No fix yet —
Ubuntu 22.04 LTS ruby-rack No fix yet —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS ruby-rack No fix yet —
Ubuntu Pro 18.04 LTS ruby-rack No fix yet —
Ubuntu Pro 16.04 LTS ruby-rack No fix yet —
Ubuntu Pro 14.04 LTS ruby-rack No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed rubygem-rack-session 2.1.1-1.1 openSUSE-SU-2026:10359-1, openSUSE-SU-2025:15623-1

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling logstash-8-with-output-opensearch 8.18.1-r1 —

Affected packages

EcosystemPackageAffectedFixedRecord
RubyGems rack-session >= 2.0.0, < 2.1.1 2.1.1 GHSA-9j94-67jr-4cqj

Advisories 2

References