ALAS-2018-972


Amazon Linux 1 Security Advisory: ALAS-2018-972
Advisory Release Date: 2018-03-21 22:06 Pacific
Advisory Updated Date: 2018-03-23 17:21 Pacific
Severity: Medium

Issue Overview:

Late application of security constraints can lead to resource exposure for unauthorised users:
Security constraints defined by annotations of Servlets in Apache Tomcat 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. (CVE-2018-1305)

Incorrect handling of empty string URL in security constraints can lead to unintended exposure of resources:
The URL pattern of "" (the empty string) which exactly maps to the context root was not correctly handled in Apache Tomcat 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. (CVE-2018-1304)


Affected Packages:

tomcat7, tomcat8


Issue Correction:
Run yum update tomcat7 to update your system.
Run yum update tomcat8 to update your system.

New Packages:
noarch:
    tomcat7-log4j-7.0.85-1.32.amzn1.noarch
    tomcat7-admin-webapps-7.0.85-1.32.amzn1.noarch
    tomcat7-javadoc-7.0.85-1.32.amzn1.noarch
    tomcat7-7.0.85-1.32.amzn1.noarch
    tomcat7-webapps-7.0.85-1.32.amzn1.noarch
    tomcat7-jsp-2.2-api-7.0.85-1.32.amzn1.noarch
    tomcat7-el-2.2-api-7.0.85-1.32.amzn1.noarch
    tomcat7-lib-7.0.85-1.32.amzn1.noarch
    tomcat7-servlet-3.0-api-7.0.85-1.32.amzn1.noarch
    tomcat7-docs-webapp-7.0.85-1.32.amzn1.noarch
    tomcat8-8.5.29-1.77.amzn1.noarch
    tomcat8-docs-webapp-8.5.29-1.77.amzn1.noarch
    tomcat8-admin-webapps-8.5.29-1.77.amzn1.noarch
    tomcat8-el-3.0-api-8.5.29-1.77.amzn1.noarch
    tomcat8-javadoc-8.5.29-1.77.amzn1.noarch
    tomcat8-webapps-8.5.29-1.77.amzn1.noarch
    tomcat8-servlet-3.1-api-8.5.29-1.77.amzn1.noarch
    tomcat8-lib-8.5.29-1.77.amzn1.noarch
    tomcat8-log4j-8.5.29-1.77.amzn1.noarch
    tomcat8-jsp-2.3-api-8.5.29-1.77.amzn1.noarch

src:
    tomcat7-7.0.85-1.32.amzn1.src
    tomcat8-8.5.29-1.77.amzn1.src