Amazon Linux 2 Security Advisory: ALASTOMCAT8.5-2023-006
Advisory Release Date: 2023-08-21 20:58 Pacific
Advisory Updated Date: 2023-09-25 21:59 Pacific
A memory leak flaw was found in Apache Tomcat, where an HTTP upgrade connection does not release for WebSocket connections once the WebSocket connection is closed. If a sufficient number of such requests are made, an OutOfMemoryError occurs, leading to a denial of service. The highest threat from this vulnerability is to system availability. (CVE-2021-42340)
Affected Packages:
tomcat
Note:
This advisory is applicable to Amazon Linux 2 - Tomcat8.5 Extra. Visit this page to learn more about Amazon Linux 2 (AL2) Extras and this FAQ section for the difference between AL2 Core and AL2 Extras advisories.
Issue Correction:
Run yum update tomcat to update your system.
noarch:
tomcat-8.5.72-1.amzn2.0.1.noarch
tomcat-admin-webapps-8.5.72-1.amzn2.0.1.noarch
tomcat-docs-webapp-8.5.72-1.amzn2.0.1.noarch
tomcat-javadoc-8.5.72-1.amzn2.0.1.noarch
tomcat-jsvc-8.5.72-1.amzn2.0.1.noarch
tomcat-jsp-2.3-api-8.5.72-1.amzn2.0.1.noarch
tomcat-lib-8.5.72-1.amzn2.0.1.noarch
tomcat-servlet-3.1-api-8.5.72-1.amzn2.0.1.noarch
tomcat-el-3.0-api-8.5.72-1.amzn2.0.1.noarch
tomcat-webapps-8.5.72-1.amzn2.0.1.noarch
src:
tomcat-8.5.72-1.amzn2.0.1.src