QID 352860

Date Published: 2021-11-15

QID 352860: Amazon Linux Security Advisory for tomcat8: ALAS-2021-1546

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)



Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.

Allows unauthorized disclosure of information; allows unauthorized modification; allows disruption of service.

  • CVSS V3 rated as High - 7.5 severity.
  • CVSS V2 rated as Medium - 5 severity.
  • Solution
    Please refer to Amazon advisory: ALAS-2021-1546 for affected packages and patching details, or update with your package manager.
    Vendor References

    CVEs related to QID 352860

    Software Advisories
    Advisory ID Software Component Link
    ALAS-2021-1546 Amazon Linux URL Logo alas.aws.amazon.com/ALAS-2021-1546.html