Timing Attack Affecting activerecord-session_store package, versions <2.0.0


0.0
medium

Snyk CVSS

    Attack Complexity Low

    Threat Intelligence

    EPSS 0.16% (53rd percentile)
Expand this section
NVD
5.3 medium
Expand this section
Red Hat
5.3 medium

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-RUBY-ACTIVERECORDSESSIONSTORE-1082887
  • published 5 Mar 2021
  • disclosed 5 Mar 2021
  • credit Unknown

How to fix?

Upgrade activerecord-session_store to version 2.0.0 or higher.

Overview

activerecord-session_store is an Action Dispatch session store backed by an Active Record class.

Affected versions of this package are vulnerable to Timing Attack. It 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.