<oval_definitions xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5" xmlns:oval="http://oval.mitre.org/XMLSchema/oval-common-5" xmlns:oval-def="http://oval.mitre.org/XMLSchema/oval-definitions-5" xmlns:unix-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix" xmlns:red-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" xmlns:ind-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://oval.mitre.org/XMLSchema/oval-common-5 oval-common-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5 oval-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5#unix unix-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5#linux linux-definitions-schema.xsd">
<generator>
<oval:product_name>Oracle Errata System</oval:product_name>
<oval:product_version>Oracle Linux</oval:product_version>
<oval:schema_version>5.11</oval:schema_version>
<oval:timestamp>2025-12-11T02:21:49</oval:timestamp>
</generator>
<definitions>
<definition id="oval:com.oracle.elsa:def:202523049" version="501" class="patch">
<metadata>
<title>
ELSA-2025-23049:  tomcat security update (IMPORTANT)
</title>
<affected family="unix">
<platform>Oracle Linux 9</platform>

</affected>
<reference source="elsa" ref_id="ELSA-2025-23049" ref_url="https://linux.oracle.com/errata/ELSA-2025-23049.html"/>
<reference source="CVE" ref_id="CVE-2025-31651" ref_url="https://linux.oracle.com/cve/CVE-2025-31651.html"/>
<reference source="CVE" ref_id="CVE-2025-55752" ref_url="https://linux.oracle.com/cve/CVE-2025-55752.html"/>

<description>
[1:9.0.87-6.1]
- Resolves: RHEL-124518
  tomcat: Directory traversal via rewrite with possible RCE (CVE-2025-55752)
- Resolves: RHEL-91753
  tomcat: Bypass of rules in Rewrite Valve (CVE-2025-31651)
</description>
<!--
 ~~~~~~~~~~~~~~~~~~~~   advisory details   ~~~~~~~~~~~~~~~~~~~ 
-->
<advisory>
<severity>IMPORTANT</severity>
<rights>Copyright 2025 Oracle, Inc.</rights>
<issued date="2025-12-10"/>
<cve cvss3="5.3/CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N" href="https://linux.oracle.com/cve/CVE-2025-31651.html" public="20250428">CVE-2025-31651</cve>
<cve cvss3="7.5/CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H" href="https://linux.oracle.com/cve/CVE-2025-55752.html" public="20251027">CVE-2025-55752</cve>

