Security mailing lists by PureSourceCode

CVE-2019-16782

MEDIUM 5.9CVSS 3.1

Possible Information Leak / Session Hijack Vulnerability in Rack

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.

Published
18 Dec 2019
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-203CWE-208
Also known as
GHSA-hrqr-hxpp-chr3
Sources
NVDJSONOSV GHSA-hrqr-hxpp-chr3JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 6.3 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N
OSV GitHub CVSS 3.1 MEDIUM 6.3 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.3 AV:N/AC:M/Au:N/C:P/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD rack rack
cpe:2.3:a:rack:rack:*:*:*:*:*:ruby:*:*
< 1.6.12 1.6.12
NVD rack rack
cpe:2.3:a:rack:rack:*:*:*:*:*:ruby:*:*
>= 2.0.0, < 2.0.8 2.0.8
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*
= 31
NVD opensuse leap
cpe:2.3:o:opensuse:leap:15.1:*:*:*:*:*:*:*
= 15.1
OSV RubyGems rack < 1.6.12 1.6.12
OSV RubyGems rack >= 2.0.0, < 2.0.8 2.0.8

References

History

  • 25 Nov 2026 20:31 UTC · NVD: first stored (published 18 Dec 2019)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 18 Dec 2019)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.