An open API service providing security vulnerability metadata for many open source software ecosystems.

MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTY4OGMtM3g0OS02cnFq

Moderate EPSS: 0.00427% (0.61636 Percentile) EPSS:

rack-protection gem timing attack vulnerability when validating CSRF token

Affected Packages Affected Versions Fixed Versions
rubygems:rack-protection
PURL: pkg:gem/rack-protection
>= 2.0.0.beta1, <= 2.0.0.rc3, < 1.5.5 2.0.0, 1.5.5
59 Dependent packages
127,710 Dependent repositories
452,896,905 Downloads total

Affected Version Ranges

All affected versions

0.1.0, 1.0.0, 1.1.2, 1.1.3, 1.1.4, 1.2.0, 1.3.1, 1.3.2, 1.4.0, 1.5.0, 1.5.1, 1.5.2, 1.5.3, 1.5.4, 1.5.5, 2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.0.5, 2.0.6, 2.0.7, 2.0.8, 2.1.0, 2.2.0, 2.2.1, 2.2.2, 2.2.3, 2.2.4, 3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4, 3.0.5, 3.0.6, 3.1.0, 3.2.0, 4.0.0, 4.0.1, 4.1.0, 4.1.1, 4.2.0, 4.2.1

All unaffected versions

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: