VDB

CVE-2019-16782

CVE-2019-16782 PUBLISHED CVSS 6.3 MEDIUM

Possible Information Leak / Session Hijack Vulnerability in Rack

Reported by github_m · Published December 18, 2019

rack is fixed in 2.0.8 and 1.6.12 (RubyGems)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
rackRubyGems2.0.8, 1.6.12
rackrack2.0.8, 1.6.12
ruby-rackUbuntu:Pro:14.04:LTS1.5.2-3+deb8u3ubuntu1~esm3

Risk scores

CVSS 3.1
6.3
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N

Affected products

VendorProductVersions
rackrackbefore 1.6.12 or 2.0.8
RubyGemsrack0, 2.0.0
rackrack1.6.12

Timeline

  • Dec 18, 2019 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Mar 6, 2026 Distribution Patch (2 in total, the first dated here)
  • Mar 6, 2026 Security Advisory (8 in total, the first dated here)
  • Sep 13, 2026 Coalition ESS Score
  • Sep 20, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2019-16782
vulnetix vdb fixes CVE-2019-16782

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2019-16782/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›