Timing Attack Affecting rack package, versions < 1.5.2, >= 1.5 < 1.4.5, >= 1.4 < 1.3.10, >= 1.3 < 1.2.8, >= 1.2 < 1.1.6


0.0
medium

Snyk CVSS

    Attack Complexity High

    Threat Intelligence

    EPSS 8.35% (95th percentile)
Expand this section
NVD
5.6 medium

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-20059
  • published 6 Feb 2013
  • disclosed 6 Feb 2013
  • credit Unknown

How to fix?

Upgrade rack to version 1.1.6, 1.2.8, 1.3.10, 1.4.5, 1.5.2 or higher.

Overview

rack is a minimal, modular and adaptable interface for developing web applications in Ruby. Affected versions of this Gem are vulnerable to Remote Code Execution due to an error in the Rack::Session::Cookie function. It allows a remote attackers to guess the session cookie, gain privileges, and execute arbitrary code via a timing attack involving an HMAC comparison function that does not run in constant time.