Bug 1559071 (CVE-2018-8048) - CVE-2018-8048 rubygem-loofah: XSS vulnerability due to unescaped comments within attributes by libxml2
Summary: CVE-2018-8048 rubygem-loofah: XSS vulnerability due to unescaped comments wit...
Keywords:
Status: CLOSED WONTFIX
Alias: CVE-2018-8048
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1559072 1559073 1560026 1560027 1560028 1560029
Blocks: 1559074
TreeView+ depends on / blocked
 
Reported: 2018-03-21 16:16 UTC by Adam Mariš
Modified: 2021-02-17 00:36 UTC (History)
23 users (show)

Fixed In Version: rubygem-loofah 2.2.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-06-10 10:18:18 UTC
Embargoed:


Attachments (Terms of Use)

Description Adam Mariš 2018-03-21 16:16:54 UTC
Loofah allows non-whitelisted attributes to be present in sanitized output when input with specially-crafted HTML fragments.

Affected versions: Loofah < 2.2.1, but only:

* when running on MRI or RBX,
* in combination with libxml2 >= 2.9.2.

Upstream bug:

https://github.com/flavorjones/loofah/issues/144

Upstream patch:

https://github.com/flavorjones/loofah/commit/f739cf8eac5851f328b8044281d6653f74eff116

Reference:

http://seclists.org/oss-sec/2018/q1/253

Comment 1 Adam Mariš 2018-03-21 16:17:21 UTC
Created rubygem-loofah tracking bugs for this issue:

Affects: fedora-all [bug 1559072]

Comment 4 Kurt Seifried 2018-03-23 18:41:22 UTC
Statement:

This issue affects the versions of rubygem-loofah as shipped with Red Hat CloudForms 4. Red Hat Product Security has rated this issue as having a security  impact of Moderate. This vulnerability won't be fixed on CloudForms 4, because it uses libxml 2.9.1 and since the vulnerability requires a libxml >= 2.9.2 in order to be exploitable. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/


Note You need to log in before you can comment on or make changes to this bug.