CVE-2019-16782Rack
Medium 5.9 No auth needed
Follow: this CVE · Rack · Rack We alert you by email or Slack (account required).
- 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
- 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.
What to do
- Apply the vendor's security update for Rack.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| rack | rack | < 1.6.12 |
| rack | rack | ≥ 2.0.0 < 2.0.8 |
| fedoraproject | fedora | 31 |
| opensuse | leap | 15.1 |
Official advisories
- ruby4.0-rubygem-rack-3.1.18-1.3 on GA media · SUSE · openSUSE-SU-2026:10358-1 · Mar 13, 2026 Critical
- ruby4.0-rubygem-rack-2.2-2.2.22-1.1 on GA media · SUSE · openSUSE-SU-2026:10286-1 · Mar 4, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- lists.opensuse.org Third Party Advisory
- www.openwall.com Mailing List Third Party Advisory
- www.openwall.com Mailing List Third Party Advisory
- www.openwall.com Mailing List Third Party Advisory
- www.openwall.com Mailing List Patch Third Party Advisory
- www.openwall.com Mailing List Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Third Party Advisory
- lists.fedoraproject.org