Blacksuan19/website

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

mend-bolt-for-github opened this issue · 0 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/blacksuan19.github.io/Gemfile.lock

Path to vulnerable library: /var/lib/gems/2.5.0/cache/sinatra-1.4.8.gem

Dependency Hierarchy:

  • jekyll-admin-0.9.0.gem (Root Library)
    • sinatra-contrib-1.4.7.gem
      • sinatra-1.4.8.gem (Vulnerable Library)

Found in HEAD commit: d2943ea76e87ad85ec01dbd6b4e625b3aad6f177

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