<?xml version="1.0" encoding="UTF-8"?>
<cvrfdoc xmlns="http://www.icasi.org/CVRF/schema/cvrf/1.1" xmlns:cvrf="http://www.icasi.org/CVRF/schema/cvrf/1.1">
  <DocumentTitle xml:lang="en">Security update for rubygem-loofah</DocumentTitle>
  <DocumentType>SUSE Patch</DocumentType>
  <DocumentPublisher Type="Vendor">
    <ContactDetails>security@suse.de</ContactDetails>
    <IssuingAuthority>SUSE Security Team</IssuingAuthority>
  </DocumentPublisher>
  <DocumentTracking>
    <Identification>
      <ID>SUSE-SU-2019:0394-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2019-02-14T13:47:10Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2019-02-14T13:47:10Z</InitialReleaseDate>
    <CurrentReleaseDate>2019-02-14T13:47:10Z</CurrentReleaseDate>
    <Generator>
      <Engine>cve-database/bin/generate-cvrf.pl</Engine>
      <Date>2017-02-24T01:00:00Z</Date>
    </Generator>
  </DocumentTracking>
  <DocumentNotes>
    <Note Title="Topic" Type="Summary" Ordinal="1" xml:lang="en">Security update for rubygem-loofah</Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">This update for rubygem-loofah fixes the following issues:

Security issues fixed:

