digitalocean/droplet_kit

CVE-2018-1000119 (Medium) detected in sinatra-1.4.8.gem

Closed this issue · 1 comments

CVE-2018-1000119 - Medium Severity Vulnerability

Vulnerable Library - sinatra-1.4.8.gem

Sinatra is a DSL for quickly creating web applications in Ruby with minimal effort.

Library home page: https://rubygems.org/gems/sinatra-1.4.8.gem

Path to dependency file: /tmp/ws-scm/droplet_kit/Gemfile.lock

Path to vulnerable library: ms/2.5.0/cache/sinatra-1.4.8.gem

Dependency Hierarchy:

  • sinatra-1.4.8.gem (Vulnerable Library)

Found in HEAD commit: 2502470b10a3a4a6a3fccb4b959a62213e22a50f

Vulnerability Details

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.

Publish Date: 2018-03-07

URL: CVE-2018-1000119

CVSS 3 Score Details (5.9)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: High
    • Privileges Required: None
    • User Interaction: None
    • Scope: Unchanged
  • Impact Metrics:
    • Confidentiality Impact: High
    • Integrity Impact: None
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Change files

Origin: sinatra/sinatra@8aa6c42#commitcomment-27964109

Release Date: 2016-07-26

Fix Resolution: Replace or update the following files: authenticity_token.rb, base.rb


Step up your Open Source Security Game with WhiteSource here

Closed via #224