CVEfocus › CVE database › CVE-2019-16782

CVE-2019-16782Possible Information Leak / Session Hijack Vulnerability in Rack

CVSS 6.3 MediumEPSS 3.7% (higher than 91% of CVEs)Published 2019-12-18Updated 2024-08-05Assigner: GitHub_M

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.

CWE-208

What to do

Fixed builds are available from Debian, RubyGems: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fixed
4Fix pending
1Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04ruby-rackNot affected
vulnerable_code_not_present
Ubuntu 20.04ruby-rackFix pending2.0.7-2ubuntu0.1+esm1 (Ubuntu Pro)UBUNTU-CVE-2019-16782
Ubuntu 18.04ruby-rackFix pending1.6.4-4ubuntu0.2+esm1 (Ubuntu Pro)UBUNTU-CVE-2019-16782
Ubuntu 16.04ruby-rackFix pending1.6.4-3ubuntu0.2+esm1 (Ubuntu Pro)UBUNTU-CVE-2019-16782
Ubuntu 14.04ruby-rackFix pending1.5.2-3+deb8u3ubuntu1~esm3 (Ubuntu Pro)UBUNTU-CVE-2019-16782
Debian 14ruby-rackFixed2.1.1-2DEBIAN-CVE-2019-16782
Debian 13ruby-rackFixed2.1.1-2DEBIAN-CVE-2019-16782
Debian 12ruby-rackFixed2.1.1-2DEBIAN-CVE-2019-16782
RubyGems libraryrackFixed2.0.8GHSA-hrqr-hxpp-chr3

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.