CVE-2019-16782

Possible Information Leak / Session Hijack Vulnerability in Rack

MEDIUM
5.9
CVSS Score
Published: December 18, 2019 at 07:05 PM UTC
Updated: June 17, 2026 at 02:22 AM UTC
3 products affected across 3 vendorsFedoraLeapRack

Using rack by rack?

Get instant alerts when new vulnerabilities affect rack - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.9
Exploit prediction
EPSS 4%

Description

There's a possible information leak / session hijack vulnerability in Rack (RubyGem rack). This vulnerability is patched in versions 1.6.12 and 2.0.8. Attackers may be able to find and hijack sessions by using timing attacks targeting the session id. Session ids are usually stored and indexed in a database that uses some kind of scheme for speeding up lookups of that session id. By carefully measuring the amount of time it takes to look up a session, an attacker may be able to find a valid session id and hijack the session. The session id itself may be generated randomly, but the way the session is indexed by the backing store does not use a secure comparison.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

Rack· Rackrubygems
95%
v < 1.6.122.0.0 ≤ v < 2.0.8
Affected range stops below 1.6.12, so it looks safe — our inference, not a vendor statement
Affected range stops below 2.0.8, so it looks safe — our inference, not a vendor statement

References (9)

Mailing Listx_refsource_MLISTThird Party Advisory
http://www.openwall.com/lists/oss-security/2019/12/18/2
Mailing Listx_refsource_MLISTThird Party Advisory
http://www.openwall.com/lists/oss-security/2019/12/18/3
Mailing Listx_refsource_MLISTThird Party Advisory
http://www.openwall.com/lists/oss-security/2019/12/19/3
Mailing Listx_refsource_MLISTPatchThird Party Advisory
http://www.openwall.com/lists/oss-security/2020/04/08/1
Mailing Listx_refsource_MLISTThird Party Advisory
http://www.openwall.com/lists/oss-security/2020/04/09/2

CVSS

Attack Vector
NETWORK
Complexity
HIGH
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-208CWE-203

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card