CVE-2019-16782
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
rackRubyGems | < 1.6.12 | 1.6.12 |
rackRubyGems | >= 2.0.0, < 2.0.8 | 2.0.8 |
Affected products
19- cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*
- ghsa-coords15 versionspkg:gem/rackpkg:rpm/opensuse/ruby3.2-rubygem-rack&distro=openSUSE%20Tumbleweedpkg:rpm/opensuse/ruby3.2-rubygem-rack-2.2&distro=openSUSE%20Tumbleweedpkg:rpm/opensuse/rubygem-actionpack-6.0&distro=openSUSE%20Tumbleweedpkg:rpm/opensuse/rubygem-rack&distro=openSUSE%20Leap%2015.1pkg:rpm/opensuse/rubygem-rack&distro=openSUSE%20Tumbleweedpkg:rpm/opensuse/rubygem-rack-2.2&distro=openSUSE%20Tumbleweedpkg:rpm/suse/rubygem-actionpack-4_2&distro=SUSE%20OpenStack%20Cloud%207pkg:rpm/suse/rubygem-actionpack-4_2&distro=SUSE%20OpenStack%20Cloud%20Crowbar%208pkg:rpm/suse/rubygem-actionpack-4_2&distro=SUSE%20OpenStack%20Cloud%20Crowbar%209pkg:rpm/suse/rubygem-rack&distro=SUSE%20Linux%20Enterprise%20High%20Availability%20Extension%2015pkg:rpm/suse/rubygem-rack&distro=SUSE%20Linux%20Enterprise%20High%20Availability%20Extension%2015%20SP1pkg:rpm/suse/rubygem-rack&distro=SUSE%20OpenStack%20Cloud%207pkg:rpm/suse/rubygem-rack&distro=SUSE%20OpenStack%20Cloud%20Crowbar%208pkg:rpm/suse/rubygem-rack&distro=SUSE%20OpenStack%20Cloud%20Crowbar%209
< 1.6.12+ 14 more
- (no CPE)range: < 1.6.12
- (no CPE)range: < 3.0.7-1.2
- (no CPE)range: < 2.2.7-1.1
- (no CPE)range: < 6.0.4.4-1.1
- (no CPE)range: < 2.0.8-lp151.3.3.1
- (no CPE)range: < 2.2.3.1-1.1
- (no CPE)range: < 2.2.4-1.1
- (no CPE)range: < 4.2.9-7.9.1
- (no CPE)range: < 4.2.9-7.9.1
- (no CPE)range: < 4.2.9-7.9.1
- (no CPE)range: < 2.0.8-3.3.1
- (no CPE)range: < 2.0.8-3.3.1
- (no CPE)range: < 1.6.13-3.8.1
- (no CPE)range: < 1.6.13-3.8.1
- (no CPE)range: < 1.6.13-3.8.1
Patches
Vulnerability mechanics
References
14- www.openwall.com/lists/oss-security/2020/04/08/1nvdMailing ListPatchThird Party AdvisoryWEB
- github.com/rack/rack/commit/7fecaee81f59926b6e1913511c90650e76673b38nvdPatchThird Party AdvisoryWEB
- lists.opensuse.org/opensuse-security-announce/2020-02/msg00016.htmlnvdThird Party AdvisoryWEB
- www.openwall.com/lists/oss-security/2019/12/18/2nvdMailing ListThird Party AdvisoryWEB
- www.openwall.com/lists/oss-security/2019/12/18/3nvdMailing ListThird Party AdvisoryWEB
- www.openwall.com/lists/oss-security/2019/12/19/3nvdMailing ListThird Party AdvisoryWEB
- www.openwall.com/lists/oss-security/2020/04/09/2nvdMailing ListThird Party AdvisoryWEB
- github.com/advisories/GHSA-hrqr-hxpp-chr3ghsaADVISORY
- github.com/rack/rack/security/advisories/GHSA-hrqr-hxpp-chr3nvdThird Party AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2019-16782ghsaADVISORY
- github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2019-16782.ymlghsaWEB
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HZXMWILCICQLA2BYSP6I2CRMUG53YBLXghsaWEB
- lists.fedoraproject.org/archives/list/[email protected]/message/HZXMWILCICQLA2BYSP6I2CRMUG53YBLXghsaWEB
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HZXMWILCICQLA2BYSP6I2CRMUG53YBLX/nvd
News mentions
0No linked articles in our index yet.