rack-protection 1.4.0

2 security vulnerabilities found in version 1.4.0

Path traversal is possible via backslash characters on Windows.

high severity CVE-2018-7212
high severity CVE-2018-7212
Patched versions: >= 2.0.1, ~> 1.5.4

An issue was discovered in rack-protection 2.x before 2.0.1 on Windows. Path traversal is possible via backslash characters.

rack-protection gem timing attack vulnerability when validating CSRF token

medium severity CVE-2018-1000119
medium severity CVE-2018-1000119
Patched versions: ~> 1.5.5, >= 2.0.0

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.

No officially reported memory leakage issues detected.


This gem version does not have any officially reported memory leaked issues.

Author did not declare license for this gem in the gemspec.


This gem version has a MIT license in the source code, however it was not declared in the gemspec file.

This gem version is available.


This gem version has not been yanked and is still available for usage.