CVE-2019-16782
CVE-2019-16782 · Possible Information Leak / Session Hijack Vulnerability in Rack
CVSS 6.3 · Medium · EPSS 3.7% · Fix available
Compare with your installed version
Affected products and known fixed versions are public information. Compare them with your installed version.
- rackNo fix published
- ruby-rack Debian 12Update to 2.1.1-2
- ruby-rack Debian 13Update to 2.1.1-2
- ruby-rack Debian 14Update to 2.1.1-2
- and 5 more
Check the installed version:
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="ruby-rack"'Assess your server’s risks
The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.
Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.
curl -fsSL https://patchfirst.dev/check.sh | shChannels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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
- Updated
Fixes in distributions
- openSUSE-SU-2026:10358-1 · openSUSE Tumbleweed ·
- openSUSE-SU-2026:10286-1 · openSUSE Tumbleweed ·
- openSUSE-SU-2025:14875-1 · openSUSE Tumbleweed ·
- openSUSE-SU-2025:14811-1 · openSUSE Tumbleweed ·
- RHSA-2021:1313 · Red Hat satellite 6.9 el7, Red Hat satellite capsule 6.9 el7 ·
- RHSA-2020:4366 · Red Hat satellite 6.8 el7, Red Hat satellite capsule 6.8 el7 ·
- RHSA-2020:2480 · Red Hat cloudforms managementengine 5.11 el8 ·
- openSUSE-SU-2024:11821-1 · openSUSE Tumbleweed ·
- openSUSE-SU-2024:12119-1 · openSUSE Tumbleweed ·
- openSUSE-SU-2024:12397-1 · openSUSE Tumbleweed ·
- openSUSE-SU-2024:12974-1 · openSUSE Tumbleweed ·
- openSUSE-SU-2024:13167-1 · openSUSE Tumbleweed ·
- openSUSE-SU-2024:13726-1 · openSUSE Tumbleweed ·
- openSUSE-SU-2024:13727-1 · openSUSE Tumbleweed ·
- USN-5253-1 · Ubuntu Pro 14.04 LTS, Ubuntu Pro 16.04 LTS, Ubuntu Pro 18.04 LTS, Ubuntu Pro 20.04 LTS ·
- SUSE-SU-2021:1162-1 · SUSE OpenStack Cloud 7, SUSE OpenStack Cloud Crowbar 8, SUSE OpenStack Cloud Crowbar 9 ·
- SUSE-SU-2020:2678-1 · SUSE OpenStack Cloud 7, SUSE OpenStack Cloud Crowbar 8, SUSE OpenStack Cloud Crowbar 9 ·
- openSUSE-SU-2020:0214-1 · openSUSE Leap 15.1 ·
- SUSE-SU-2020:0359-1 · SUSE Linux Enterprise High Availability Extension 15, SUSE Linux Enterprise High Availability Extension 15 SP1 ·
Affected products and versions
rack
- Versions
- before 1.6.12 or 2.0.8: Affected
No fix published
ruby-rack Debian 12
- Affected ranges
- ECOSYSTEM: < 2.1.1-2
Update to 2.1.1-2
ruby-rack Debian 13
- Affected ranges
- ECOSYSTEM: < 2.1.1-2
Update to 2.1.1-2
ruby-rack Debian 14
- Affected ranges
- ECOSYSTEM: < 2.1.1-2
Update to 2.1.1-2
rack RubyGems
- Versions
- 0.1.0
- 0.2.0
- 0.3.0
- 0.4.0
- 0.9.0
- 0.9.1
All versions (68)
- 1.0.0
- 1.0.1
- 1.1.0
- 1.1.1
- 1.1.1.pre
- 1.1.2
- 1.1.3
- 1.1.4
- 1.1.5
- 1.1.6
- 1.2.0
- 1.2.1
- 1.2.2
- 1.2.3
- 1.2.4
- 1.2.5
- 1.2.6
- 1.2.7
- 1.2.8
- 1.3.0
- 1.3.0.beta
- 1.3.0.beta2
- 1.3.1
- 1.3.10
- 1.3.2
- 1.3.3
- 1.3.4
- 1.3.5
- 1.3.6
- 1.3.7
- 1.3.8
- 1.3.9
- 1.4.0
- 1.4.1
- 1.4.2
- 1.4.3
- 1.4.4
- 1.4.5
- 1.4.6
- 1.4.7
- 1.5.0
- 1.5.0.beta.1
- 1.5.0.beta.2
- 1.5.1
- 1.5.2
- 1.5.3
- 1.5.4
- 1.5.5
- 1.6.0
- 1.6.0.beta
- 1.6.0.beta2
- 1.6.1
- 1.6.10
- 1.6.11
- 1.6.2
- 1.6.3
- 1.6.4
- 1.6.5
- 1.6.6
- 1.6.7
- 1.6.8
- 1.6.9
- Affected ranges
- ECOSYSTEM: < 1.6.12
Update to 1.6.12
rack RubyGems
- Versions
- 2.0.1
- 2.0.2
- 2.0.3
- 2.0.4
- 2.0.5
- 2.0.6
All versions (7)
- 2.0.7
- Affected ranges
- ECOSYSTEM: ≥ 2.0.0, < 2.0.8
Update to 2.0.8
ruby-rack Ubuntu Pro 14.04 LTS
- Versions
- 1.5.2-1
- 1.5.2-1ubuntu0.1~esm1
- 1.5.2-3+deb8u3ubuntu1~esm2
- Affected ranges
- ECOSYSTEM: < 1.5.2-3+deb8u3ubuntu1~esm3
Update to 1.5.2-3+deb8u3ubuntu1~esm3
ruby-rack Ubuntu Pro 16.04 LTS
- Versions
- 1.5.2-4
- 1.6.4-2
- 1.6.4-3
- 1.6.4-3ubuntu0.1
- 1.6.4-3ubuntu0.2
- Affected ranges
- ECOSYSTEM: < 1.6.4-3ubuntu0.2+esm1
Update to 1.6.4-3ubuntu0.2+esm1
ruby-rack Ubuntu Pro 18.04 LTS
- Versions
- 1.6.4-4
- 1.6.4-4ubuntu0.1
- 1.6.4-4ubuntu0.2
- Affected ranges
- ECOSYSTEM: < 1.6.4-4ubuntu0.2+esm1
Update to 1.6.4-4ubuntu0.2+esm1
ruby-rack Ubuntu Pro 20.04 LTS
- Versions
- 2.0.6-3
- 2.0.7-2
- 2.0.7-2ubuntu0.1
- Affected ranges
- ECOSYSTEM: < 2.0.7-2ubuntu0.1+esm1
Update to 2.0.7-2ubuntu0.1+esm1
Original sources
- https://github.com/rack/rack/security/advisories/GHSA-hrqr-hxpp-chr3
- https://github.com/rack/rack/commit/7fecaee81f59926b6e1913511c90650e76673b38
- http://www.openwall.com/lists/oss-security/2019/12/18/3
- http://www.openwall.com/lists/oss-security/2019/12/18/2
- http://www.openwall.com/lists/oss-security/2019/12/19/3
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HZXMWILCICQLA2BYSP6I2CRMUG53YBLX/
- http://lists.opensuse.org/opensuse-security-announce/2020-02/msg00016.html
- http://www.openwall.com/lists/oss-security/2020/04/08/1
- http://www.openwall.com/lists/oss-security/2020/04/09/2
- https://nvd.nist.gov/vuln/detail/CVE-2019-16782