CVE-2018-1000119 — Vulnerability in rack-protection — CVE Details
rack-protection gem timing attack vulnerability when validating CSRF token
Summary
Advisory Timeline
- First published March 7, 2018 (3141 days ago).
- Last revised February 16, 2024 — 2171 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
gem install rack-protection -v 1.5.5
gem install rack-protection -v 2.0.0
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (2)
Affects 1 ecosystem: rubygems (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| rack-protection | rubygems | 0.1.0, 1.0.0, 1.1.2, 1.1.3 (+10 more) | 1.5.5 |
| rack-protection | rubygems | 2.0.0.beta1, 2.0.0.beta2, 2.0.0.rc1, 2.0.0.rc2 (+2 more) | 2.0.0 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-203
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 5.9 score means for each attack dimension.
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
References
- https://nvd.nist.gov/vuln/detail/CVE-2018-1000119ADVISORY
- https://github.com/sinatra/rack-protection/pull/98WEB
- https://github.com/sinatra/sinatra/commit/8aa6c42ef724f93ae309fb7c5668e19ad547eceb#commitcomment-27964109WEB
- https://access.redhat.com/errata/RHSA-2018:1060WEB
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rack-protection/CVE-2018-1000119.ymlWEB
- https://github.com/sinatra/rack-protectionPACKAGE
- https://www.debian.org/security/2018/dsa-4247WEB
Frequently Asked Questions
- What is CVE-2018-1000119?
- rack-protection gem timing attack vulnerability when validating CSRF token This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 5.9/10).
- How do I check if my project is affected by CVE-2018-1000119?
- CVE-2018-1000119 affects rack-protection. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2018-1000119 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation requires specific conditions or has limited impact. Remediate within weeks.
Also Known As
Related CVEs
- CVE-2026-107715MEDIUM
Mechanize sends credential headers to another host after an HTTP redirect
- CVE-2026-107399MEDIUM
Mechanize sends credential headers to another origin after a meta refresh
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies