Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2021-42340

7.5 · HIGH
Published Oct 14, 2021 apache CWE-772 EPSS 11.80% (96th pctl)

Overview

CVE-2021-42340 is a high-severity vulnerability affecting apache tomcat. It was published on October 14, 2021 and has a CVSS 3.1 base score of 7.5 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.5, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical Description

The fix for bug 63362 present in Apache Tomcat 10.1.0-M1 to 10.1.0-M5, 10.0.0-M1 to 10.0.11, 9.0.40 to 9.0.53 and 8.5.60 to 8.5.71 introduced a memory leak. The object introduced to collect metrics for HTTP upgrade connections was not released for WebSocket connections once the connection was closed. This created a memory leak that, over time, could lead to a denial of service via an OutOfMemoryError.

Remediation

Check the references section for vendor advisories and patches from apache. Update tomcat to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
apache tomcat >= 8.5.60, < 8.5.72 Affected
oracle big_data_spatial_and_graph >= 0, < 23.1 Affected
oracle communications_diameter_signaling_router 8.0.0.0 Affected

Frequently Asked Questions

What is CVE-2021-42340?

CVE-2021-42340 is a high-severity vulnerability affecting apache tomcat. It was published on October 14, 2021 and has a CVSS 3.1 base score of 7.5 (HIGH).

How severe is CVE-2021-42340?

This vulnerability has a CVSS 3.1 base score of 7.5, rated HIGH. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2021-42340?

Check the references section for vendor advisories and patches from apache. Update tomcat to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2021-42340?

CyberStrike's AI-powered security agents can automatically detect CVE-2021-42340 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.