Bug 1646715 (CVE-2018-16468) - CVE-2018-16468 rubygem-loofah: XXS when a crafted SVG element is republished
Summary: CVE-2018-16468 rubygem-loofah: XXS when a crafted SVG element is republished
Keywords:
Status: CLOSED WONTFIX
Alias: CVE-2018-16468
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: 1646716 1656919 1656920 1664341
Blocks: 1646717
TreeView+ depends on / blocked
 
Reported: 2018-11-05 21:37 UTC by Laura Pardo
Modified: 2021-02-16 22:48 UTC (History)
29 users (show)

Fixed In Version: rubygem-loofah 2.2.3
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-01-20 11:59:07 UTC
Embargoed:


Attachments (Terms of Use)

Description Laura Pardo 2018-11-05 21:37:47 UTC
A flaw was found in the Loofah gem for Ruby, through v2.2.2. An XSS due to an unsanitized JavaScript may occur in sanitized output when a crafted SVG element is republished. 



References:
https://github.com/flavorjones/loofah/issues/154

Upstream Patch:
https://github.com/flavorjones/loofah/commit/be0fd3ac0fad452730f10e318fa31706257fd081

Comment 1 Laura Pardo 2018-11-05 21:38:26 UTC
Created rubygem-loofah tracking bugs for this issue:

Affects: fedora-all [bug 1646716]

Comment 7 Yadnyawalk Tale 2020-04-23 16:03:28 UTC
Red Hat CloudForms 5.10 and 5.11 is no more affected since gem is updated in cfme-gemset.

cloudforms_managementengine:5.10/cfme-gemset-0:5.10.15.1-1.el7cf:rubygem:loofah-2.2.3
cloudforms_managementengine:5.10/cfme-amazon-smartstate-0:5.10.15.1-1.el7cf:rubygem:loofah-2.2.3
cloudforms_managementengine:5.11/cfme-amazon-smartstate-0:5.11.4.2-1.el8cf:rubygem:loofah-2.2.3

Comment 8 Doran Moppert 2021-01-20 04:52:36 UTC
Statement:

Red Hat Satellite 6 does not allow displaying user-defined SVGs and is thus not affected by this CVE.

Comment 9 Product Security DevOps Team 2021-01-20 11:59:07 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2018-16468


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