ALAS2-2023-2020


Amazon Linux 2 Security Advisory: ALAS-2023-2020
Advisory Release Date: 2023-04-27 18:36 Pacific
Advisory Updated Date: 2023-05-11 18:32 Pacific
Severity: Important

Issue Overview:

2023-05-11: CVE-2017-12616 was added to this advisory.

When using a VirtualDirContext with Apache Tomcat 7.0.0 to 7.0.80 it was possible to bypass security constraints and/or view the source code of JSPs for resources served by the VirtualDirContext using a specially crafted request. (CVE-2017-12616)

When using the RemoteIpFilter with requests received from a reverse proxy via HTTP that include the X-Forwarded-Proto header set to https, session cookies created by Apache Tomcat 11.0.0-M1 to 11.0.0.-M2, 10.1.0-M1 to 10.1.5, 9.0.0-M1 to 9.0.71 and 8.5.0 to 8.5.85 did not include the secure attribute. This could result in the user agent transmitting the session cookie over an insecure channel. (CVE-2023-28708)


Affected Packages:

tomcat


Note:

This advisory is applicable to Amazon Linux 2 (AL2) Core repository. Visit this FAQ section for the difference between AL2 Core and AL2 Extras advisories.


Issue Correction:
Run yum update tomcat to update your system.

New Packages:
noarch:
    tomcat-7.0.76-10.amzn2.0.3.noarch
    tomcat-admin-webapps-7.0.76-10.amzn2.0.3.noarch
    tomcat-docs-webapp-7.0.76-10.amzn2.0.3.noarch
    tomcat-javadoc-7.0.76-10.amzn2.0.3.noarch
    tomcat-jsvc-7.0.76-10.amzn2.0.3.noarch
    tomcat-jsp-2.2-api-7.0.76-10.amzn2.0.3.noarch
    tomcat-lib-7.0.76-10.amzn2.0.3.noarch
    tomcat-servlet-3.0-api-7.0.76-10.amzn2.0.3.noarch
    tomcat-el-2.2-api-7.0.76-10.amzn2.0.3.noarch
    tomcat-webapps-7.0.76-10.amzn2.0.3.noarch

src:
    tomcat-7.0.76-10.amzn2.0.3.src