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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Apache Software Foundation | Apache Tomcat | Apache Tomcat 10 10.0.0-M10 to 10.0.11, Apache Tomcat 10 10.1.0-M1 to 10.1.0-M5, Apache Tomcat 9 9.0.40 to 9.0.53, Apache Tomcat 8 8.5.60 to 8.5.71 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | tomcat9 | 9.0.54-1 | — |
| Debian 13 | tomcat9 | 9.0.54-1 | — |
| Debian 12 | tomcat9 | 9.0.54-1 | — |
| Debian 11 | tomcat9 | 9.0.43-2~deb11u3 | DSA-5009-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 9 | pki-servlet-engine +1 | 1:9.0.50-1.el9 | RHBA-2022:8077 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat JBoss Web Server 5 | jws5-tomcat +11 | 9.0.50-3.redhat_00004.1.el7jws | RHSA-2021:4861 |
| Red Hat JBoss Web Server 5 | jws5-tomcat-native | 1.2.30-3.redhat_3.el7jws | RHSA-2021:4861 |
| Red Hat JBoss Web Server 5 | jws5-tomcat-vault +1 | 1.1.8-4.Final_redhat_00004.1.el7jws | RHSA-2021:4861 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Maven | org.apache.tomcat:tomcat | >= 10.1.0-M1, < 10.1.0-M6 | 10.1.0-M6 | GHSA-wph7-x527-w3h5 |
| Maven | org.apache.tomcat:tomcat | >= 10.0.0-M1, < 10.0.12 | 10.0.12 | GHSA-wph7-x527-w3h5 |
| Maven | org.apache.tomcat:tomcat | >= 9.0.40, < 9.0.54 | 9.0.54 | GHSA-wph7-x527-w3h5 |
| Maven | org.apache.tomcat:tomcat | >= 8.5.60, < 8.5.72 | 8.5.72 | GHSA-wph7-x527-w3h5 |
Advisories 8
- RHBA-2022:8077 Red Hat Bug Fix Advisory: pki-servlet-engine bug fix and enhancement update Red Hat Security Advisories (RHSA) · Oct 2, 2026
- RHSA-2021:4861 Red Hat Security Advisory: Red Hat JBoss Web Server 5.6.0 Security release Red Hat Security Advisories (RHSA) · Oct 2, 2026
- WID-SEC-2022-0607 Red Hat FUSE: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 9, 2026
- DSA-5009-1 tomcat9 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- WID-SEC-2022-0169 Oracle MySQL: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jan 25, 2026
- WID-SEC-2022-1375 JFrog Artifactory: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 12, 2025
- WID-SEC-2024-1238 HPE HP-UX: Mehrere Schwachstellen BSI CERT-Bund (WID) · May 27, 2024
- WID-SEC-2022-1121 Apache Tomcat: Schwachstelle ermöglicht Denial of Service BSI CERT-Bund (WID) · Mar 20, 2024
References
- https://lists.apache.org/thread.html/r83a35be60f06aca2065f188ee542b9099695d57ced2e70e0885f905c%40%3Cannounce.tomcat.apache.org%3E
- [myfaces-commits] 20211021 [myfaces-tobago] branch tobago-5.x updated: build: workaround for CVE-2021-42340 mailing-list
- DSA-5009 vendor-advisory
- https://www.oracle.com/security-alerts/cpujan2022.html
- https://security.netapp.com/advisory/ntap-20211104-0001/
- https://kc.mcafee.com/corporate/index?page=content&id=SB10379
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://www.oracle.com/security-alerts/cpujul2022.html
- GLSA-202208-34 vendor-advisory