Skip to content
OpenAdvisories
High SUSE-SU-2024:1345-1 2 CVEs

Security update for tomcat

Published Apr 18, 2024 · Updated Feb 4, 2026

Summary

This update for tomcat fixes the following issues:

- CVE-2024-24549: Fixed denial of service during header validation for HTTP/2 stream (bsc#1221386)
- CVE-2024-23672: Fixed denial of service due to malicious WebSocket client keeping connection open (bsc#1221385)

Other fixes:
- Update to Tomcat 9.0.87
* Catalina
+ Fix: Minor performance improvement for building filter chains. Based
on ideas from #702 by Luke Miao. (remm)
+ Fix: Align error handling for Writer and OutputStream. Ensure use of
either once the response has been recycled triggers a
NullPointerException provided that discardFacades is configured with
the default value of true. (markt)
+ Fix: 68692: The standard thread pool implementations that are configured
using the Executor element now implement ExecutorService for better
support NIO2. (remm)
+ Fix: 68495: When restoring a saved POST request after a successful FORM
authentication, ensure that neither the URI, the query string nor the
protocol are corrupted when restoring the request body. (markt)
+ Fix: 68721: Workaround a possible cause of duplicate class definitions
when using ClassFileTransformers and the transformation of a class also
triggers the loading of the same class. (markt)
+ Fix: The rewrite valve should not do a rewrite if the output is
identical to the input. (remm)
+ Update: Add a new valveSkip (or VS) rule flag to the rewrite valve to
allow skipping over the next valve in the Catalina pipeline. (remm)
+ Fix: Correct JPMS and OSGi meta-data for tomcat-enbed-core.jar by
removing reference to org.apache.catalina.ssi package that is no longer
included in the JAR. Based on pull request #684 by Jendrik Johannes.
(markt)
+ Fix: Fix ServiceBindingPropertySource so that trailing \r\n sequences
are correctly removed from files containing property values when
configured to do so. Bug identified by Coverity Scan. (markt)
+ Add: Add improvements to the CSRF prevention filter including the
ability to skip adding nonces for resource name and subtree URL patterns.
(schultz)
+ Fix: Review usage of debug logging and downgrade trace or data dumping
operations from debug level to trace. (remm)
+ Fix: 68089: Further improve the performance of request attribute
access for ApplicationHttpRequest and ApplicationRequest. (markt)
+ Fix: 68559: Allow asynchronous error handling to write to the
response after an error during asynchronous processing. (markt)
* Coyote
+ Fix: Improve the HTTP/2 stream prioritisation process. If a stream
uses all of the connection windows and still has content to write, it
will now be added to the backlog immediately rather than waiting until
the write attempt for the remaining content. (markt)
+ Fix: Make asynchronous error handling more robust. Ensure that once
a connection is marked to be closed, further asynchronous processing
cannot change that. (markt)
+ Fix: Make asynchronous error handling more robust. Ensure that once
the call to AsyncListener.onError() has returned to the container, only
container threads can access the AsyncContext. This protects against
various race conditions that woudl otherwise occur if application threads
continued to access the AsyncContext.
+ Fix: Review usage of debug logging and downgrade trace or data
dumping operations from debug level to trace. In particular, most of the
HTTP/2 debug logging has been changed to trace level. (remm)
+ Fix: Add support for user provided SSLContext instances configured
on SSLHostConfigCertificate instances. Based on pull request #673
provided by Hakan Altındağ. (markt)
+ Fix: Improve the Tomcat Native shutdown process to reduce the likelihood
of a JVM crash during Tomcat shutdown. (markt)
+ Fix: Partial fix for 68558: Cache the result of converting to String
for request URI, HTTP header names and the request Content-Type value to
improve performance by reducing repeated byte[] to String conversions.
(markt)
+ Fix: Improve error reporting to HTTP/2 clients for header processing
errors by reporting problems at the end of the frame where the error was
detected rather than at the end of the headers. (markt)
+ Fix: Remove the remaining reference to a stream once the stream has
been recycled. This makes the stream eligible for garbage collection
earlier and thereby improves scalability. (markt)
* Jasper
+ Add: Add support for specifying Java 22 (with the value 22) as the
compiler source and/or compiler target for JSP compilation. If used with
an Eclipse JDT compiler version that does not support these values, a
warning will be logged and the default will used. (markt)
+ Fix: 68546: Generate optimal size and types for JSP imports maps, as
suggested by John Engebretson. (remm)
+ Fix: Review usage of debug logging and downgrade trace or data
dumping operations from debug level to trace. (remm)
* Cluster
+ Fix: Avoid updating request count stats on async. (remm)
* WebSocket
+ Fix: Correct a regression in the fix for 66508 that could cause an
UpgradeProcessor leak in some circumstances. (markt)
+ Fix: Review usage of debug logging and downgrade trace or data dumping
operations from debug level to trace. (remm)
+ Fix: Ensure that WebSocket connection closure completes if the
connection is closed when the server side has used the proprietary
suspend/resume feature to suspend the connection. (markt)
* Web applications
+ Add: Add support for responses in JSON format from the examples
application RequestHeaderExample. (schultz)
* Other
+ Add: Improvements to French trans

Fixed packages 87

ReleasePackageFixed in
SUSE · Enterprise Storage 7.1 apache-commons-daemon 1.3.4-150200.11.14.1
SUSE · Enterprise Storage 7.1 apache-commons-dbcp 2.1.1-150200.10.8.1
SUSE · Enterprise Storage 7.1 apache-commons-pool2 2.4.2-150200.11.8.1
SUSE · Enterprise Storage 7.1 geronimo-specs 1.2-150200.15.8.1
SUSE · Enterprise Storage 7.1 jakarta-taglibs-standard 1.1.1-150000.4.10.1
SUSE · Enterprise Storage 7.1 tomcat 9.0.87-150200.65.1
openSUSE · Leap 15.5 apache-commons-daemon 1.3.4-150200.11.14.1
openSUSE · Leap 15.5 apache-commons-dbcp 2.1.1-150200.10.8.1
openSUSE · Leap 15.5 apache-commons-pool2 2.4.2-150200.11.8.1
openSUSE · Leap 15.5 geronimo-specs 1.2-150200.15.8.1
openSUSE · Leap 15.5 jakarta-taglibs-standard 1.1.1-150000.4.10.1
openSUSE · Leap 15.5 tomcat 9.0.87-150200.65.1
SUSE · SLE HPC 15 SP2 Linux Enterprise High Performance Computing 15 SP2-LTSS apache-commons-daemon 1.3.4-150200.11.14.1
SUSE · SLE HPC 15 SP2 Linux Enterprise High Performance Computing 15 SP2-LTSS apache-commons-dbcp 2.1.1-150200.10.8.1
SUSE · SLE HPC 15 SP2 Linux Enterprise High Performance Computing 15 SP2-LTSS apache-commons-pool2 2.4.2-150200.11.8.1
SUSE · SLE HPC 15 SP2 Linux Enterprise High Performance Computing 15 SP2-LTSS geronimo-specs 1.2-150200.15.8.1
SUSE · SLE HPC 15 SP2 Linux Enterprise High Performance Computing 15 SP2-LTSS jakarta-taglibs-standard 1.1.1-150000.4.10.1
SUSE · SLE HPC 15 SP2 Linux Enterprise High Performance Computing 15 SP2-LTSS tomcat 9.0.87-150200.65.1
SUSE · SLE HPC 15 SP3 Linux Enterprise High Performance Computing 15 SP3-LTSS apache-commons-daemon 1.3.4-150200.11.14.1
SUSE · SLE HPC 15 SP3 Linux Enterprise High Performance Computing 15 SP3-LTSS apache-commons-dbcp 2.1.1-150200.10.8.1
SUSE · SLE HPC 15 SP3 Linux Enterprise High Performance Computing 15 SP3-LTSS apache-commons-pool2 2.4.2-150200.11.8.1
SUSE · SLE HPC 15 SP3 Linux Enterprise High Performance Computing 15 SP3-LTSS geronimo-specs 1.2-150200.15.8.1
SUSE · SLE HPC 15 SP3 Linux Enterprise High Performance Computing 15 SP3-LTSS jakarta-taglibs-standard 1.1.1-150000.4.10.1
SUSE · SLE HPC 15 SP3 Linux Enterprise High Performance Computing 15 SP3-LTSS tomcat 9.0.87-150200.65.1
SUSE · SLE HPC 15 SP4 Linux Enterprise High Performance Computing 15 SP4-ESPOS apache-commons-daemon 1.3.4-150200.11.14.1
SUSE · SLE HPC 15 SP4 Linux Enterprise High Performance Computing 15 SP4-ESPOS apache-commons-dbcp 2.1.1-150200.10.8.1
SUSE · SLE HPC 15 SP4 Linux Enterprise High Performance Computing 15 SP4-ESPOS apache-commons-pool2 2.4.2-150200.11.8.1
SUSE · SLE HPC 15 SP4 Linux Enterprise High Performance Computing 15 SP4-ESPOS geronimo-specs 1.2-150200.15.8.1
SUSE · SLE HPC 15 SP4 Linux Enterprise High Performance Computing 15 SP4-ESPOS jakarta-taglibs-standard 1.1.1-150000.4.10.1
SUSE · SLE HPC 15 SP4 Linux Enterprise High Performance Computing 15 SP4-ESPOS tomcat 9.0.87-150200.65.1
SUSE · SLE HPC 15 SP4 Linux Enterprise High Performance Computing 15 SP4-LTSS apache-commons-daemon 1.3.4-150200.11.14.1
SUSE · SLE HPC 15 SP4 Linux Enterprise High Performance Computing 15 SP4-LTSS apache-commons-dbcp 2.1.1-150200.10.8.1
SUSE · SLE HPC 15 SP4 Linux Enterprise High Performance Computing 15 SP4-LTSS apache-commons-pool2 2.4.2-150200.11.8.1
SUSE · SLE HPC 15 SP4 Linux Enterprise High Performance Computing 15 SP4-LTSS geronimo-specs 1.2-150200.15.8.1
SUSE · SLE HPC 15 SP4 Linux Enterprise High Performance Computing 15 SP4-LTSS jakarta-taglibs-standard 1.1.1-150000.4.10.1
SUSE · SLE HPC 15 SP4 Linux Enterprise High Performance Computing 15 SP4-LTSS tomcat 9.0.87-150200.65.1
SUSE · SLES 15 SP5 Linux Enterprise Module for Development Tools 15 SP5 geronimo-specs 1.2-150200.15.8.1
SUSE · SLES 15 SP5 Linux Enterprise Module for Package Hub 15 SP5 geronimo-specs 1.2-150200.15.8.1
SUSE · SLES 15 SP5 Linux Enterprise Module for Web and Scripting 15 SP5 apache-commons-daemon 1.3.4-150200.11.14.1
SUSE · SLES 15 SP5 Linux Enterprise Module for Web and Scripting 15 SP5 apache-commons-dbcp 2.1.1-150200.10.8.1
SUSE · SLES 15 SP5 Linux Enterprise Module for Web and Scripting 15 SP5 apache-commons-pool2 2.4.2-150200.11.8.1
SUSE · SLES 15 SP5 Linux Enterprise Module for Web and Scripting 15 SP5 geronimo-specs 1.2-150200.15.8.1
SUSE · SLES 15 SP5 Linux Enterprise Module for Web and Scripting 15 SP5 jakarta-taglibs-standard 1.1.1-150000.4.10.1
SUSE · SLES 15 SP5 Linux Enterprise Module for Web and Scripting 15 SP5 tomcat 9.0.87-150200.65.1
SUSE · SLES 15 SP2 Linux Enterprise Server 15 SP2-LTSS apache-commons-daemon 1.3.4-150200.11.14.1
SUSE · SLES 15 SP2 Linux Enterprise Server 15 SP2-LTSS apache-commons-dbcp 2.1.1-150200.10.8.1
SUSE · SLES 15 SP2 Linux Enterprise Server 15 SP2-LTSS apache-commons-pool2 2.4.2-150200.11.8.1
SUSE · SLES 15 SP2 Linux Enterprise Server 15 SP2-LTSS geronimo-specs 1.2-150200.15.8.1
SUSE · SLES 15 SP2 Linux Enterprise Server 15 SP2-LTSS jakarta-taglibs-standard 1.1.1-150000.4.10.1
SUSE · SLES 15 SP2 Linux Enterprise Server 15 SP2-LTSS tomcat 9.0.87-150200.65.1
SUSE · SLES 15 SP3 Linux Enterprise Server 15 SP3-LTSS apache-commons-daemon 1.3.4-150200.11.14.1
SUSE · SLES 15 SP3 Linux Enterprise Server 15 SP3-LTSS apache-commons-dbcp 2.1.1-150200.10.8.1
SUSE · SLES 15 SP3 Linux Enterprise Server 15 SP3-LTSS apache-commons-pool2 2.4.2-150200.11.8.1
SUSE · SLES 15 SP3 Linux Enterprise Server 15 SP3-LTSS geronimo-specs 1.2-150200.15.8.1
SUSE · SLES 15 SP3 Linux Enterprise Server 15 SP3-LTSS jakarta-taglibs-standard 1.1.1-150000.4.10.1
SUSE · SLES 15 SP3 Linux Enterprise Server 15 SP3-LTSS tomcat 9.0.87-150200.65.1
SUSE · SLES 15 SP4 Linux Enterprise Server 15 SP4-LTSS apache-commons-daemon 1.3.4-150200.11.14.1
SUSE · SLES 15 SP4 Linux Enterprise Server 15 SP4-LTSS apache-commons-dbcp 2.1.1-150200.10.8.1
SUSE · SLES 15 SP4 Linux Enterprise Server 15 SP4-LTSS apache-commons-pool2 2.4.2-150200.11.8.1
SUSE · SLES 15 SP4 Linux Enterprise Server 15 SP4-LTSS geronimo-specs 1.2-150200.15.8.1
SUSE · SLES 15 SP4 Linux Enterprise Server 15 SP4-LTSS jakarta-taglibs-standard 1.1.1-150000.4.10.1
SUSE · SLES 15 SP4 Linux Enterprise Server 15 SP4-LTSS tomcat 9.0.87-150200.65.1
SUSE · SLES for SAP 15 SP2 Linux Enterprise Server for SAP Applications 15 SP2 apache-commons-daemon 1.3.4-150200.11.14.1
SUSE · SLES for SAP 15 SP2 Linux Enterprise Server for SAP Applications 15 SP2 apache-commons-dbcp 2.1.1-150200.10.8.1
SUSE · SLES for SAP 15 SP2 Linux Enterprise Server for SAP Applications 15 SP2 apache-commons-pool2 2.4.2-150200.11.8.1
SUSE · SLES for SAP 15 SP2 Linux Enterprise Server for SAP Applications 15 SP2 geronimo-specs 1.2-150200.15.8.1
SUSE · SLES for SAP 15 SP2 Linux Enterprise Server for SAP Applications 15 SP2 jakarta-taglibs-standard 1.1.1-150000.4.10.1
SUSE · SLES for SAP 15 SP2 Linux Enterprise Server for SAP Applications 15 SP2 tomcat 9.0.87-150200.65.1
SUSE · SLES for SAP 15 SP3 Linux Enterprise Server for SAP Applications 15 SP3 apache-commons-daemon 1.3.4-150200.11.14.1
SUSE · SLES for SAP 15 SP3 Linux Enterprise Server for SAP Applications 15 SP3 apache-commons-dbcp 2.1.1-150200.10.8.1
SUSE · SLES for SAP 15 SP3 Linux Enterprise Server for SAP Applications 15 SP3 apache-commons-pool2 2.4.2-150200.11.8.1
SUSE · SLES for SAP 15 SP3 Linux Enterprise Server for SAP Applications 15 SP3 geronimo-specs 1.2-150200.15.8.1
SUSE · SLES for SAP 15 SP3 Linux Enterprise Server for SAP Applications 15 SP3 jakarta-taglibs-standard 1.1.1-150000.4.10.1
SUSE · SLES for SAP 15 SP3 Linux Enterprise Server for SAP Applications 15 SP3 tomcat 9.0.87-150200.65.1
SUSE · SLES for SAP 15 SP4 Linux Enterprise Server for SAP Applications 15 SP4 apache-commons-daemon 1.3.4-150200.11.14.1
SUSE · SLES for SAP 15 SP4 Linux Enterprise Server for SAP Applications 15 SP4 apache-commons-dbcp 2.1.1-150200.10.8.1
SUSE · SLES for SAP 15 SP4 Linux Enterprise Server for SAP Applications 15 SP4 apache-commons-pool2 2.4.2-150200.11.8.1
SUSE · SLES for SAP 15 SP4 Linux Enterprise Server for SAP Applications 15 SP4 geronimo-specs 1.2-150200.15.8.1
SUSE · SLES for SAP 15 SP4 Linux Enterprise Server for SAP Applications 15 SP4 jakarta-taglibs-standard 1.1.1-150000.4.10.1
SUSE · SLES for SAP 15 SP4 Linux Enterprise Server for SAP Applications 15 SP4 tomcat 9.0.87-150200.65.1
SUSE · Manager Server 4.3 apache-commons-daemon 1.3.4-150200.11.14.1
SUSE · Manager Server 4.3 apache-commons-dbcp 2.1.1-150200.10.8.1
SUSE · Manager Server 4.3 apache-commons-pool2 2.4.2-150200.11.8.1
SUSE · Manager Server 4.3 geronimo-specs 1.2-150200.15.8.1
SUSE · Manager Server 4.3 jakarta-taglibs-standard 1.1.1-150000.4.10.1
SUSE · Manager Server 4.3 tomcat 9.0.87-150200.65.1
SUSE · Manager Server Module 4.3 geronimo-specs 1.2-150200.15.8.1

Vulnerabilities 2

  • High 7.5
    CVE-2024-24549 Public exploit EPSS 23%

    Apache Tomcat: HTTP/2 header handling DoS

    Denial of Service due to improper input validation vulnerability for HTTP/2 requests in Apache Tomcat. When processing an HTTP/2 request, if the request exceeded any of the configured limits for headers, the associated HTTP/2 stream was not reset until after …

  • Medium 6.3

    Apache Tomcat: WebSocket DoS with incomplete closing handshake

    Denial of Service via incomplete cleanup vulnerability in Apache Tomcat. It was possible for WebSocket clients to keep WebSocket connections open leading to increased resource consumption.This issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.0-M16, fr…

References

  • report
    https://bugzilla.suse.com/1221385
  • report
    https://bugzilla.suse.com/1221386
  • web
    https://www.suse.com/security/cve/CVE-2024-23672
  • web
    https://www.suse.com/security/cve/CVE-2024-24549