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


0.0
medium

Snyk CVSS

    Attack Complexity High
    Confidentiality High

    Threat Intelligence

    EPSS 0.18% (55th percentile)
Expand this section
NVD
5.9 medium
Expand this section
Red Hat
3.7 low

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-RACKPROTECTION-20395
  • published 2 Aug 2017
  • disclosed 24 May 2015
  • credit Unknown

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