Upstream information

CVE-2020-4054 at MITRE

Description

In Sanitize (RubyGem sanitize) greater than or equal to 3.0.0 and less than 5.2.1, there is a cross-site scripting vulnerability. When HTML is sanitized using Sanitize's "relaxed" config, or a custom config that allows certain elements, some content in a math or svg element may not be sanitized correctly even if math and svg are not in the allowlist. You are likely to be vulnerable to this issue if you use Sanitize's relaxed config or a custom config that allows one or more of the following HTML elements: iframe, math, noembed, noframes, noscript, plaintext, script, style, svg, xmp. Using carefully crafted input, an attacker may be able to sneak arbitrary HTML through Sanitize, potentially resulting in XSS (cross-site scripting) or other undesired behavior when that HTML is rendered in a browser. This has been fixed in 5.2.1.

SUSE information

Overall state of this security issue: Resolved

This issue is currently rated as having moderate severity.

CVSS v2 Scores
  National Vulnerability Database
Base Score 6.8
Vector AV:N/AC:M/Au:N/C:P/I:P/A:P
Access Vector Network
Access Complexity Medium
Authentication None
Confidentiality Impact Partial
Integrity Impact Partial
Availability Impact Partial
CVSS v3 Scores
  National Vulnerability Database
Base Score 7.3
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality Impact Low
Integrity Impact Low
Availability Impact Low
CVSSv3 Version 3.1
SUSE Bugzilla entry: 1173255 [RESOLVED / INVALID]

No SUSE Security Announcements cross referenced.


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification. The updates are grouped by state of their lifecycle. SUSE product lifecycles are documented on the lifecycle page.

Product(s) Source package State
Products under general support and receiving all security fixes.
SUSE Linux Enterprise High Availability Extension 15 SP5 rubygem-rails-html-sanitizer Not affected
SUSE Linux Enterprise High Availability Extension 15 SP6 rubygem-rails-html-sanitizer Not affected
openSUSE Leap 15.5 rubygem-rails-html-sanitizer Not affected
openSUSE Leap 15.6 rubygem-rails-html-sanitizer Not affected
Products under Long Term Service Pack support and receiving important and critical security fixes.
SUSE Linux Enterprise High Availability Extension 15 SP2 rubygem-rails-html-sanitizer Not affected
SUSE Linux Enterprise High Availability Extension 15 SP3 rubygem-rails-html-sanitizer Not affected
SUSE Linux Enterprise High Availability Extension 15 SP4 rubygem-rails-html-sanitizer Not affected
Products past their end of life and not receiving proactive updates anymore.
SUSE Enterprise Storage 2.1 rubygem-rails-html-sanitizer Not affected
SUSE Enterprise Storage 3 rubygem-rails-html-sanitizer Not affected
SUSE Enterprise Storage 4 rubygem-rails-html-sanitizer Not affected
SUSE Linux Enterprise High Availability Extension 15 rubygem-rails-html-sanitizer Not affected
SUSE Linux Enterprise High Availability Extension 15 SP1 rubygem-rails-html-sanitizer Not affected
SUSE OpenStack Cloud 6 rubygem-rails-html-sanitizer Not affected
SUSE OpenStack Cloud 6-LTSS rubygem-rails-html-sanitizer Not affected
SUSE OpenStack Cloud 7 rubygem-rails-html-sanitizer Not affected
SUSE OpenStack Cloud Crowbar 8 rubygem-rails-html-sanitizer Not affected
SUSE OpenStack Cloud Crowbar 9 rubygem-rails-html-sanitizer Not affected
openSUSE Leap 15.3 rubygem-rails-html-sanitizer Not affected
openSUSE Leap 15.4 rubygem-rails-html-sanitizer Not affected


SUSE Timeline for this CVE

CVE page created: Wed Jun 17 04:00:56 2020
CVE page last modified: Tue Jul 2 18:48:25 2024