Timing Attack Affecting rack-protection package, versions <1.5.5>=2.0.0.beta1, <2.0.0


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.18% (56th 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-RACKPROTECTION-20395
  • published2 Aug 2017
  • disclosed24 May 2015
  • creditUnknown

Introduced: 24 May 2015

CVE-2018-1000119  (opens in a new tab)
CWE-208  (opens in a new tab)

How to fix?

Upgrade rack-protection to versions 1.5.5, 2.0.0 or higher.

Overview

rack-protection helps protect against typical web attacks.

Affected versions of the package are vulnerable to Timing Attack due to time-variable comparison of signatures. A malicious user can guess a valid signature one char at a time by considering the time it takes a signature validation to fail.

You can read more about timing attacks on our blog

CVSS Scores

version 3.1