vicvega / chaltron

Template generator for rails application with bootstrap, devise...
MIT License
9 stars 2 forks source link

CVE-2018-16471 (Medium) detected in rack-2.0.3.gem #36

Closed mend-bolt-for-github[bot] closed 5 years ago

mend-bolt-for-github[bot] commented 5 years ago

CVE-2018-16471 - Medium Severity Vulnerability

Vulnerable Library - rack-2.0.3.gem

Rack provides a minimal, modular and adaptable interface for developing web applications in Ruby. By wrapping HTTP requests and responses in the simplest way possible, it unifies and distills the API for web servers, web frameworks, and software in between (the so-called middleware) into a single method call. Also see http://rack.github.io/.

Library home page: https://rubygems.org/gems/rack-2.0.3.gem

Path to dependency file: /chaltron/Gemfile.lock

Path to vulnerable library: /var/lib/gems/2.3.0/cache/rack-2.0.3.gem

Dependency Hierarchy: - factory_bot_rails-4.8.2.gem (Root Library) - railties-5.1.4.gem - actionpack-5.1.4.gem - :x: **rack-2.0.3.gem** (Vulnerable Library)

Found in HEAD commit: 1a064cdc3927fccfa0d178d4932613686897f05c

Vulnerability Details

There is a possible XSS vulnerability in Rack before 2.0.6 and 1.6.11. Carefully crafted requests can impact the data returned by the `scheme` method on `Rack::Request`. Applications that expect the scheme to be limited to 'http' or 'https' and do not escape the return value could be vulnerable to an XSS attack. Note that applications using the normal escaping mechanisms provided by Rails may not impacted, but applications that bypass the escaping mechanisms, or do not use them may be vulnerable.

Publish Date: 2018-11-13

URL: CVE-2018-16471

CVSS 3 Score Details (6.1)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: Required - Scope: Changed - Impact Metrics: - Confidentiality Impact: Low - Integrity Impact: Low - Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://groups.google.com/forum/#!topic/rubyonrails-security/GKsAFT924Ag

Fix Resolution: 2.0.6, 1.6.11


Step up your Open Source Security Game with WhiteSource here