- CVE-2018-16468: Fixed XXS by removing the svg animate attribute `from` from the allowlist (bsc#1113969).
- CVE-2018-8048: Fixed XSS vulnerability due to unescaped characters by libcxml2 (bsc#1085967).
</Note>
    <Note Title="Terms of Use" Type="Legal Disclaimer" Ordinal="3" xml:lang="en">The CVRF data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).</Note>
    <Note Title="Patchnames" Type="Details" Ordinal="4" xml:lang="en">SUSE-2019-394,SUSE-OpenStack-Cloud-7-2019-394,SUSE-OpenStack-Cloud-Crowbar-8-2019-394,SUSE-Storage-4-2019-394</Note>
  </DocumentNotes>
  <DocumentDistribution xml:lang="en">Copyright SUSE LLC under the Creative Commons License 4.0 with Attribution (CC-BY-4.0)</DocumentDistribution>
  <DocumentReferences>
    <Reference Type="Self">
      <URL>https://www.suse.com/support/update/announcement/2019/suse-su-20190394-1/</URL>
      <Description>Link for SUSE-SU-2019:0394-1</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://lists.suse.com/pipermail/sle-security-updates/2019-February/005122.html</URL>
      <Description>E-Mail link for SUSE-SU-2019:0394-1</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/support/security/rating/</URL>
      <Description>SUSE Security Ratings</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1085967</URL>
      <Description>SUSE Bug 1085967</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1113969</URL>
      <Description>SUSE Bug 1113969</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2018-16468/</URL>
      <Description>SUSE CVE CVE-2018-16468 page</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2018-8048/</URL>
      <Description>SUSE CVE CVE-2018-8048 page</Description>
    </Reference>
  </DocumentReferences>
  <ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
    <Branch Type="Product Family" Name="SUSE Enterprise Storage 4">
      <Branch Type="Product Name" Name="SUSE Enterprise Storage 4">
        <FullProductName ProductID="SUSE Enterprise Storage 4" CPE="cpe:/o:suse:ses:4">SUSE Enterprise Storage 4</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="SUSE OpenStack Cloud 7">
      <Branch Type="Product Name" Name="SUSE OpenStack Cloud 7">
        <FullProductName ProductID="SUSE OpenStack Cloud 7" CPE="cpe:/o:suse:suse-openstack-cloud:7">SUSE OpenStack Cloud 7</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Family" Name="SUSE OpenStack Cloud Crowbar 8">
      <Branch Type="Product Name" Name="SUSE OpenStack Cloud Crowbar 8">
        <FullProductName ProductID="SUSE OpenStack Cloud Crowbar 8" CPE="cpe:/o:suse:suse-openstack-cloud-crowbar:8">SUSE OpenStack Cloud Crowbar 8</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="ruby2.1-rubygem-loofah-2.0.2-3.5.1">
      <FullProductName ProductID="ruby2.1-rubygem-loofah-2.0.2-3.5.1">ruby2.1-rubygem-loofah-2.0.2-3.5.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="ruby2.1-rubygem-loofah-doc-2.0.2-3.5.1">
      <FullProductName ProductID="ruby2.1-rubygem-loofah-doc-2.0.2-3.5.1">ruby2.1-rubygem-loofah-doc-2.0.2-3.5.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="ruby2.1-rubygem-loofah-testsuite-2.0.2-3.5.1">
      <FullProductName ProductID="ruby2.1-rubygem-loofah-testsuite-2.0.2-3.5.1">ruby2.1-rubygem-loofah-testsuite-2.0.2-3.5.1</FullProductName>
    </Branch>
    <Relationship ProductReference="ruby2.1-rubygem-loofah-2.0.2-3.5.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Enterprise Storage 4">
      <FullProductName ProductID="SUSE Enterprise Storage 4:ruby2.1-rubygem-loofah-2.0.2-3.5.1">ruby2.1-rubygem-loofah-2.0.2-3.5.1 as a component of SUSE Enterprise Storage 4</FullProductName>
    </Relationship>
    <Relationship ProductReference="ruby2.1-rubygem-loofah-2.0.2-3.5.1" RelationType="Default Component Of" RelatesToProductReference="SUSE OpenStack Cloud 7">
      <FullProductName ProductID="SUSE OpenStack Cloud 7:ruby2.1-rubygem-loofah-2.0.2-3.5.1">ruby2.1-rubygem-loofah-2.0.2-3.5.1 as a component of SUSE OpenStack Cloud 7</FullProductName>
    </Relationship>
    <Relationship ProductReference="ruby2.1-rubygem-loofah-2.0.2-3.5.1" RelationType="Default Component Of" RelatesToProductReference="SUSE OpenStack Cloud Crowbar 8">
      <FullProductName ProductID="SUSE OpenStack Cloud Crowbar 8:ruby2.1-rubygem-loofah-2.0.2-3.5.1">ruby2.1-rubygem-loofah-2.0.2-3.5.1 as a component of SUSE OpenStack Cloud Crowbar 8</FullProductName>
    </Relationship>
  </ProductTree>
  <Vulnerability xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1" Ordinal="1">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">In the Loofah gem for Ruby, through v2.2.2, unsanitized JavaScript may occur in sanitized output when a crafted SVG element is republished.</Note>
    </Notes>
    <CVE>CVE-2018-16468</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Enterprise Storage 4:ruby2.1-rubygem-loofah-2.0.2-3.5.1</ProductID>
        <ProductID>SUSE OpenStack Cloud 7:ruby2.1-rubygem-loofah-2.0.2-3.5.1</ProductID>
        <ProductID>SUSE OpenStack Cloud Crowbar 8:ruby2.1-rubygem-loofah-2.0.2-3.5.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
</Description>
        <URL>https://www.suse.com/support/update/announcement/2019/suse-su-20190394-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2018-16468.html</URL>
        <Description>CVE-2018-16468</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1113969</URL>
        <Description>SUSE Bug 1113969</Description>
      </Reference>
    </References>
  </Vulnerability>
  <Vulnerability xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1" Ordinal="2">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">In the Loofah gem through 2.2.0 for Ruby, non-whitelisted HTML attributes may occur in sanitized output by republishing a crafted HTML fragment.</Note>
    </Notes>
    <CVE>CVE-2018-8048</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Enterprise Storage 4:ruby2.1-rubygem-loofah-2.0.2-3.5.1</ProductID>
        <ProductID>SUSE OpenStack Cloud 7:ruby2.1-rubygem-loofah-2.0.2-3.5.1</ProductID>
        <ProductID>SUSE OpenStack Cloud Crowbar 8:ruby2.1-rubygem-loofah-2.0.2-3.5.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
</Description>
        <URL>https://www.suse.com/support/update/announcement/2019/suse-su-20190394-1/</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2018-8048.html</URL>
        <Description>CVE-2018-8048</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1085967</URL>
        <Description>SUSE Bug 1085967</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1086598</URL>
        <Description>SUSE Bug 1086598</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
