Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CVE-2018-16471 (Medium) detected in rack-1.6.9.gem #4

Open
mend-bolt-for-github bot opened this issue Jan 14, 2022 · 0 comments
Open

CVE-2018-16471 (Medium) detected in rack-1.6.9.gem #4

mend-bolt-for-github bot opened this issue Jan 14, 2022 · 0 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-bolt-for-github
Copy link
Contributor

mend-bolt-for-github bot commented Jan 14, 2022

CVE-2018-16471 - Medium Severity Vulnerability

Vulnerable Library - rack-1.6.9.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-1.6.9.gem

Path to dependency file: /vendor/github.com/hashicorp/vault/website/Gemfile.lock

Path to vulnerable library: /vendor/github.com/hashicorp/vault/website/Gemfile.lock

Dependency Hierarchy:

  • middleman-hashicorp-0.3.30.gem (Root Library)
    • middleman-3.4.1.gem
      • middleman-sprockets-3.5.0.gem
        • sprockets-sass-1.3.1.gem
          • sprockets-2.12.4.gem
            • rack-1.6.9.gem (Vulnerable Library)

Found in HEAD commit: 9060713df80212ee5546b36d1083fb607520eb0b

Found in base branch: master

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

Release Date: 2018-11-13

Fix Resolution: 2.0.6, 1.6.11


Step up your Open Source Security Game with Mend here

@mend-bolt-for-github mend-bolt-for-github bot added the Mend: dependency security vulnerability Security vulnerability detected by WhiteSource label Jan 14, 2022
@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2018-16471 (Medium) detected in rack-1.6.9.gem CVE-2018-16471 (Low) detected in rack-1.6.9.gem Oct 14, 2022
@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2018-16471 (Low) detected in rack-1.6.9.gem CVE-2018-16471 (Medium) detected in rack-1.6.9.gem Nov 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants