Описание
Security update for tomcat
This update for tomcat fixes the following issues:
Update to Tomcat 9.0.98
- Fixed CVEs:
- CVE-2024-54677: DoS in examples web application (bsc#1234664)
- CVE-2024-50379: RCE due to TOCTOU issue in JSP compilation (bsc#1234663)
- CVE-2024-52317: Request/response mix-up with HTTP/2 (bsc#1233435)
- Catalina
- Add: Add option to serve resources from subpath only with WebDAV Servlet like with DefaultServlet. (michaelo)
- Fix: Add special handling for the protocols attribute of SSLHostConfig in storeconfig. (remm)
- Fix: 69442: Fix case sensitive check on content-type when parsing request parameters. (remm)
- Code: Refactor duplicate code for extracting media type and subtype from content-type into a single method. (markt)
- Fix: Compatibility of generated embedded code with components where constructors or property related methods throw a checked exception. (remm)
- Fix: The previous fix for inconsistent resource metadata during concurrent reads and writes was incomplete. (markt)
- Fix: 69444: Ensure that the javax.servlet.error.message request attribute is set when an application defined error page is called. (markt)
- Fix: Avoid quotes for numeric values in the JSON generated by the status servlet. (remm)
- Add: Add strong ETag support for the WebDAV and default servlet, which can be enabled by using the useStrongETags init parameter with a value set to true. The ETag generated will be a SHA-1 checksum of the resource content. (remm)
- Fix: Use client locale for directory listings. (remm)
- Fix: 69439: Improve the handling of multiple Cache-Control headers in the ExpiresFilter. Based on pull request #777 by Chenjp. (markt)
- Fix: 69447: Update the support for caching classes the web application class loader cannot find to take account of classes loaded from external repositories. Prior to this fix, these classes could be incorrectly marked as not found. (markt)
- Fix: 69466: Rework handling of HEAD requests. Headers explicitly set by users will not be removed and any header present in a HEAD request will also be present in the equivalent GET request. There may be some headers, as per RFC 9110, section 9.3.2, that are present in a GET request that are not present in the equivalent HEAD request. (markt)
- Fix: 69471: Log instances of CloseNowException caught by ApplicationDispatcher.invoke() at debug level rather than error level as they are very likely to have been caused by a client disconnection or similar I/O issue. (markt)
- Add: Add a test case for the fix for 69442. Also refactor references to application/x-www-form-urlencoded. Based on pull request #779 by Chenjp. (markt)
- Fix: 69476: Catch possible ISE when trying to report PUT failure in the DefaultServlet. (remm)
- Add: Add support for RateLimit header fields for HTTP (draft) in the RateLimitFilter. Based on pull request #775 provided by Chenjp. (markt)
- Add: #787: Add regression tests for 69478. Pull request provided by Thomas Krisch. (markt)
- Fix: The default servlet now rejects HTTP range requests when two or more of the requested ranges overlap. Based on pull request #782 provided by Chenjp. (markt)
- Fix: Enhance Content-Range verification for partial PUT requests handled by the default servlet. Provided by Chenjp in pull request #778. (markt)
- Fix: Harmonize DataSourceStore lookup in the global resources to optionally avoid the comp/env prefix which is usually not used there. (remm)
- Fix: As required by RFC 9110, the HTTP Range header will now only be processed for GET requests. Based on pull request #790 provided by Chenjp. (markt)
- Fix: Deprecate the useAcceptRanges initialisation parameter for the default servlet. It will be removed in Tomcat 12 onwards where it will effectively be hard coded to true. (markt)
- Add: Add DataSource based property storage for the WebdavServlet. (remm)
- Coyote
- Fix: Align encodedSolidusHandling with the Servlet specification. If the pass-through mode is used, any %25 sequences will now also be passed through to avoid errors and/or corruption when the application decodes the path. (markt)
- Jasper
- Fix: Further optimise EL evaluation of method parameters. Patch provided by Paolo B. (markt)
- Fix: Follow-up to the fix for 69381. Apply the optimisation for method lookup performance in expression language to an additional location. (markt)
- Web applications
- Fix: Documentation. Remove references to the ResourceParams element. Support for ResourceParams was removed in Tomcat 5.5.x. (markt)
- Fix: Documentation. 69477: Correct name of attribute for RemoteIPFilter. The attribute is internalProxies rather than allowedInternalProxies. Pull request #786 (markt)
- Fix: Examples. Fix broken links when Servlet Request Info example is called via a URL that includes a pathInfo component. (markt)
- Fix: Examples. Expand the obfuscation of session cookie values in the request header example to JSON responses. (markt)
- Add: Examples. Add the ability to delete session attributes in the servlet session example. (markt)
- Add: Examples. Add a hard coded limit of 10 attributes per session for the servlet session example. (markt)
- Add: Examples. Add the ability to delete session attributes and add a hard coded limit of 10 attributes per session for the JSP form authentication example. (markt)
- Add: Examples. Limit the shopping cart example to only allow adding the pre-defined items to the cart. (markt)
- Fix: Examples. Remove JSP calendar example. (markt)
- Other
- Fix: 69465: Fix warnings during native image compilation using the Tomcat embedded JARs. (markt)
- Update: Update Tomcat's fork of Commons DBCP to 2.13.0. (markt)
- Update: Update EasyMock to 5.5.0. (markt)
- Update: Update Checkstyle to 10.20.2. (markt)
- Update: Update BND to 7.1.0. (markt)
- Add: Improvements to French translations. (remm)
- Add: Improvements to Korean translations. (markt)
- Add: Improvements to Chinese translations. (markt)
- Add: Improvements to Japanese translations by tak7iji. (markt)
Список пакетов
Container containers/apache-tomcat:9-openjdk11
Container containers/apache-tomcat:9-openjdk17
Container containers/apache-tomcat:9-openjdk21
Container containers/apache-tomcat:9-openjdk8
Container suse/manager/5.0/x86_64/server:latest
Image SLES15-SP4-Manager-Server-4-3-BYOS
Image SLES15-SP4-Manager-Server-4-3-BYOS-Azure
Image SLES15-SP4-Manager-Server-4-3-BYOS-EC2
Image SLES15-SP4-Manager-Server-4-3-BYOS-GCE
Image server-image
Image tomcat_15_6
SUSE Enterprise Storage 7.1
SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS
SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS
SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS
SUSE Linux Enterprise Module for Web and Scripting 15 SP6
SUSE Linux Enterprise Server 15 SP3-LTSS
SUSE Linux Enterprise Server 15 SP4-LTSS
SUSE Linux Enterprise Server 15 SP5-LTSS
SUSE Linux Enterprise Server for SAP Applications 15 SP3
SUSE Linux Enterprise Server for SAP Applications 15 SP4
SUSE Linux Enterprise Server for SAP Applications 15 SP5
SUSE Manager Server 4.3
openSUSE Leap 15.6
Ссылки
- Link for SUSE-SU-2025:0058-1
- E-Mail link for SUSE-SU-2025:0058-1
- SUSE Security Ratings
- SUSE Bug 1233435
- SUSE Bug 1234663
- SUSE Bug 1234664
- SUSE Bug 1236809
- SUSE CVE CVE-2024-50379 page
- SUSE CVE CVE-2024-52317 page
- SUSE CVE CVE-2024-54677 page
- SUSE CVE CVE-2024-56337 page
Описание
Time-of-check Time-of-use (TOCTOU) Race Condition vulnerability during JSP compilation in Apache Tomcat permits an RCE on case insensitive file systems when the default servlet is enabled for write (non-default configuration). This issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.1, from 10.1.0-M1 through 10.1.33, from 9.0.0.M1 through 9.0.97. Users are recommended to upgrade to version 11.0.2, 10.1.34 or 9.0.98, which fixes the issue.
Затронутые продукты
Ссылки
- CVE-2024-50379
- SUSE Bug 1234663
Описание
Incorrect object re-cycling and re-use vulnerability in Apache Tomcat. Incorrect recycling of the request and response used by HTTP/2 requests could lead to request and/or response mix-up between users. This issue affects Apache Tomcat: from 11.0.0-M23 through 11.0.0-M26, from 10.1.27 through 10.1.30, from 9.0.92 through 9.0.95. Users are recommended to upgrade to version 11.0.0, 10.1.31 or 9.0.96, which fixes the issue.
Затронутые продукты
Ссылки
- CVE-2024-52317
- SUSE Bug 1233435
Описание
Uncontrolled Resource Consumption vulnerability in the examples web application provided with Apache Tomcat leads to denial of service. This issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.1, from 10.1.0-M1 through 10.1.33, from 9.0.0.M1 through 9.9.97. Users are recommended to upgrade to version 11.0.2, 10.1.34 or 9.0.98, which fixes the issue.
Затронутые продукты
Ссылки
- CVE-2024-54677
- SUSE Bug 1234664
Описание
Time-of-check Time-of-use (TOCTOU) Race Condition vulnerability in Apache Tomcat. This issue affects Apache Tomcat: from 11.0.0-M1 through 11.0.1, from 10.1.0-M1 through 10.1.33, from 9.0.0.M1 through 9.0.97. The mitigation for CVE-2024-50379 was incomplete. Users running Tomcat on a case insensitive file system with the default servlet write enabled (readonly initialisation parameter set to the non-default value of false) may need additional configuration to fully mitigate CVE-2024-50379 depending on which version of Java they are using with Tomcat: - running on Java 8 or Java 11: the system property sun.io.useCanonCaches must be explicitly set to false (it defaults to true) - running on Java 17: the system property sun.io.useCanonCaches, if set, must be set to false (it defaults to false) - running on Java 21 onwards: no further configuration is required (the system property and the problematic cache have been removed) Tomcat 11.0.3, 10.1.35 and 9.0.99 onwards will include checks that sun.io.useCanonCaches is set appropriately before allowing the default servlet to be write enabled on a case insensitive file system. Tomcat will also set sun.io.useCanonCaches to false by default where it can.
Затронутые продукты
Ссылки
- CVE-2024-56337
- SUSE Bug 1234663
- SUSE Bug 1236809