michaeldotson / auth-app

0 stars 0 forks source link

CVE-2019-15587 (Medium) detected in loofah-2.2.3.gem #43

Open mend-bolt-for-github[bot] opened 1 year ago

mend-bolt-for-github[bot] commented 1 year ago

CVE-2019-15587 - Medium Severity Vulnerability

Vulnerable Library - loofah-2.2.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](https://github.com/flavorjones/loofah-activerecord).

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

Path to dependency file: /auth-app/Gemfile.lock

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

Dependency Hierarchy: - web-console-3.7.0.gem (Root Library) - actionview-5.2.2.gem - rails-html-sanitizer-1.0.4.gem - :x: **loofah-2.2.3.gem** (Vulnerable Library)

Vulnerability Details

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

Publish Date: 2019-10-22

URL: CVE-2019-15587

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: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-15587

Release Date: 2019-10-22

Fix Resolution: v2.3.1


Step up your Open Source Security Game with Mend here