Medium, CVSS 5.9RubyGemsPublished
rack-protection gem timing attack vulnerability when validating CSRF token
CVE-2018-1000119 · GHSA-688c-3x49-6rqj
- Affected
- RubyGems rack-protection < 1.5.5; >= 2.0.0.beta1, <= 2.0.0.rc3
- Fixed in
- 2.0.01.5.5· Vendor fix available
- Issue
- 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. This vulnerability appears to have been fixed in 1.5.5 and 2.0.0.
Recommended action: Upgrade to 2.0.0 or 1.5.5 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.