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


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
8.35% (95th 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-20059
  • published6 Feb 2013
  • disclosed6 Feb 2013
  • creditUnknown

Introduced: 6 Feb 2013

CVE-2013-0263  (opens in a new tab)
CWE-208  (opens in a new tab)

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.

CVSS Scores

version 3.1