CVE-2018-16471 - Medium Severity Vulnerability
Vulnerable Library - rack-1.5.2.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.com/.
Library home page: https://rubygems.org/gems/rack-1.5.2.gem
Path to dependency file: /tmp/ws-scm/app1/Gemfile.lock
Path to vulnerable library: /var/lib/gems/2.5.0/cache/rack-1.5.2.gem
Dependency Hierarchy:
- sass-rails-4.0.3.gem (Root Library)
- sprockets-2.11.0.gem
- ❌ rack-1.5.2.gem (Vulnerable Library)
Found in HEAD commit: 9d946faa10e3050193fb56220287f7565773de83
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
CVE-2018-16471 - Medium Severity Vulnerability
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.com/.
Library home page: https://rubygems.org/gems/rack-1.5.2.gem
Path to dependency file: /tmp/ws-scm/app1/Gemfile.lock
Path to vulnerable library: /var/lib/gems/2.5.0/cache/rack-1.5.2.gem
Dependency Hierarchy:
Found in HEAD commit: 9d946faa10e3050193fb56220287f7565773de83
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
schememethod onRack::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
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.Type: Upgrade version
Origin: https://groups.google.com/forum/#!topic/rubyonrails-security/GKsAFT924Ag
Fix Resolution: 2.0.6, 1.6.11