Timing Attack Affecting sinatra package, versions >=2.0.0.beta1, <2.0.0 <1.5.5
Snyk CVSS
Attack Complexity
High
Confidentiality
High
Threat Intelligence
EPSS
0.18% (55th
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 ID SNYK-RUBY-SINATRA-20488
- published 10 Jan 2018
- disclosed 25 May 2015
- credit Unknown
Introduced: 25 May 2015
CVE-2018-1000119 Open this link in a new tabHow to fix?
Upgrade sinatra
to versions 1.5.5, 2.0.0 or higher.
Overview
sinatra is a DSL for quickly creating web applications in Ruby.
Affected versions of this package are vulnerable to Timing Attack when checking the CSRF token. It did not use a constant time comparison for the CSRF tokens. As a result, the comparison will fail faster when the first characters in the token are incorrect.