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

- Severity: Medium 6.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 3.70%, higher than 90% of CVEs (2026-12-01)
- Published: 2019-12-18T19:01:31.000Z
- Modified: 2026-09-10T03:49:24.917Z
- Also known as: GHSA-hrqr-hxpp-chr3
- Weaknesses: CWE-203, CWE-208
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- rack rack: before 1.6.12 or 2.0.8; before 1.6.12; from 2.0.0 before 2.0.8
- rack (RubyGems): before 1.6.12; from 2.0.0 before 2.0.8
- fedoraproject fedora: 31
- opensuse leap: 15.1

## Every score

- GitHub_M: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N`
- GitHub: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N`
- NVD: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:P/I:N/A:N`

## References

- <https://github.com/rack/rack/security/advisories/GHSA-hrqr-hxpp-chr3> (third-party-advisory, web)
- <https://github.com/rack/rack/commit/7fecaee81f59926b6e1913511c90650e76673b38> (patch, third-party-advisory, web)
- <http://www.openwall.com/lists/oss-security/2019/12/18/3> (mailing-list, third-party-advisory, web)
- <http://www.openwall.com/lists/oss-security/2019/12/18/2> (mailing-list, third-party-advisory, web)
- <http://www.openwall.com/lists/oss-security/2019/12/19/3> (mailing-list, third-party-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HZXMWILCICQLA2BYSP6I2CRMUG53YBLX/> (vendor-advisory)
- <http://lists.opensuse.org/opensuse-security-announce/2020-02/msg00016.html> (third-party-advisory, vendor-advisory, web)
- <http://www.openwall.com/lists/oss-security/2020/04/08/1> (mailing-list, patch, third-party-advisory, web)
- <http://www.openwall.com/lists/oss-security/2020/04/09/2> (mailing-list, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2019-16782> (advisory)
- <https://github.com/rack/rack> (package)
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2019-16782.yml> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HZXMWILCICQLA2BYSP6I2CRMUG53YBLX> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HZXMWILCICQLA2BYSP6I2CRMUG53YBLX> (web)

## Sources

- CVE List: [CVE-2019-16782](https://www.cve.org/CVERecord?id=CVE-2019-16782), CVE Terms of Use, modified 2024-08-05
- GitHub Advisory Database: [GHSA-hrqr-hxpp-chr3](https://github.com/advisories/GHSA-hrqr-hxpp-chr3), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2019-16782](https://nvd.nist.gov/vuln/detail/CVE-2019-16782), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2019-16782 · Whole record: https://cve.day/CVE-2019-16782.json · Rebuilt by cve.day 2026-11-25T22:57:48.947Z
