Loading...
Skip to main content

CVE-2018-1000119 — Vulnerability in rack-protection — CVE Details

MEDIUM

rack-protection gem timing attack vulnerability when validating CSRF token

Published March 7, 2018Updated February 16, 2024Source: osv

Summary

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.

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.

Bundler
Update rack-protection to 1.5.5 or later
gem install rack-protection -v 1.5.5
Bundler
Update rack-protection to 2.0.0 or later
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).

PackageEcosystemAffectedFixed 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.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 5.9 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

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

CVSS Score
5.9

Exploitation requires specific conditions or has limited impact. Remediate within weeks.

Also Known As

GHSA-688c-3x49-6rqj

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies