Information Exposure Affecting rack package, versions <1.6.12 >=2.0.0.alpha, <2.0.8
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-RUBY-RACK-538324
- published 19 Dec 2019
- disclosed 18 Dec 2019
- credit Will Leinweber
Introduced: 18 Dec 2019
CVE-2019-16782 Open this link in a new tabHow to fix?
Upgrade rack
to version 1.6.12, 2.0.8 or higher.
Overview
rack is a minimal, modular and adaptable interface for developing web applications in Ruby. By wrapping HTTP requests and responses in the simplest way possible, it unifies and distills the API for web servers, web frameworks, and software in between (the so-called middleware) into a single method call.
Affected versions of this package are vulnerable to Information Exposure. 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.