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
See what this means
CVSS v3 Base Score
7.5
See breakdown

Affected Packages

Platform Package Release Date Advisory
Amazon Linux 2 - Tomcat8.5 Extra tomcat 2023-09-25 ALAS2TOMCAT8.5-2023-006
Amazon Linux 2 - Tomcat9 Extra tomcat 2023-09-25 ALAS2TOMCAT9-2023-006
Amazon Linux 1 tomcat8 2021-11-04 ALAS-2021-1546

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