vicvega / chaltron

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

CVE-2018-16468 (Medium) detected in loofah-2.1.1.gem #34

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

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

CVE-2018-16468 - Medium Severity Vulnerability

Vulnerable Library - loofah-2.1.1.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.1.1.gem

Path to dependency file: /chaltron/Gemfile.lock

Path to vulnerable library: /var/lib/gems/2.3.0/cache/loofah-2.1.1.gem

Dependency Hierarchy: - factory_bot_rails-4.8.2.gem (Root Library) - railties-5.1.4.gem - actionpack-5.1.4.gem - actionview-5.1.4.gem - rails-html-sanitizer-1.0.3.gem - :x: **loofah-2.1.1.gem** (Vulnerable Library)

Found in HEAD commit: 1a064cdc3927fccfa0d178d4932613686897f05c

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.


Step up your Open Source Security Game with WhiteSource here