Rubysec

Providing security resources for the Ruby community.
Follow us @rubysec or email us via info at rubysec.com

Advisory Archive

Back

---
gem: rack-protection
date: 2018-03-07
url: https://github.com/sinatra/rack-protection/pull/98
cve: 2018-1000119
title: rack-protection gem timing attack vulnerability when validating CSRF token
description: |
  Sinatra rack-protection versions 1.5.4 and 2.0.0.rc3 and earlier contains
  a timing attack vulnerability in the CSRF token checking that can result in signatures
  can be exposed. This attack appear to be exploitable via network connectivity to
  the ruby application.
cvss_v2: '4.3'
cvss_v3: '5.9'
patched_versions:
- "~> 1.5.5"
- ">= 2.0.0"