CVE-2019-16782 — Vulnerability in rack — CVE Details
Possible Information Leak / Session Hijack Vulnerability in Rack
Summary
Advisory Timeline
- First published December 18, 2019 (2490 days ago).
- Last revised September 10, 2026 — 2457 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
gem install rack -v 1.6.12
gem install rack -v 2.0.8
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (2)
Affects 1 ecosystem: rubygems (1).
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-203
- CWE-208
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 6.3 score means for each attack dimension.
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N
References
- https://github.com/rack/rack/security/advisories/GHSA-hrqr-hxpp-chr3WEB
- https://nvd.nist.gov/vuln/detail/CVE-2019-16782ADVISORY
- https://github.com/rack/rack/commit/7fecaee81f59926b6e1913511c90650e76673b38WEB
- https://github.com/rack/rackPACKAGE
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack/CVE-2019-16782.ymlWEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HZXMWILCICQLA2BYSP6I2CRMUG53YBLXWEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/HZXMWILCICQLA2BYSP6I2CRMUG53YBLXWEB
- https://lists.opensuse.org/opensuse-security-announce/2020-02/msg00016.htmlWEB
- https://www.openwall.com/lists/oss-security/2019/12/18/2WEB
- https://www.openwall.com/lists/oss-security/2019/12/18/3WEB
- https://www.openwall.com/lists/oss-security/2019/12/19/3WEB
- https://www.openwall.com/lists/oss-security/2020/04/08/1WEB
- https://www.openwall.com/lists/oss-security/2020/04/09/2WEB
Frequently Asked Questions
- What is CVE-2019-16782?
- Possible Information Leak / Session Hijack Vulnerability in Rack This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 6.3/10).
- How do I check if my project is affected by CVE-2019-16782?
- CVE-2019-16782 affects rack. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2019-16782 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation requires specific conditions or has limited impact. Remediate within weeks.
Also Known As
Related CVEs
- CVE-2022-30122HIGH
Denial of Service Vulnerability in Rack Multipart Parsing
- CVE-2020-8184HIGH
Rack allows Percent-encoded cookies to overwrite existing prefixed cookie names
- CVE-2026-22860HIGH
Rack has a Directory Traversal via Rack:Directory
- CVE-2025-61770HIGH
Rack's unbounded multipart preamble buffering enables DoS (memory exhaustion)
- CVE-2026-34831MEDIUM
Rack has Content-Length mismatch in Rack::Files error responses
- CVE-2026-34786MEDIUM
Rack:: Static header_rules bypass via URL-encoded paths
- CVE-2026-32762MEDIUM
Rack: Forwarded Header semicolon injection enables Host and Scheme spoofing
- CVE-2026-34830MEDIUM
Rack::Sendfile header-based X-Accel-Mapping regex injection enables unauthorized X-Accel-Redirect
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies