ADVISORIES

Amazon Linux Security Advisory

ALAS2023-2023-176

Amazon Linux 2023 - ALAS2023-2023-176: Important priority package update for tomcat9

Details

Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities: CVE-2023-28708: 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-2022-45143: The JsonErrorReportValve in Apache Tomcat 8.5.83, 9.0.40 to 9.0.68 and 10.1.0-M1 to 10.1.1 did not escape the type, message or description values. In some circumstances these are constructed from user provided data and it was therefore possible for users to supply values that invalidated or manipulated the JSON output.

CVE-2021-43980: The simplified implementation of blocking reads and writes introduced in Tomcat 10 and back-ported to Tomcat 9.0.47 onwards exposed a long standing (but extremely hard to trigger) concurrency bug in Apache Tomcat 10.1.0 to 10.1.0-M12, 10.0.0-M1 to 10.0.18, 9.0.0-M1 to 9.0.60 and 8.5.0 to 8.5.77 that could cause client connections to share an Http11Processor instance resulting in responses, or part responses, to be received by the wrong client.

Affected packages

EcosystemPackageAffected versions
Amazon Linux:2023tomcat9
All versions before 1:9.0.71-1.amzn2023.0.2 (fixed in 1:9.0.71-1.amzn2023.0.2)
Amazon Linux:2023tomcat9-admin-webapps
All versions before 1:9.0.71-1.amzn2023.0.2 (fixed in 1:9.0.71-1.amzn2023.0.2)
Amazon Linux:2023tomcat9-docs-webapp
All versions before 1:9.0.71-1.amzn2023.0.2 (fixed in 1:9.0.71-1.amzn2023.0.2)
Amazon Linux:2023tomcat9-el-3.0-api
All versions before 1:9.0.71-1.amzn2023.0.2 (fixed in 1:9.0.71-1.amzn2023.0.2)
Amazon Linux:2023tomcat9-jsp-2.3-api
All versions before 1:9.0.71-1.amzn2023.0.2 (fixed in 1:9.0.71-1.amzn2023.0.2)
Amazon Linux:2023tomcat9-lib
All versions before 1:9.0.71-1.amzn2023.0.2 (fixed in 1:9.0.71-1.amzn2023.0.2)
Amazon Linux:2023tomcat9-servlet-4.0-api
All versions before 1:9.0.71-1.amzn2023.0.2 (fixed in 1:9.0.71-1.amzn2023.0.2)
Amazon Linux:2023tomcat9-webapps
All versions before 1:9.0.71-1.amzn2023.0.2 (fixed in 1:9.0.71-1.amzn2023.0.2)

References