<?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 tomcat</DocumentTitle>
  <DocumentType>SUSE Patch</DocumentType>
  <DocumentPublisher Type="Vendor">
    <ContactDetails>security@suse.de</ContactDetails>
    <IssuingAuthority>SUSE Security Team</IssuingAuthority>
  </DocumentPublisher>
  <DocumentTracking>
    <Identification>
      <ID>openSUSE-SU-2018:0852-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2018-03-29T16:31:45Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2018-03-29T16:31:45Z</InitialReleaseDate>
    <CurrentReleaseDate>2018-03-29T16:31:45Z</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 tomcat</Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">This update for tomcat fixes the following issues:

Security issues fixed:

- CVE-2018-1305: Fixed late application of security constraints that can lead to resource exposure for unauthorised users (bsc#1082481).
- CVE-2018-1304: Fixed incorrect handling of empty string URL in security constraints that can lead to unitended exposure of resources (bsc#1082480).
- CVE-2017-15706: Fixed incorrect documentation of CGI Servlet search algorithm that may lead to misconfiguration (bsc#1078677).

This update was imported from the SUSE:SLE-12-SP2:Update update project.</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>
  </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://lists.opensuse.org/opensuse-updates/2018-03/msg00114.html</URL>
      <Description>E-Mail link for openSUSE-SU-2018:0852-1</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/support/security/rating/</URL>
      <Description>SUSE Security Ratings</Description>
    </Reference>
  </DocumentReferences>
  <ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
    <Branch Type="Product Family" Name="openSUSE Leap 42.3">
      <Branch Type="Product Name" Name="openSUSE Leap 42.3">
        <FullProductName ProductID="openSUSE Leap 42.3">openSUSE Leap 42.3</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="tomcat-8.0.50-12.1">
      <FullProductName ProductID="tomcat-8.0.50-12.1">tomcat-8.0.50-12.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="tomcat-admin-webapps-8.0.50-12.1">
      <FullProductName ProductID="tomcat-admin-webapps-8.0.50-12.1">tomcat-admin-webapps-8.0.50-12.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="tomcat-docs-webapp-8.0.50-12.1">
      <FullProductName ProductID="tomcat-docs-webapp-8.0.50-12.1">tomcat-docs-webapp-8.0.50-12.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="tomcat-el-3_0-api-8.0.50-12.1">
      <FullProductName ProductID="tomcat-el-3_0-api-8.0.50-12.1">tomcat-el-3_0-api-8.0.50-12.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="tomcat-embed-8.0.50-12.1">
      <FullProductName ProductID="tomcat-embed-8.0.50-12.1">tomcat-embed-8.0.50-12.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="tomcat-javadoc-8.0.50-12.1">
      <FullProductName ProductID="tomcat-javadoc-8.0.50-12.1">tomcat-javadoc-8.0.50-12.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="tomcat-jsp-2_3-api-8.0.50-12.1">
      <FullProductName ProductID="tomcat-jsp-2_3-api-8.0.50-12.1">tomcat-jsp-2_3-api-8.0.50-12.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="tomcat-jsvc-8.0.50-12.1">
      <FullProductName ProductID="tomcat-jsvc-8.0.50-12.1">tomcat-jsvc-8.0.50-12.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="tomcat-lib-8.0.50-12.1">
      <FullProductName ProductID="tomcat-lib-8.0.50-12.1">tomcat-lib-8.0.50-12.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="tomcat-servlet-3_1-api-8.0.50-12.1">
      <FullProductName ProductID="tomcat-servlet-3_1-api-8.0.50-12.1">tomcat-servlet-3_1-api-8.0.50-12.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="tomcat-webapps-8.0.50-12.1">
      <FullProductName ProductID="tomcat-webapps-8.0.50-12.1">tomcat-webapps-8.0.50-12.1</FullProductName>
    </Branch>
    <Relationship ProductReference="tomcat-8.0.50-12.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.3">
      <FullProductName ProductID="openSUSE Leap 42.3:tomcat-8.0.50-12.1">tomcat-8.0.50-12.1 as a component of openSUSE Leap 42.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="tomcat-admin-webapps-8.0.50-12.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.3">
      <FullProductName ProductID="openSUSE Leap 42.3:tomcat-admin-webapps-8.0.50-12.1">tomcat-admin-webapps-8.0.50-12.1 as a component of openSUSE Leap 42.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="tomcat-docs-webapp-8.0.50-12.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.3">
      <FullProductName ProductID="openSUSE Leap 42.3:tomcat-docs-webapp-8.0.50-12.1">tomcat-docs-webapp-8.0.50-12.1 as a component of openSUSE Leap 42.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="tomcat-el-3_0-api-8.0.50-12.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.3">
      <FullProductName ProductID="openSUSE Leap 42.3:tomcat-el-3_0-api-8.0.50-12.1">tomcat-el-3_0-api-8.0.50-12.1 as a component of openSUSE Leap 42.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="tomcat-embed-8.0.50-12.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.3">
      <FullProductName ProductID="openSUSE Leap 42.3:tomcat-embed-8.0.50-12.1">tomcat-embed-8.0.50-12.1 as a component of openSUSE Leap 42.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="tomcat-javadoc-8.0.50-12.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.3">
      <FullProductName ProductID="openSUSE Leap 42.3:tomcat-javadoc-8.0.50-12.1">tomcat-javadoc-8.0.50-12.1 as a component of openSUSE Leap 42.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="tomcat-jsp-2_3-api-8.0.50-12.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.3">
      <FullProductName ProductID="openSUSE Leap 42.3:tomcat-jsp-2_3-api-8.0.50-12.1">tomcat-jsp-2_3-api-8.0.50-12.1 as a component of openSUSE Leap 42.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="tomcat-jsvc-8.0.50-12.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.3">
      <FullProductName ProductID="openSUSE Leap 42.3:tomcat-jsvc-8.0.50-12.1">tomcat-jsvc-8.0.50-12.1 as a component of openSUSE Leap 42.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="tomcat-lib-8.0.50-12.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.3">
      <FullProductName ProductID="openSUSE Leap 42.3:tomcat-lib-8.0.50-12.1">tomcat-lib-8.0.50-12.1 as a component of openSUSE Leap 42.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="tomcat-servlet-3_1-api-8.0.50-12.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.3">
      <FullProductName ProductID="openSUSE Leap 42.3:tomcat-servlet-3_1-api-8.0.50-12.1">tomcat-servlet-3_1-api-8.0.50-12.1 as a component of openSUSE Leap 42.3</FullProductName>
    </Relationship>
    <Relationship ProductReference="tomcat-webapps-8.0.50-12.1" RelationType="Default Component Of" RelatesToProductReference="openSUSE Leap 42.3">
      <FullProductName ProductID="openSUSE Leap 42.3:tomcat-webapps-8.0.50-12.1">tomcat-webapps-8.0.50-12.1 as a component of openSUSE Leap 42.3</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">As part of the fix for bug 61201, the documentation for Apache Tomcat 9.0.0.M22 to 9.0.1, 8.5.16 to 8.5.23, 8.0.45 to 8.0.47 and 7.0.79 to 7.0.82 included an updated description of the search algorithm used by the CGI Servlet to identify which script to execute. The update was not correct. As a result, some scripts may have failed to execute as expected and other scripts may have been executed unexpectedly. Note that the behaviour of the CGI servlet has remained unchanged in this regard. It is only the documentation of the behaviour that was wrong and has been corrected.</Note>
    </Notes>
    <CVE>CVE-2017-15706</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 42.3:tomcat-8.0.50-12.1</ProductID>
        <ProductID>openSUSE Leap 42.3:tomcat-admin-webapps-8.0.50-12.1</ProductID>
        <ProductID>openSUSE Leap 42.3:tomcat-docs-webapp-8.0.50-12.1</ProductID>
        <ProductID>openSUSE Leap 42.3:tomcat-el-3_0-api-8.0.50-12.1</ProductID>
        <ProductID>openSUSE Leap 42.3:tomcat-embed-8.0.50-12.1</ProductID>
        <ProductID>openSUSE Leap 42.3:tomcat-javadoc-8.0.50-12.1</ProductID>
        <ProductID>openSUSE Leap 42.3:tomcat-jsp-2_3-api-8.0.50-12.1</ProductID>
        <ProductID>openSUSE Leap 42.3:tomcat-jsvc-8.0.50-12.1</ProductID>
        <ProductID>openSUSE Leap 42.3:tomcat-lib-8.0.50-12.1</ProductID>
        <ProductID>openSUSE Leap 42.3:tomcat-servlet-3_1-api-8.0.50-12.1</ProductID>
        <ProductID>openSUSE Leap 42.3:tomcat-webapps-8.0.50-12.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>low</Description>
      </Threat>
    </Threats>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">Please Install the update.</Description>
        <URL>https://lists.opensuse.org/opensuse-updates/2018-03/msg00114.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2017-15706.html</URL>
        <Description>CVE-2017-15706</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1078677</URL>
        <Description>SUSE Bug 1078677</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">The URL pattern of "" (the empty string) which exactly maps to the context root was not correctly handled in Apache Tomcat 9.0.0.M1 to 9.0.4, 8.5.0 to 8.5.27, 8.0.0.RC1 to 8.0.49 and 7.0.0 to 7.0.84 when used as part of a security constraint definition. This caused the constraint to be ignored. It was, therefore, possible for unauthorised users to gain access to web application resources that should have been protected. Only security constraints with a URL pattern of the empty string were affected.</Note>
    </Notes>
    <CVE>CVE-2018-1304</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 42.3:tomcat-8.0.50-12.1</ProductID>
        <ProductID>openSUSE Leap 42.3:tomcat-admin-webapps-8.0.50-12.1</ProductID>
        <ProductID>openSUSE Leap 42.3:tomcat-docs-webapp-8.0.50-12.1</ProductID>
        <ProductID>openSUSE Leap 42.3:tomcat-el-3_0-api-8.0.50-12.1</ProductID>
        <ProductID>openSUSE Leap 42.3:tomcat-embed-8.0.50-12.1</ProductID>
        <ProductID>openSUSE Leap 42.3:tomcat-javadoc-8.0.50-12.1</ProductID>
        <ProductID>openSUSE Leap 42.3:tomcat-jsp-2_3-api-8.0.50-12.1</ProductID>
        <ProductID>openSUSE Leap 42.3:tomcat-jsvc-8.0.50-12.1</ProductID>
        <ProductID>openSUSE Leap 42.3:tomcat-lib-8.0.50-12.1</ProductID>
        <ProductID>openSUSE Leap 42.3:tomcat-servlet-3_1-api-8.0.50-12.1</ProductID>
        <ProductID>openSUSE Leap 42.3:tomcat-webapps-8.0.50-12.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">Please Install the update.</Description>
        <URL>https://lists.opensuse.org/opensuse-updates/2018-03/msg00114.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2018-1304.html</URL>
        <Description>CVE-2018-1304</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1082480</URL>
        <Description>SUSE Bug 1082480</Description>
      </Reference>
    </References>
  </Vulnerability>
  <Vulnerability xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1" Ordinal="3">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">Security constraints defined by annotations of Servlets in Apache Tomcat 9.0.0.M1 to 9.0.4, 8.5.0 to 8.5.27, 8.0.0.RC1 to 8.0.49 and 7.0.0 to 7.0.84 were only applied once a Servlet had been loaded. Because security constraints defined in this way apply to the URL pattern and any URLs below that point, it was possible - depending on the order Servlets were loaded - for some security constraints not to be applied. This could have exposed resources to users who were not authorised to access them.</Note>
    </Notes>
    <CVE>CVE-2018-1305</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>openSUSE Leap 42.3:tomcat-8.0.50-12.1</ProductID>
        <ProductID>openSUSE Leap 42.3:tomcat-admin-webapps-8.0.50-12.1</ProductID>
        <ProductID>openSUSE Leap 42.3:tomcat-docs-webapp-8.0.50-12.1</ProductID>
        <ProductID>openSUSE Leap 42.3:tomcat-el-3_0-api-8.0.50-12.1</ProductID>
        <ProductID>openSUSE Leap 42.3:tomcat-embed-8.0.50-12.1</ProductID>
        <ProductID>openSUSE Leap 42.3:tomcat-javadoc-8.0.50-12.1</ProductID>
        <ProductID>openSUSE Leap 42.3:tomcat-jsp-2_3-api-8.0.50-12.1</ProductID>
        <ProductID>openSUSE Leap 42.3:tomcat-jsvc-8.0.50-12.1</ProductID>
        <ProductID>openSUSE Leap 42.3:tomcat-lib-8.0.50-12.1</ProductID>
        <ProductID>openSUSE Leap 42.3:tomcat-servlet-3_1-api-8.0.50-12.1</ProductID>
        <ProductID>openSUSE Leap 42.3:tomcat-webapps-8.0.50-12.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">Please Install the update.</Description>
        <URL>https://lists.opensuse.org/opensuse-updates/2018-03/msg00114.html</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2018-1305.html</URL>
        <Description>CVE-2018-1305</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1082481</URL>
        <Description>SUSE Bug 1082481</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1112097</URL>
        <Description>SUSE Bug 1112097</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