<affected_cpe_list>
<cpe>cpe:/a:oracle:linux:9::appstream</cpe>
</affected_cpe_list>
</advisory>
</metadata>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202523049001" comment="Oracle Linux 9 is installed"/>
<criteria operator="OR">
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202523049002" comment="Oracle Linux arch is aarch64"/>
<criteria operator="OR">
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202523049003" comment="tomcat is earlier than 1:9.0.87-6.el9_7.1"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202523049004" comment="tomcat is signed with the Oracle Linux 9 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202523049005" comment="tomcat-admin-webapps is earlier than 1:9.0.87-6.el9_7.1"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202523049006" comment="tomcat-admin-webapps is signed with the Oracle Linux 9 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202523049007" comment="tomcat-docs-webapp is earlier than 1:9.0.87-6.el9_7.1"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202523049008" comment="tomcat-docs-webapp is signed with the Oracle Linux 9 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202523049009" comment="tomcat-el-3.0-api is earlier than 1:9.0.87-6.el9_7.1"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202523049010" comment="tomcat-el-3.0-api is signed with the Oracle Linux 9 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202523049011" comment="tomcat-jsp-2.3-api is earlier than 1:9.0.87-6.el9_7.1"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202523049012" comment="tomcat-jsp-2.3-api is signed with the Oracle Linux 9 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202523049013" comment="tomcat-lib is earlier than 1:9.0.87-6.el9_7.1"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202523049014" comment="tomcat-lib is signed with the Oracle Linux 9 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202523049015" comment="tomcat-servlet-4.0-api is earlier than 1:9.0.87-6.el9_7.1"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202523049016" comment="tomcat-servlet-4.0-api is signed with the Oracle Linux 9 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202523049017" comment="tomcat-webapps is earlier than 1:9.0.87-6.el9_7.1"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202523049018" comment="tomcat-webapps is signed with the Oracle Linux 9 key"/>
</criteria>
</criteria>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202523049019" comment="Oracle Linux arch is x86_64"/>
<criteria operator="OR">
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202523049003" comment="tomcat is earlier than 1:9.0.87-6.el9_7.1"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202523049004" comment="tomcat is signed with the Oracle Linux 9 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202523049005" comment="tomcat-admin-webapps is earlier than 1:9.0.87-6.el9_7.1"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202523049006" comment="tomcat-admin-webapps is signed with the Oracle Linux 9 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202523049007" comment="tomcat-docs-webapp is earlier than 1:9.0.87-6.el9_7.1"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202523049008" comment="tomcat-docs-webapp is signed with the Oracle Linux 9 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202523049009" comment="tomcat-el-3.0-api is earlier than 1:9.0.87-6.el9_7.1"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202523049010" comment="tomcat-el-3.0-api is signed with the Oracle Linux 9 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202523049011" comment="tomcat-jsp-2.3-api is earlier than 1:9.0.87-6.el9_7.1"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202523049012" comment="tomcat-jsp-2.3-api is signed with the Oracle Linux 9 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202523049013" comment="tomcat-lib is earlier than 1:9.0.87-6.el9_7.1"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202523049014" comment="tomcat-lib is signed with the Oracle Linux 9 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202523049015" comment="tomcat-servlet-4.0-api is earlier than 1:9.0.87-6.el9_7.1"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202523049016" comment="tomcat-servlet-4.0-api is signed with the Oracle Linux 9 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:202523049017" comment="tomcat-webapps is earlier than 1:9.0.87-6.el9_7.1"/>
<criterion test_ref="oval:com.oracle.elsa:tst:202523049018" comment="tomcat-webapps is signed with the Oracle Linux 9 key"/>
</criteria>
</criteria>
</criteria>
</criteria>
</criteria>

</definition>
</definitions>
<!--
 ~~~~~~~~~~~~~~~~~~~~~   rpminfo tests   ~~~~~~~~~~~~~~~~~~~~~ 
