Oracle Grid Infrastructure (GI) uses some functionality from Apache Tomcat. You can find Apache Tomcat in the GI Home. How do you ensure that Apache Tomcat is up to date?
It’s Easy
The Release Updates for Oracle Grid Infrastructure also contains patches for Apache Tomcat:
Patching of Tomcat within the GI home is handled via the Quarterly Grid Infrastructure Release Updates.
The following example shows the output of a GI home on 19.19.0. You can see there is a specific patch for Apache Tomcat (TOMCAT RELEASE UPDATE):
$ cd $ORACLE_HOME/OPatch
$ ./opatch lspatches
35050341;OJVM RELEASE UPDATE: 19.19.0.0.230418 (35050341)
35004974;JDK BUNDLE PATCH 19.0.0.0.230418
35107512;TOMCAT RELEASE UPDATE 19.0.0.0.0 (35107512)
35050325;ACFS RELEASE UPDATE 19.19.0.0.0 (35050325)
35042068;Database Release Update : 19.19.0.0.230418 (35042068)
33575402;DBWLM RELEASE UPDATE 19.0.0.0.0 (33575402)
How to Find Tomcat Version
Use the following command to find the Apache Tomcat version:
$ cd $ORACLE_HOME/tomcat/lib
$ java -cp catalina.jar org.apache.catalina.util.ServerInfo
Server version: Apache Tomcat/8.5.84
Server built: Nov 16 2022 13:34:24 UTC
Server number: 8.5.84.0
OS Name: Linux
OS Version: 4.14.35-2047.510.5.5.el7uek.x86_64
Architecture: amd64
JVM Version: 1.8.0_371-b11
JVM Vendor: Oracle Corporation
Can I Update Tomcat Manually?
No, you can only update Apache Tomcat as part of a Release Update:
Oracle is continuously monitoring TOMCAT fixes for CVEs, once a fix is found and the fix the fix is in a object in one of the JAR files of the compact distribution, we start the process to incorporate the TOMCAT version with the fix in GI. … Patching outside of GI Release Updates is NOT supported.
My Security Team Flags Tomcat as Out-of-date
Many customers use tools to scan for vulnerabilities. Such tools might scan a GI home and find an out-of-date Apache Tomcat. To update Apache Tomcat, you must apply a newer Release Update.
If the latest Release Update does not contain a fix for a specific issue in Apache Tomcat:
- Check 555.1 for a one-off patch
- Wait for the next Release Update
If you find the issue so critical that you can’t wait, reach out to Oracle Support with your concerns.