Live threats

All CVEs / Rubyonrails

CVE-2019-25025Rubyonrails Active Record Session Store

Medium 5.3 No auth needed

Priority
47
CVSS 3.1
5.3
EPSS
1.9%
probability of exploitation in 30 days · percentile 80
Auth required
No
Published
Mar 5, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

What happens

The activerecord-session_store (aka Active Record Session Store) component through 1.1.3 for Ruby on Rails does not use a constant-time approach when delivering information about whether a guessed session ID is valid. Consequently, remote attackers can leverage timing discrepancies to achieve a correct guess in a relatively short amount of time. This is a related issue to CVE-2019-16782.

Original NVD text.

What to do

  1. Apply the vendor's security update for Active Record Session Store.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
RubyGems activerecord-session_store < 2.0.0 2.0.0 gem "activerecord-session_store", ">= 2.0.0"

Per OSV / GitHub Advisories (GHSA-cvw2-xj8r-mjf7). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
rubyonrailsactive_record_session_store≤ 1.1.3

Official sources

References

Links published by the sources. Open them with care.