Race Condition Affecting ruby3.4-rails-7.2 package, versions <7.2.2.1-r7


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.4% (37th percentile)

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 IDSNYK-CHAINGUARDLATEST-RUBY34RAILS72-10117490
  • published12 May 2025
  • disclosed8 May 2025

Introduced: 8 May 2025

CVE-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?

Upgrade Chainguard ruby3.4-rails-7.2 to version 7.2.2.1-r7 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ruby3.4-rails-7.2 package and not the ruby3.4-rails-7.2 package as distributed by Chainguard. See How to fix? for Chainguard 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