-->
<tests>
<rpminfo_test id="oval:com.oracle.elsa:tst:202523049001"  version="501" comment="Oracle Linux 9 is installed" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202523049001" />
<state state_ref="oval:com.oracle.elsa:ste:202523049002" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202523049002"  version="501" comment="Oracle Linux arch is aarch64" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202523049001" />
<state state_ref="oval:com.oracle.elsa:ste:202523049003" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202523049003"  version="501" comment="tomcat is earlier than 1:9.0.87-6.el9_7.1" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202523049002" />
<state state_ref="oval:com.oracle.elsa:ste:202523049004" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202523049004"  version="501" comment="tomcat is signed with the Oracle Linux 9 key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202523049002" />
<state state_ref="oval:com.oracle.elsa:ste:202523049001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202523049005"  version="501" comment="tomcat-admin-webapps is earlier than 1:9.0.87-6.el9_7.1" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202523049003" />
<state state_ref="oval:com.oracle.elsa:ste:202523049004" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202523049006"  version="501" comment="tomcat-admin-webapps is signed with the Oracle Linux 9 key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202523049003" />
<state state_ref="oval:com.oracle.elsa:ste:202523049001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202523049007"  version="501" comment="tomcat-docs-webapp is earlier than 1:9.0.87-6.el9_7.1" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202523049004" />
<state state_ref="oval:com.oracle.elsa:ste:202523049004" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202523049008"  version="501" comment="tomcat-docs-webapp is signed with the Oracle Linux 9 key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202523049004" />
<state state_ref="oval:com.oracle.elsa:ste:202523049001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202523049009"  version="501" comment="tomcat-el-3.0-api is earlier than 1:9.0.87-6.el9_7.1" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202523049005" />
<state state_ref="oval:com.oracle.elsa:ste:202523049004" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202523049010"  version="501" comment="tomcat-el-3.0-api is signed with the Oracle Linux 9 key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202523049005" />
<state state_ref="oval:com.oracle.elsa:ste:202523049001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202523049011"  version="501" comment="tomcat-jsp-2.3-api is earlier than 1:9.0.87-6.el9_7.1" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202523049006" />
<state state_ref="oval:com.oracle.elsa:ste:202523049004" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202523049012"  version="501" comment="tomcat-jsp-2.3-api is signed with the Oracle Linux 9 key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202523049006" />
<state state_ref="oval:com.oracle.elsa:ste:202523049001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202523049013"  version="501" comment="tomcat-lib is earlier than 1:9.0.87-6.el9_7.1" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202523049007" />
<state state_ref="oval:com.oracle.elsa:ste:202523049004" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202523049014"  version="501" comment="tomcat-lib is signed with the Oracle Linux 9 key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202523049007" />
<state state_ref="oval:com.oracle.elsa:ste:202523049001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202523049015"  version="501" comment="tomcat-servlet-4.0-api is earlier than 1:9.0.87-6.el9_7.1" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202523049008" />
<state state_ref="oval:com.oracle.elsa:ste:202523049004" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202523049016"  version="501" comment="tomcat-servlet-4.0-api is signed with the Oracle Linux 9 key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202523049008" />
<state state_ref="oval:com.oracle.elsa:ste:202523049001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202523049017"  version="501" comment="tomcat-webapps is earlier than 1:9.0.87-6.el9_7.1" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202523049009" />
<state state_ref="oval:com.oracle.elsa:ste:202523049004" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202523049018"  version="501" comment="tomcat-webapps is signed with the Oracle Linux 9 key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202523049009" />
<state state_ref="oval:com.oracle.elsa:ste:202523049001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:202523049019"  version="501" comment="Oracle Linux arch is x86_64" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:202523049001" />
<state state_ref="oval:com.oracle.elsa:ste:202523049005" />
</rpminfo_test>

</tests>
<!--
 ~~~~~~~~~~~~~~~~~~~~   rpminfo objects   ~~~~~~~~~~~~~~~~~~~~ 
-->
<objects>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:202523049006" version="501">
<name>tomcat-jsp-2.3-api</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:202523049002" version="501">
<name>tomcat</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:202523049001" version="501">
<name>oraclelinux-release</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:202523049008" version="501">
<name>tomcat-servlet-4.0-api</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:202523049003" version="501">
<name>tomcat-admin-webapps</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:202523049009" version="501">
<name>tomcat-webapps</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:202523049007" version="501">
<name>tomcat-lib</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:202523049004" version="501">
<name>tomcat-docs-webapp</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:202523049005" version="501">
<name>tomcat-el-3.0-api</name>
</rpminfo_object>

</objects>
<states>
<!--
 ~~~~~~~~~~~~~~~~~~~~   rpminfo states   ~~~~~~~~~~~~~~~~~~~~~ 
-->
<rpminfo_state xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:ste:202523049001" version="501">
<signature_keyid operation="equals">bc4d06a08d8b756f</signature_keyid>
</rpminfo_state>
<rpminfo_state xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:ste:202523049002" version="501">
<version operation="pattern match">^9</version>
</rpminfo_state>
<rpminfo_state xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:ste:202523049003" version="501">
<arch operation="pattern match">aarch64</arch>
</rpminfo_state>
<rpminfo_state xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:ste:202523049004" version="501">
<evr datatype="evr_string" operation="less than">1:9.0.87-6.el9_7.1</evr>
</rpminfo_state>
<rpminfo_state xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:ste:202523049005" version="501">
<arch operation="pattern match">x86_64</arch>
</rpminfo_state>

</states>
</oval_definitions>
