Bug 1559250 (CVE-2018-3740)

Summary: CVE-2018-3740 rubygem-sanitize: Improper filtering by libxml2 allows for cross-site scripting (XSS)
Product: [Other] Security Response Reporter: Sam Fowler <sfowler>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: axilleas, strzibny
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: rubygem-sanitize 4.6.3 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-06-10 10:18:21 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1559251    
Bug Blocks:    

Description Sam Fowler 2018-03-22 04:53:41 UTC
rubygem-sanitize before version 4.6.3 is vulnerable to a HTML injection vulnerability when used with libxml2 from version 2.9.2. An attacker could exploit this to perfrom a cross-site scripting attack (XSS).


External References:

https://github.com/rgrove/sanitize/issues/176
http://seclists.org/oss-sec/2018/q1/254


Upstream Patch:

https://github.com/rgrove/sanitize/commit/01629a162e448a83d901456d0ba8b65f3b03d46e

Comment 1 Sam Fowler 2018-03-22 04:54:47 UTC
Created rubygem-sanitize tracking bugs for this issue:

Affects: fedora-all [bug 1559251]

Comment 2 Product Security DevOps Team 2019-06-10 10:18:21 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.