Live threats

All CVEs / Rack

CVE-2019-16782Rack

Medium 5.9 No auth needed

Priority
51
CVSS 3.1
5.9
EPSS
3.7%
probability of exploitation in 30 days · percentile 91
Auth required
No
Published
Dec 18, 2019
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-208, CWE-203
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Rack.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
RubyGems rack < 1.6.12 1.6.12 gem "rack", ">= 1.6.12"
RubyGems rack ≥ 2.0.0 < 2.0.8 2.0.8 gem "rack", ">= 2.0.8"

Per OSV / GitHub Advisories (GHSA-hrqr-hxpp-chr3). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
rackrack< 1.6.12
rackrack≥ 2.0.0 < 2.0.8
fedoraprojectfedora31
opensuseleap15.1

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.