{"schema_version":"1.7.3","id":"GHSA-cvw2-xj8r-mjf7","published":"2021-03-09T00:45:31Z","modified":"2024-02-16T08:10:03.472082Z","aliases":["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.","affected":[{"package":{"name":"activerecord-session_store","ecosystem":"RubyGems","purl":"pkg:gem/activerecord-session_store"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.0"}]}],"versions":["0.0.1","0.1.0","0.1.1","0.1.1.pre","0.1.2","1.0.0","1.0.0.pre","1.1.0","1.1.1","1.1.2","1.1.3"],"database_specific":{"last_known_affected_version_range":"<= 1.1.3","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/03/GHSA-cvw2-xj8r-mjf7/GHSA-cvw2-xj8r-mjf7.json"}}],"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-25025"},{"type":"WEB","url":"https://github.com/rails/activerecord-session_store/pull/151"},{"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"}],"database_specific":{"cwe_ids":["CWE-208"],"github_reviewed":true,"github_reviewed_at":"2021-03-09T00:45:19Z","nvd_published_at":"2021-03-05T06:15:00Z","severity":"MODERATE"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"}]}