GitHub Advisoryadvisory · RubyGems
GHSA-cvw2-xj8r-mjf7 Activerecord-session_store Vulnerable to Timing Attack
MEDIUM
Official page ↗
- Aliases
- CVE-2019-25025
- Ecosystem
- RubyGems
- Packages
- activerecord-session_store
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- Weaknesses
- CWE-208
- Reviewed
- 2021-03-09
Affected packages
• RubyGems activerecord-session_store: < 2.0.0 → fixed in 2.0.0
Description
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.
Recommendation
This has been fixed in version 2.0.0. All users are advised to update to this version or later.
Related
Alias · CVE (1)
- CVE-2019-25025 The activerecord-session_store (aka Active Record Session Store) component through 1.1.3 for Ruby on Rails does not use a constant-time… vulnerability
Weakness · CWE (1)
- CWE-208 Observable Timing Discrepancy weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-25025 advisory
- https://github.com/rails/activerecord-session_store/pull/151 web
- https://github.com/rails/activerecord-session_store/commit/9d4dd113d3010b82daaadf0b0ee6b9fb2afb2160 web
- https://github.com/rails/activerecord-session_store package
- https://github.com/rails/activerecord-session_store/releases/tag/v2.0.0 web
- https://github.com/rubysec/ruby-advisory-db/blob/master/activerecord-session_store/CVE-2019-25025.yml web
- https://rubygems.org/gems/activerecord-session_store web