Upstream information

CVE-2018-3741 at MITRE

Description

There is a possible XSS vulnerability in all rails-html-sanitizer gem versions below 1.0.4 for Ruby. The gem allows non-whitelisted attributes to be present in sanitized output when input with specially-crafted HTML fragments, and these attributes can lead to an XSS attack on target applications. This issue is similar to CVE-2018-8048 in Loofah. All users running an affected release should either upgrade or use one of the workarounds immediately.

SUSE information

Overall state of this security issue: Pending

This issue is currently rated as having moderate severity.

CVSS v2 Scores
  National Vulnerability Database
Base Score 4.3
Vector AV:N/AC:M/Au:N/C:N/I:P/A:N
Access Vector Network
Access Complexity Medium
Authentication None
Confidentiality Impact None
Integrity Impact Partial
Availability Impact None
CVSS v3 Scores
  National Vulnerability Database SUSE
Base Score 6.1 6.5
Vector AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Access Vector Network Network
Access Complexity Low Low
Privileges Required None None
User Interaction Required None
Scope Changed Unchanged
Confidentiality Impact Low Low
Integrity Impact Low Low
Availability Impact None None
SUSE Bugzilla entries: 1085967 [NEW], 1086598 [NEW]

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
SUSE CaaS Platform ALL
  • sles12-velum-image >= 2.0.1-2.7.3
Patchnames:
SUSE-CAASP-ALL-2018-740
SUSE Linux Enterprise High Availability 15
  • ruby2.5-rubygem-rails-html-sanitizer >= 1.0.4-2.11
Patchnames:
SUSE Linux Enterprise High Availability 15 GA ruby2.5-rubygem-rails-html-sanitizer


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.

Product(s) Source package State
SUSE Openstack Cloud 6 rubygem-rails-html-sanitizer Affected
SUSE Openstack Cloud 7 rubygem-rails-html-sanitizer Affected
SUSE Storage 3 rubygem-rails-html-sanitizer Affected
SUSE Storage 4 rubygem-rails-html-sanitizer Affected