CVE-2021-42340

Public on 2021-10-14
Modified on 2024-01-17
Description
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.
Severity
Important severity
Important
CVSS v3 Base Score
7.5
See breakdown

Affected Packages

Platform Package Release Date Advisory Status
Amazon Linux 2 - Tomcat8.5 Extra tomcat 2023-08-21 ALAS2TOMCAT8.5-2023-006 Fixed
Amazon Linux 2 - Tomcat9 Extra tomcat 2023-08-21 ALAS2TOMCAT9-2023-006 Fixed
Amazon Linux 1 tomcat7 No Fix Planned
Amazon Linux 1 tomcat8 2021-10-29 ALAS-2021-1546 Fixed
Amazon Linux 2023 tomcat9 Not Affected

CVSS Scores

Score Type Score Vector
Amazon Linux CVSSv3 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD CVSSv2 5.0 AV:N/AC:L/Au:N/C:N/I:N/A:P
NVD CVSSv3 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H