Timing Attack Affecting railties package, versions <5.0.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

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-RAILTIES-20454
  • published 25 Dec 2017
  • disclosed 2 Oct 2015
  • credit Unknown

Introduced: 2 Oct 2015

CVE NOT AVAILABLE CWE-208 Open this link in a new tab

How to fix?

Upgrade railties to version 5.0.0.beta1 or higher.

Overview

railties is Rails internals: application bootup, plugins, generators, and rake tasks.

Affected versions of the package are vulnerable to Timing Attack via the runtime header, which returns the amount of time spent on the server. You can read more about timing attacks (using Node.js as an example) on the Snyk blog: https://snyk.io/blog/node-js-timing-attack-ccc-ctf/

References

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
5.3 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    Low
  • Integrity (I)
    None
  • Availability (A)
    None