Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. rack-protection
  4. ›
  5. CVE-2018-1000119

CVE-2018-1000119: Timing attack vulnerability

March 7, 2018 (updated July 28, 2018)

Sinatra rack-protection 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.

References

  • github.com/sinatra/rack-protection/pull/98
  • github.com/sinatra/sinatra/commit/8aa6c42ef724f93ae309fb7c5668e19ad547eceb
  • nvd.nist.gov/vuln/detail/CVE-2018-1000119

Code Behaviors & Features

Detect and mitigate CVE-2018-1000119 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.5.5, all versions starting from 2.0.0.beta1 before 2.0.0

Fixed versions

  • 1.5.5
  • 2.0.0

Solution

Upgrade to versions 1.5.5, 2.0.0 or above.

Impact 5.9 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-203: Observable Discrepancy

Source file

gem/rack-protection/CVE-2018-1000119.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:03 +0000.