CVE-2021-42340
DoS via memory leak with WebSocket connections
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.5
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.
- Record
CVE-2021-42340- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - CVSS 2.0
- 5.0 Medium
AV:N/AC:L/Au:N/C:N/I:N/A:P - Weakness
- CWE-772
- Updated
- 2026-11-02
CVE List No score
DoS via memory leak with WebSocket connections
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.
- Record
CVE-2021-42340- Weakness
- CWE-772
- Updated
- 2026-11-02
EUVDEUVD-2021-2266 No score
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.
- Record
EUVD-2021-2266- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-wph7-x527-w3h5
7.5
Missing Release of Resource after Effective Lifetime in Apache Tomcat
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.
- Record
GHSA-wph7-x527-w3h5- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-772
- Updated
- 2026-11-02
OSV
7.5
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.
- Record
CVE-2021-42340- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2021-42340
7.5
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.
- Record
DEBIAN-CVE-2021-42340- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
Show 12 moreShow less
OSVGHSA-wph7-x527-w3h5
7.5
Missing Release of Resource after Effective Lifetime in Apache Tomcat
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.
- Record
GHSA-wph7-x527-w3h5- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-772
- Updated
- 2026-11-02
OSVOESA-2021-1413
7.5
tomcat security update
The Apache Tomcat software is developed in an open and participatory environment and released under the Apache License version 2. The Apache Tomcat project is intended to be a collaboration of the best-of-breed developers from around the world. We invite you to participate in this open development project
Security Fix(es):
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.(CVE-2021-42340)
- Record
OESA-2021-1413- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVRHBA-2022:8077
7.5
Red Hat Bug Fix Advisory: pki-servlet-engine bug fix and enhancement update
- Record
RHBA-2022:8077- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVRHSA-2021:4861
7.5
Red Hat Security Advisory: Red Hat JBoss Web Server 5.6.0 Security release
- Record
RHSA-2021:4861- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2021-42340
7.5
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.
- Record
UBUNTU-CVE-2021-42340- CVSS 3.1
- 7.5 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVBIT-tomcat-2021-42340 No score
DoS via memory leak with WebSocket connections
The fix for bug 63362 present in Apache Tomcat 10.1.0 to 10.1.0, 10.0.0 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.
- Record
BIT-tomcat-2021-42340- Updated
- 2026-11-02
OSVCLSA-2025-1748282295 No score
Fix of 34 CVEs
- SECURITY UPDATE: Misc vulnerability fixes
- CVE-2019-12418, CVE-2019-17563, CVE-2020-1935, CVE-2020-11996, CVE-2020-13934, CVE-2020-13935, CVE-2020-13943, CVE-2020-17527, CVE-2021-24122, CVE-2021-30639, CVE-2021-30640, CVE-2021-33037, CVE-2021-42340, CVE-2021-43980, CVE-2022-25762, CVE-2022-34305, CVE-2022-45143, CVE-2023-24998, CVE-2023-28709, CVE-2023-34981, CVE-2023-42794, CVE-2024-21733
- Update to 8.5.100
- debian/rules, debian/libtomcat8-java.poms, debian/maven.rules, debian/tomcat8-common.links, debian/patches/0018-fix-manager-webapp.patch, debian/patches/0019-add-distribution-to-error-page.patch, debian/patches/0021-dont-test-unsupported-ciphers.patch, debian/patches/0101-skipping-tests-incompatible-with-firewall.patch: updated
- debian/patches/0002-do-not-load-AJP13-connector-by-default.patch, debian/patches/0026-easymock4-compatibility.patch: removed as they were applied in upstream
- CVE-2019-0221.patch, CVE-2019-10072-1.patch, CVE-2019-10072-2.patch, CVE-2022-42252.patch, CVE-2020-1938.patch, CVE-2021-25122.patch, CVE-2021-41079.patch, CVE-2022-29885.patch, CVE-2020-9484.patch, CVE-2021-25329-pre1.patch, CVE-2021-25329.patch, CVE-2022-23181.patch, CVE-2023-44487.patch, CVE-2023-46589-pre1.patch, CVE-2023-46589-pre2.patch, CVE-2023-46589-pre3.patch, CVE-2023-46589-pre4.patch, CVE-2023-46589.patch: removed because these CVEs were fixed in upstream
- Internal tests
- debian/test_certs/*: updated from upstream branch 9.0.x, as the 8.0.x certs were expired
- Record
CLSA-2025-1748282295- Updated
- 2026-11-02
OSVCLSA-2025-1764720465 No score
TuxCare security update for 5 packages (18 CVEs)
TuxCare rebuilt 5 packages to address 18 CVEs. Fixed in 9.0.50-tuxcare.2.
- Record
CLSA-2025-1764720465- Updated
- 2026-11-02
OSVCLSA-2026-1773188120 No score
TuxCare security update for 5 packages (23 CVEs)
TuxCare rebuilt 5 packages to address 23 CVEs. Fixed in 9.0.46-tuxcare.1.
- Record
CLSA-2026-1773188120- Updated
- 2026-11-02
OSVCLSA-2026-1792667085 No score
TuxCare security update for 7 packages (24 CVEs)
TuxCare rebuilt 7 packages to address 24 CVEs. Fixed in 8.5.46-tuxcare.1.
- Record
CLSA-2026-1792667085- Updated
- 2026-11-02
OSVCLSA-2026-1792687381 No score
TuxCare security update for 5 packages (4 CVEs)
TuxCare rebuilt 5 packages to address 4 CVEs. Fixed in 7.0.109-tuxcare.5.
- Record
CLSA-2026-1792687381- Updated
- 2026-11-02
OSVMGASA-2021-0485 No score
Updated tomcat packages fix security vulnerability
A vulnerability in the JNDI Realm of Apache Tomcat allows an attacker to authenticate using variations of a valid user name and/or to bypass some of the protection provided by the LockOut Realm. (CVE-2021-30640)
Apache Tomcat 10.0.0-M1 to 10.0.6, 9.0.0.M1 to 9.0.46 and 8.5.0 to 8.5.66 did not correctly parse the HTTP transfer-encoding request header in some circumstances leading to the possibility to request smuggling when used with a reverse proxy. Specifically: - Tomcat incorrectly ignored the transfer encoding header if the client declared it would only accept an HTTP/1.0 response; - Tomcat honoured the identify encoding; and - Tomcat did not ensure that, if present, the chunked encoding was the final encoding. (CVE-2021-33037)
Apache Tomcat 8.5.0 to 8.5.63, 9.0.0-M1 to 9.0.43 and 10.0.0-M1 to 10.0.2 did not properly validate incoming TLS packets. When Tomcat was configured to use NIO+OpenSSL or NIO2+OpenSSL for TLS, a specially crafted packet could be used to trigger an infinite loop resulting in a denial of service. (CVE-2021-41079)
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. (CVE-2021-42340)
- Record
MGASA-2021-0485- Updated
- 2026-11-02
Affected products
- apache tomcat
- apache software foundation tomcat
- debian linux
- netapp hci
- netapp management services for element software
- oracle agile engineering data management
- oracle big data spatial and graph
- oracle communications diameter signaling router
- oracle hospitality cruise shipboard property management system
- oracle managed file transfer
- oracle middleware common libraries and tools
- oracle payment interface
Affected packages
| Package | Affected | Fixed |
|---|---|---|
org.apache.tomcat:tomcatMaven |
10.1.0-M1 to 10.1.0-M5 | 10.1.0-M6 |
org.apache.tomcat:tomcatMaven |
10.0.0-M1 up to 10.0.12 | 10.0.12 |
org.apache.tomcat:tomcatMaven |
9.0.40 up to 9.0.54 | 9.0.54 |
org.apache.tomcat:tomcatMaven |
8.5.60 up to 8.5.72 | 8.5.72 |
tomcatBitnami |
8.5.60 up to 8.5.72, 9.0.40 up to 9.0.54, 10.0.1 up to 10.0.12 | 8.5.729.0.5410.0.12 |
libtomcat8-embed-javaTuxCare:Ubuntu:18.04 From an advisory covering 34 CVEs |
before 8.5.100-1ubuntu1~18.04.1+tuxcare.els1 | 8.5.100-1ubuntu1~18.04.1+tuxcare.els1 |
libtomcat8-javaTuxCare:Ubuntu:18.04 From an advisory covering 34 CVEs |
before 8.5.100-1ubuntu1~18.04.1+tuxcare.els1 | 8.5.100-1ubuntu1~18.04.1+tuxcare.els1 |
tomcat8TuxCare:Ubuntu:18.04 From an advisory covering 34 CVEs |
before 8.5.100-1ubuntu1~18.04.1+tuxcare.els1 | 8.5.100-1ubuntu1~18.04.1+tuxcare.els1 |
tomcat8-adminTuxCare:Ubuntu:18.04 From an advisory covering 34 CVEs |
before 8.5.100-1ubuntu1~18.04.1+tuxcare.els1 | 8.5.100-1ubuntu1~18.04.1+tuxcare.els1 |
tomcat8-commonTuxCare:Ubuntu:18.04 From an advisory covering 34 CVEs |
before 8.5.100-1ubuntu1~18.04.1+tuxcare.els1 | 8.5.100-1ubuntu1~18.04.1+tuxcare.els1 |
Show 68 moreShow less
| Package | Affected | Fixed |
|---|---|---|
tomcat8-docsTuxCare:Ubuntu:18.04 From an advisory covering 34 CVEs |
before 8.5.100-1ubuntu1~18.04.1+tuxcare.els1 | 8.5.100-1ubuntu1~18.04.1+tuxcare.els1 |
tomcat8-examplesTuxCare:Ubuntu:18.04 From an advisory covering 34 CVEs |
before 8.5.100-1ubuntu1~18.04.1+tuxcare.els1 | 8.5.100-1ubuntu1~18.04.1+tuxcare.els1 |
tomcat8-userTuxCare:Ubuntu:18.04 From an advisory covering 34 CVEs |
before 8.5.100-1ubuntu1~18.04.1+tuxcare.els1 | 8.5.100-1ubuntu1~18.04.1+tuxcare.els1 |
org.apache.tomcat.embed:tomcat-embed-coreTuxCare:Maven From an advisory covering 18 CVEs |
9.0.50 up to 9.0.50-tuxcare.2, plus listed versions 9.0.50-tuxcare.1 |
9.0.50-tuxcare.2 |
org.apache.tomcat:tomcatTuxCare:Maven From an advisory covering 18 CVEs |
9.0.50 up to 9.0.50-tuxcare.2, plus listed versions 9.0.50-tuxcare.1 |
9.0.50-tuxcare.2 |
org.apache.tomcat:tomcat-catalinaTuxCare:Maven From an advisory covering 18 CVEs |
9.0.50 up to 9.0.50-tuxcare.2, plus listed versions 9.0.50-tuxcare.1 |
9.0.50-tuxcare.2 |
org.apache.tomcat:tomcat-coyoteTuxCare:Maven From an advisory covering 18 CVEs |
9.0.50 up to 9.0.50-tuxcare.2, plus listed versions 9.0.50-tuxcare.1 |
9.0.50-tuxcare.2 |
org.apache.tomcat:tomcat-utilTuxCare:Maven From an advisory covering 18 CVEs |
9.0.50 up to 9.0.50-tuxcare.2, plus listed versions 9.0.50-tuxcare.1 |
9.0.50-tuxcare.2 |
org.apache.tomcat.embed:tomcat-embed-coreTuxCare:Maven From an advisory covering 23 CVEs |
9.0.46 up to 9.0.46-tuxcare.1 | 9.0.46-tuxcare.1 |
org.apache.tomcat:tomcatTuxCare:Maven From an advisory covering 23 CVEs |
9.0.46 up to 9.0.46-tuxcare.1 | 9.0.46-tuxcare.1 |
org.apache.tomcat:tomcat-catalinaTuxCare:Maven From an advisory covering 23 CVEs |
9.0.46 up to 9.0.46-tuxcare.1 | 9.0.46-tuxcare.1 |
org.apache.tomcat:tomcat-coyoteTuxCare:Maven From an advisory covering 23 CVEs |
9.0.46 up to 9.0.46-tuxcare.1 | 9.0.46-tuxcare.1 |
org.apache.tomcat:tomcat-utilTuxCare:Maven From an advisory covering 23 CVEs |
9.0.46 up to 9.0.46-tuxcare.1 | 9.0.46-tuxcare.1 |
org.apache.tomcat.embed:tomcat-embed-coreTuxCare:Maven From an advisory covering 24 CVEs |
8.5.46 up to 8.5.46-tuxcare.1 | 8.5.46-tuxcare.1 |
org.apache.tomcat.embed:tomcat-embed-websocketTuxCare:Maven From an advisory covering 24 CVEs |
8.5.46 up to 8.5.46-tuxcare.1 | 8.5.46-tuxcare.1 |
org.apache.tomcat:tomcatTuxCare:Maven From an advisory covering 24 CVEs |
8.5.46 up to 8.5.46-tuxcare.1 | 8.5.46-tuxcare.1 |
org.apache.tomcat:tomcat-catalinaTuxCare:Maven From an advisory covering 24 CVEs |
8.5.46 up to 8.5.46-tuxcare.1 | 8.5.46-tuxcare.1 |
org.apache.tomcat:tomcat-coyoteTuxCare:Maven From an advisory covering 24 CVEs |
8.5.46 up to 8.5.46-tuxcare.1 | 8.5.46-tuxcare.1 |
org.apache.tomcat:tomcat-tribesTuxCare:Maven From an advisory covering 24 CVEs |
8.5.46 up to 8.5.46-tuxcare.1 | 8.5.46-tuxcare.1 |
org.apache.tomcat:tomcat-websocketTuxCare:Maven From an advisory covering 24 CVEs |
8.5.46 up to 8.5.46-tuxcare.1 | 8.5.46-tuxcare.1 |
org.apache.tomcat.embed:tomcat-embed-coreTuxCare:Maven From an advisory covering 4 CVEs |
7.0.109 up to 7.0.109-tuxcare.5, plus listed versions 7.0.109-tuxcare.17.0.109-tuxcare.27.0.109-tuxcare.37.0.109-tuxcare.4 |
7.0.109-tuxcare.5 |
org.apache.tomcat:tomcatTuxCare:Maven From an advisory covering 4 CVEs |
7.0.109 up to 7.0.109-tuxcare.5, plus listed versions 7.0.109-tuxcare.17.0.109-tuxcare.27.0.109-tuxcare.37.0.109-tuxcare.4 |
7.0.109-tuxcare.5 |
org.apache.tomcat:tomcat-catalinaTuxCare:Maven From an advisory covering 4 CVEs |
7.0.109 up to 7.0.109-tuxcare.5, plus listed versions 7.0.109-tuxcare.17.0.109-tuxcare.27.0.109-tuxcare.37.0.109-tuxcare.4 |
7.0.109-tuxcare.5 |
org.apache.tomcat:tomcat-coyoteTuxCare:Maven From an advisory covering 4 CVEs |
7.0.109 up to 7.0.109-tuxcare.5, plus listed versions 7.0.109-tuxcare.17.0.109-tuxcare.27.0.109-tuxcare.37.0.109-tuxcare.4 |
7.0.109-tuxcare.5 |
org.apache.tomcat:tomcat-utilTuxCare:Maven From an advisory covering 4 CVEs |
7.0.109 up to 7.0.109-tuxcare.5, plus listed versions 7.0.109-tuxcare.17.0.109-tuxcare.27.0.109-tuxcare.37.0.109-tuxcare.4 |
7.0.109-tuxcare.5 |
tomcat9Debian:12 |
before 9.0.54-1 | 9.0.54-1 |
tomcat9Debian:13 |
before 9.0.54-1 | 9.0.54-1 |
tomcat9Debian:14 |
before 9.0.54-1 | 9.0.54-1 |
tomcat9Debian:11 |
before 9.0.43-2~deb11u3, plus listed versions 9.0.43-19.0.43-2~deb11u19.0.43-2~deb11u2 |
9.0.43-2~deb11u3 |
org.apache.tomcat:tomcatMaven |
10.1.0-M1 up to 10.1.0-M6, plus listed versions 10.1.0-M210.1.0-M410.1.0-M5 |
10.1.0-M6 |
org.apache.tomcat:tomcatMaven |
10.0.0-M1 up to 10.0.12, plus listed versions 10.0.010.0.0-M1010.0.0-M310.0.0-M410.0.0-M5 Show 12 moreShow less10.0.0-M610.0.0-M710.0.0-M810.0.0-M910.0.1010.0.1110.0.210.0.410.0.510.0.610.0.710.0.8 |
10.0.12 |
org.apache.tomcat:tomcatMaven |
9.0.40 up to 9.0.54, plus listed versions 9.0.419.0.439.0.449.0.459.0.46 Show 4 moreShow less9.0.489.0.509.0.529.0.53 |
9.0.54 |
org.apache.tomcat:tomcatMaven |
8.5.60 up to 8.5.72, plus listed versions 8.5.618.5.638.5.648.5.658.5.66 Show 4 moreShow less8.5.688.5.698.5.708.5.71 |
8.5.72 |
tomcatMageia:8 From an advisory covering 4 CVEs |
before 9.0.54-1.mga8 | 9.0.54-1.mga8 |
tomcatopenEuler:20.03-LTS-SP1 |
before 9.0.10-22.oe1 | 9.0.10-22.oe1 |
tomcatopenEuler:20.03-LTS-SP2 |
before 9.0.10-22.oe1 | 9.0.10-22.oe1 |
pki-servlet-4.0-apiRed Hat:enterprise_linux:9::appstream |
before 1:9.0.50-1.el9 | 1:9.0.50-1.el9 |
pki-servlet-engineRed Hat:enterprise_linux:9::appstream |
before 1:9.0.50-1.el9 | 1:9.0.50-1.el9 |
jws5-tomcatRed Hat:jboss_enterprise_web_server:5.6::el7 From an advisory covering 6 CVEs |
before 0:9.0.50-3.redhat_00004.1.el7jws | 0:9.0.50-3.redhat_00004.1.el7jws |
jws5-tomcat-admin-webappsRed Hat:jboss_enterprise_web_server:5.6::el7 From an advisory covering 6 CVEs |
before 0:9.0.50-3.redhat_00004.1.el7jws | 0:9.0.50-3.redhat_00004.1.el7jws |
jws5-tomcat-docs-webappRed Hat:jboss_enterprise_web_server:5.6::el7 From an advisory covering 6 CVEs |
before 0:9.0.50-3.redhat_00004.1.el7jws | 0:9.0.50-3.redhat_00004.1.el7jws |
jws5-tomcat-el-3.0-apiRed Hat:jboss_enterprise_web_server:5.6::el7 From an advisory covering 6 CVEs |
before 0:9.0.50-3.redhat_00004.1.el7jws | 0:9.0.50-3.redhat_00004.1.el7jws |
jws5-tomcat-java-jdk11Red Hat:jboss_enterprise_web_server:5.6::el7 From an advisory covering 6 CVEs |
before 0:9.0.50-3.redhat_00004.1.el7jws | 0:9.0.50-3.redhat_00004.1.el7jws |
jws5-tomcat-java-jdk8Red Hat:jboss_enterprise_web_server:5.6::el7 From an advisory covering 6 CVEs |
before 0:9.0.50-3.redhat_00004.1.el7jws | 0:9.0.50-3.redhat_00004.1.el7jws |
jws5-tomcat-javadocRed Hat:jboss_enterprise_web_server:5.6::el7 From an advisory covering 6 CVEs |
before 0:9.0.50-3.redhat_00004.1.el7jws | 0:9.0.50-3.redhat_00004.1.el7jws |
jws5-tomcat-jsp-2.3-apiRed Hat:jboss_enterprise_web_server:5.6::el7 From an advisory covering 6 CVEs |
before 0:9.0.50-3.redhat_00004.1.el7jws | 0:9.0.50-3.redhat_00004.1.el7jws |
jws5-tomcat-libRed Hat:jboss_enterprise_web_server:5.6::el7 From an advisory covering 6 CVEs |
before 0:9.0.50-3.redhat_00004.1.el7jws | 0:9.0.50-3.redhat_00004.1.el7jws |
jws5-tomcat-nativeRed Hat:jboss_enterprise_web_server:5.6::el7 From an advisory covering 6 CVEs |
before 0:1.2.30-3.redhat_3.el7jws | 0:1.2.30-3.redhat_3.el7jws |
jws5-tomcat-native-debuginfoRed Hat:jboss_enterprise_web_server:5.6::el7 From an advisory covering 6 CVEs |
before 0:1.2.30-3.redhat_3.el7jws | 0:1.2.30-3.redhat_3.el7jws |
jws5-tomcat-selinuxRed Hat:jboss_enterprise_web_server:5.6::el7 From an advisory covering 6 CVEs |
before 0:9.0.50-3.redhat_00004.1.el7jws | 0:9.0.50-3.redhat_00004.1.el7jws |
jws5-tomcat-servlet-4.0-apiRed Hat:jboss_enterprise_web_server:5.6::el7 From an advisory covering 6 CVEs |
before 0:9.0.50-3.redhat_00004.1.el7jws | 0:9.0.50-3.redhat_00004.1.el7jws |
jws5-tomcat-vaultRed Hat:jboss_enterprise_web_server:5.6::el7 From an advisory covering 6 CVEs |
before 0:1.1.8-4.Final_redhat_00004.1.el7jws | 0:1.1.8-4.Final_redhat_00004.1.el7jws |
jws5-tomcat-vault-javadocRed Hat:jboss_enterprise_web_server:5.6::el7 From an advisory covering 6 CVEs |
before 0:1.1.8-4.Final_redhat_00004.1.el7jws | 0:1.1.8-4.Final_redhat_00004.1.el7jws |
jws5-tomcat-webappsRed Hat:jboss_enterprise_web_server:5.6::el7 From an advisory covering 6 CVEs |
before 0:9.0.50-3.redhat_00004.1.el7jws | 0:9.0.50-3.redhat_00004.1.el7jws |
jws5-tomcatRed Hat:jboss_enterprise_web_server:5.6::el8 From an advisory covering 6 CVEs |
before 0:9.0.50-3.redhat_00004.1.el8jws | 0:9.0.50-3.redhat_00004.1.el8jws |
jws5-tomcat-admin-webappsRed Hat:jboss_enterprise_web_server:5.6::el8 From an advisory covering 6 CVEs |
before 0:9.0.50-3.redhat_00004.1.el8jws | 0:9.0.50-3.redhat_00004.1.el8jws |
jws5-tomcat-docs-webappRed Hat:jboss_enterprise_web_server:5.6::el8 From an advisory covering 6 CVEs |
before 0:9.0.50-3.redhat_00004.1.el8jws | 0:9.0.50-3.redhat_00004.1.el8jws |
jws5-tomcat-el-3.0-apiRed Hat:jboss_enterprise_web_server:5.6::el8 From an advisory covering 6 CVEs |
before 0:9.0.50-3.redhat_00004.1.el8jws | 0:9.0.50-3.redhat_00004.1.el8jws |
jws5-tomcat-javadocRed Hat:jboss_enterprise_web_server:5.6::el8 From an advisory covering 6 CVEs |
before 0:9.0.50-3.redhat_00004.1.el8jws | 0:9.0.50-3.redhat_00004.1.el8jws |
jws5-tomcat-jsp-2.3-apiRed Hat:jboss_enterprise_web_server:5.6::el8 From an advisory covering 6 CVEs |
before 0:9.0.50-3.redhat_00004.1.el8jws | 0:9.0.50-3.redhat_00004.1.el8jws |
jws5-tomcat-libRed Hat:jboss_enterprise_web_server:5.6::el8 From an advisory covering 6 CVEs |
before 0:9.0.50-3.redhat_00004.1.el8jws | 0:9.0.50-3.redhat_00004.1.el8jws |
jws5-tomcat-nativeRed Hat:jboss_enterprise_web_server:5.6::el8 From an advisory covering 6 CVEs |
before 0:1.2.30-3.redhat_3.el8jws | 0:1.2.30-3.redhat_3.el8jws |
jws5-tomcat-native-debuginfoRed Hat:jboss_enterprise_web_server:5.6::el8 From an advisory covering 6 CVEs |
before 0:1.2.30-3.redhat_3.el8jws | 0:1.2.30-3.redhat_3.el8jws |
jws5-tomcat-selinuxRed Hat:jboss_enterprise_web_server:5.6::el8 From an advisory covering 6 CVEs |
before 0:9.0.50-3.redhat_00004.1.el8jws | 0:9.0.50-3.redhat_00004.1.el8jws |
jws5-tomcat-servlet-4.0-apiRed Hat:jboss_enterprise_web_server:5.6::el8 From an advisory covering 6 CVEs |
before 0:9.0.50-3.redhat_00004.1.el8jws | 0:9.0.50-3.redhat_00004.1.el8jws |
jws5-tomcat-vaultRed Hat:jboss_enterprise_web_server:5.6::el8 From an advisory covering 6 CVEs |
before 0:1.1.8-4.Final_redhat_00004.1.el8jws | 0:1.1.8-4.Final_redhat_00004.1.el8jws |
jws5-tomcat-vault-javadocRed Hat:jboss_enterprise_web_server:5.6::el8 From an advisory covering 6 CVEs |
before 0:1.1.8-4.Final_redhat_00004.1.el8jws | 0:1.1.8-4.Final_redhat_00004.1.el8jws |
jws5-tomcat-webappsRed Hat:jboss_enterprise_web_server:5.6::el8 From an advisory covering 6 CVEs |
before 0:9.0.50-3.redhat_00004.1.el8jws | 0:9.0.50-3.redhat_00004.1.el8jws |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| affected | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-42340 is a high vulnerability (CVSS 7.5) in Apache Tomcat, published October 14, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 11.8%, the 96th percentile. Fixed in org.apache.tomcat:tomcat 10.1.0-M6.
References
lists.apache.org/thread.html/r83a35be60f06aca2065f188ee542b9099695d57ced2e70e0885f905c%40%3Cannounce.tomcat.apache.org%3E
lists.apache.org/thread.html/r8097a2d1550aa78e585fc77e602b9046e6d4099d8d132497c5387784%40%3Ccommits.myfaces.apache.org%3E
debian.org/security/2021/dsa-5009
oracle.com/security-alerts/cpujan2022.html
security.netapp.com/advisory/ntap-20211104-0001
kc.mcafee.com/corporate/index?page=content&id=SB10379
Show 56 moreShow less
oracle.com/security-alerts/cpuapr2022.html
oracle.com/security-alerts/cpujul2022.html
security.gentoo.org/glsa/202208-34
nvd.nist.gov/vuln/detail/CVE-2021-42340
lists.apache.org/thread.html/r8097a2d1550aa78e585fc77e602b9046e6d4099d8d132497c5387784@%3Ccommits.myfaces.apache.org%3E
github.com/apache/tomcat/commit/31d62426645824bdfe076a0c0eafa904d90b4fb9
github.com/apache/tomcat/commit/80f1438ec45e77a07b96419808971838d259eb47
github.com/apache/tomcat/commit/d27535bdee95d252418201eb21e9d29476aa6b6a
github.com/apache/tomcat/commit/d5a6660cba7f51589468937bf3bbad4db7810371
tomcat.apache.org/security-9.html
tomcat.apache.org/security-8.html
tomcat.apache.org/security-10.html
github.com/advisories/GHSA-wph7-x527-w3h5
errata.cloudlinux.com/ubuntu18-els/CLSA-2025-1748282295.html
security-tracker.debian.org/tracker/CVE-2021-42340
github.com/apache/tomcat
advisories.mageia.org/MGASA-2021-0485.html
bugs.mageia.org/show_bug.cgi?id=29351
debian.org/security/2021/dsa-4952
openwall.com/lists/oss-security/2021/09/15/6
openwall.com/lists/oss-security/2021/10/14/1
debian.org/security/2021/dsa-4986
openeuler.org/en/security/safety-bulletin/detail.html?id=openEuler-SA-2021-1413
access.redhat.com/errata/RHBA-2022:8077
access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html/9.1_release_notes/index
bugzilla.redhat.com/show_bug.cgi?id=2060910
security.access.redhat.com/data/csaf/v2/advisories/2022/rhba-2022_8077.json
access.redhat.com/security/cve/CVE-2021-42340
bugzilla.redhat.com/show_bug.cgi?id=2014356
cve.org/CVERecord?id=CVE-2021-42340
access.redhat.com/errata/RHSA-2021:4861
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=1981533
bugzilla.redhat.com/show_bug.cgi?id=1981544
security.access.redhat.com/data/csaf/v2/advisories/2021/rhsa-2021_4861.json
access.redhat.com/security/cve/CVE-2021-3712
bugzilla.redhat.com/show_bug.cgi?id=1995634
cve.org/CVERecord?id=CVE-2021-3712
nvd.nist.gov/vuln/detail/CVE-2021-3712
openssl.org/news/secadv/20210824.txt
access.redhat.com/security/cve/CVE-2021-23840
bugzilla.redhat.com/show_bug.cgi?id=1930324
cve.org/CVERecord?id=CVE-2021-23840
nvd.nist.gov/vuln/detail/CVE-2021-23840
openssl.org/news/secadv/20210216.txt
access.redhat.com/security/cve/CVE-2021-23841
bugzilla.redhat.com/show_bug.cgi?id=1930310
cve.org/CVERecord?id=CVE-2021-23841
nvd.nist.gov/vuln/detail/CVE-2021-23841
access.redhat.com/security/cve/CVE-2021-30640
cve.org/CVERecord?id=CVE-2021-30640
nvd.nist.gov/vuln/detail/CVE-2021-30640
access.redhat.com/security/cve/CVE-2021-33037
cve.org/CVERecord?id=CVE-2021-33037
nvd.nist.gov/vuln/detail/CVE-2021-33037
ubuntu.com/security/CVE-2021-42340