Information Exposure Affecting rack package, versions <1.6.12>=2.0.0.alpha, <2.0.8


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.25% (66th percentile)

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 IDSNYK-RUBY-RACK-538324
  • published19 Dec 2019
  • disclosed18 Dec 2019
  • creditWill Leinweber

Introduced: 18 Dec 2019

CVE-2019-16782  (opens in a new tab)
CWE-200  (opens in a new tab)

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

CVSS Scores

version 3.1