{"id":"CVE-2019-25025","aliases":["GHSA-cvw2-xj8r-mjf7"],"url":"https://o3.security/vulnerability/CVE-2019-25025","summary":"Activerecord-session_store Vulnerable to Timing Attack","details":"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. \n\n## Recommendation\n\nThis has been fixed in version 2.0.0.  All users are advised to update to this version or later.","published":"2021-03-05T06:15:12.690Z","modified":"2026-07-08T20:05:04.083153Z","cvss":{"score":5.3,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":null,"affectedPackages":[{"ecosystem":"RubyGems","name":"activerecord-session_store","fixedVersion":"2.0.0"}],"fix":{"url":"https://github.com/rails/activerecord-session_store/pull/151","label":"rails/activerecord-session_store#151"},"references":[{"type":"FIX","url":"https://github.com/rails/activerecord-session_store/pull/151"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-25025"},{"type":"WEB","url":"https://github.com/rails/activerecord-session_store/commit/9d4dd113d3010b82daaadf0b0ee6b9fb2afb2160"},{"type":"PACKAGE","url":"https://github.com/rails/activerecord-session_store"},{"type":"WEB","url":"https://github.com/rails/activerecord-session_store/releases/tag/v2.0.0"},{"type":"WEB","url":"https://github.com/rubysec/ruby-advisory-db/blob/master/activerecord-session_store/CVE-2019-25025.yml"},{"type":"WEB","url":"https://rubygems.org/gems/activerecord-session_store"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-08T20:05:04.083153Z"}}