Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. activerecord-session_store
  4. ›
  5. CVE-2019-25025

CVE-2019-25025: Observable Timing Discrepancy

March 5, 2021 (updated March 15, 2021)

The activerecord-session_store (aka Active Record Session Store) component 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.

References

  • github.com/rails/activerecord-session_store/pull/151
  • nvd.nist.gov/vuln/detail/CVE-2019-25025

Code Behaviors & Features

Detect and mitigate CVE-2019-25025 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 1.1.3

Fixed versions

  • 2.0.0

Solution

Upgrade to version 2.0.0 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-208: Observable Timing Discrepancy

Source file

gem/activerecord-session_store/CVE-2019-25025.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:46 +0000.