CVE-2018-1000119
MEDIUM 5.9CVSS 3.0rack-protection gem timing attack vulnerability when validating CSRF token
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.
- Published
- 7 Mar 2018
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-203
- Also known as
- GHSA-688c-3x49-6rqj
- Sources
- NVDJSONOSV GHSA-688c-3x49-6rqjJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | MEDIUM 5.9 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.0 | MEDIUM 5.9 | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:P/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | sinatrarb | rack-protectioncpe:2.3:a:sinatrarb:rack-protection:*:*:*:*:*:*:*:* |
< 1.5.5 | 1.5.5 |
| NVD | sinatrarb | rack-protectioncpe:2.3:a:sinatrarb:rack-protection:2.0.0:rc1:*:*:*:*:*:* |
= 2.0.0 | |
| NVD | sinatrarb | rack-protectioncpe:2.3:a:sinatrarb:rack-protection:2.0.0:rc2:*:*:*:*:*:* |
= 2.0.0 | |
| NVD | sinatrarb | rack-protectioncpe:2.3:a:sinatrarb:rack-protection:2.0.0:rc3:*:*:*:*:*:* |
= 2.0.0 | |
| OSV | RubyGems | rack-protection | < 1.5.5 | 1.5.5 |
| OSV | RubyGems | rack-protection | >= 2.0.0.beta1, < 2.0.0 | 2.0.0 |
References
- https://access.redhat.com/errata/RHSA-2018:1060 · Third Party Advisory, WEB
- https://github.com/sinatra/rack-protection/pull/98 · Issue Tracking, Third Party Advisory, WEB
- https://github.com/sinatra/sinatra/commit/8aa6c42ef724f93ae309fb7c5668e19ad547eceb#commitcomment-27964109 · Issue Tracking, Patch, Third Party Advisory, WEB
- https://www.debian.org/security/2018/dsa-4247 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2018-1000119 · ADVISORY
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack-protection/CVE-2018-1000119.yml · WEB
- https://github.com/sinatra/rack-protection · PACKAGE
History
- 25 Nov 2026 20:20 UTC · NVD: first stored (published 7 Mar 2018)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 7 Mar 2018)