cfscode / resque-web

a Rails-based web interface to Resque
0 stars 0 forks source link

CVE-2018-16468 (Medium) detected in loofah-2.0.3.gem #21

Open mend-bolt-for-github[bot] opened 3 years ago

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

CVE-2018-16468 - Medium Severity Vulnerability

Vulnerable Library - loofah-2.0.3.gem

Loofah is a general library for manipulating and transforming HTML/XML documents and fragments. It's built on top of Nokogiri and libxml2, so it's fast and has a nice API. Loofah excels at HTML sanitization (XSS prevention). It includes some nice HTML sanitizers, which are based on HTML5lib's whitelist, so it most likely won't make your codes less secure. (These statements have not been evaluated by Netexperts.) ActiveRecord extensions for sanitization are available in the `loofah-activerecord` gem (see https://github.com/flavorjones/loofah-activerecord).

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

Path to dependency file: /Gemfile.lock

Path to vulnerable library: /Gemfile.lock

Dependency Hierarchy: - dotenv-rails-2.2.0.gem (Root Library) - railties-5.0.2.gem - actionpack-5.0.2.gem - actionview-5.0.2.gem - rails-html-sanitizer-1.0.3.gem - :x: **loofah-2.0.3.gem** (Vulnerable Library)

Found in base branch: master

Vulnerability Details

In the Loofah gem for Ruby, through v2.2.2, unsanitized JavaScript may occur in sanitized output when a crafted SVG element is republished.

Publish Date: 2018-10-30

URL: CVE-2018-16468

CVSS 3 Score Details (5.4)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: Low - 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: http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2018-16468

Release Date: 2018-10-30

Fix Resolution: loofah - 2.3.0


Step up your Open Source Security Game with Mend here