rack-protection gem timing attack vulnerability when validating CSRF token
Moderate severity
GitHub Reviewed
Published
Mar 7, 2018
to the GitHub Advisory Database
•
Updated Aug 29, 2023
Package
Affected versions
< 1.5.5
>= 2.0.0.beta1, <= 2.0.0.rc3
Patched versions
1.5.5
2.0.0
Description
Published to the GitHub Advisory Database
Mar 7, 2018
Reviewed
Jun 16, 2020
Last updated
Aug 29, 2023
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.
References