Race Condition Affecting ruby-rack-session package, versions *


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Race Condition vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DEBIAN13-RUBYRACKSESSION-10079002
  • published9 May 2025
  • disclosed8 May 2025

Introduced: 8 May 2025

NewCVE-2025-46336  (opens in a new tab)
CWE-362  (opens in a new tab)
CWE-367  (opens in a new tab)
CWE-613  (opens in a new tab)

How to fix?

There is no fixed version for Debian:13 ruby-rack-session.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ruby-rack-session package and not the ruby-rack-session package as distributed by Debian. See How to fix? for Debian:13 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1