# CVE-2019-25025: Activerecord-session_store Vulnerable to Timing Attack

- Severity: Medium 5.3 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.86%, higher than 79% of CVEs (2026-12-02)
- Published: 2021-03-05T05:54:10.000Z
- Modified: 2026-06-17T02:31:30.247Z
- Also known as: GHSA-cvw2-xj8r-mjf7
- Weaknesses: CWE-208
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- activerecord-session_store (RubyGems): before 2.0.0
- rubyonrails active_record_session_store: up to 1.1.3

## Every score

- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:P/I:N/A:N`

## References

- <https://github.com/rails/activerecord-session_store/pull/151> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2019-25025> (advisory)
- <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)

## Sources

- CVE List: [CVE-2019-25025](https://www.cve.org/CVERecord?id=CVE-2019-25025), CVE Terms of Use, modified 2024-08-05
- GitHub Advisory Database: [GHSA-cvw2-xj8r-mjf7](https://github.com/advisories/GHSA-cvw2-xj8r-mjf7), CC-BY-4.0, modified 2024-02-16
- NVD: [CVE-2019-25025](https://nvd.nist.gov/vuln/detail/CVE-2019-25025), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2019-25025 · Whole record: https://cve.day/CVE-2019-25025.json · Rebuilt by cve.day 2026-11-25T22:57:50.128Z
