CVE-2018-1000119Sinatrarb Rack-protection
Medium 5.9 No auth needed
Follow: this CVE · Sinatrarb · Sinatrarb Rack-protection We alert you by email or Slack (account required).
- Priority
- 51
- CVSS 3.0
- 5.9
- EPSS
- 2.4% probability of exploitation in 30 days · percentile 85
- Auth required
- No
- Published
- Mar 7, 2018
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-203
- Vector
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Rack-protection.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| RubyGems | rack-protection |
< 1.5.5 |
1.5.5 |
gem "rack-protection", ">= 1.5.5" |
| RubyGems | rack-protection |
≥ 2.0.0.beta1 < 2.0.0 |
2.0.0 |
gem "rack-protection", ">= 2.0.0" |
Per OSV / GitHub Advisories (GHSA-688c-3x49-6rqj). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| sinatrarb | rack-protection | < 1.5.5 |
| sinatrarb | rack-protection | 2.0.0 |
| sinatrarb | rack-protection | 2.0.0 |
| sinatrarb | rack-protection | 2.0.0 |
Official sources
References
Links published by the sources. Open them with care.
- access.redhat.com Third Party Advisory
- github.com Issue Tracking Third Party Advisory
- github.com Issue Tracking Patch Third Party Advisory
- www.debian.org