GHSA-cvw2-xj8r-mjf7

Suggest an improvement
Source
https://github.com/advisories/GHSA-cvw2-xj8r-mjf7
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/03/GHSA-cvw2-xj8r-mjf7/GHSA-cvw2-xj8r-mjf7.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-cvw2-xj8r-mjf7
Aliases
Published
2021-03-09T00:45:31Z
Modified
2023-11-01T04:50:54.354416Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N CVSS Calculator
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.

Recommendation

This has been fixed in version 2.0.0. All users are advised to update to this version or later.

References

Affected packages

RubyGems / activerecord-session_store

Package

Name
activerecord-session_store
Purl
pkg:gem/activerecord-session_store

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.0.0

Affected versions

0.*

0.0.1
0.1.0
0.1.1.pre
0.1.1
0.1.2

1.*

1.0.0.pre
1.0.0
1.1.0
1.1.1
1.1.2
1.1.3

Database specific

{
    "last_known_affected_version_range": "<= 1.1.3"
}