<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>2024-09-21T18:54:20</oval:timestamp>
</generator>
<definitions>
<definition id="oval:com.oracle.elsa:def:20193476" version="501" class="patch">
<metadata>
<title>
ELSA-2019-3476:  squid:4 security and bug fix update (MODERATE)
</title>
<affected family="unix">
<platform>Oracle Linux 8</platform>

</affected>
<reference source="elsa" ref_id="ELSA-2019-3476" ref_url="https://linux.oracle.com/errata/ELSA-2019-3476.html"/>
<reference source="CVE" ref_id="CVE-2019-13345" ref_url="https://linux.oracle.com/cve/CVE-2019-13345.html"/>

<description>
  
</description>
<!--
 ~~~~~~~~~~~~~~~~~~~~   advisory details   ~~~~~~~~~~~~~~~~~~~ 
-->
<advisory>
<severity>MODERATE</severity>
<rights>Copyright 2019 Oracle, Inc.</rights>
<issued date="2019-11-14"/>
<cve cvss3="6.1/CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N" href="https://linux.oracle.com/cve/CVE-2019-13345.html" public="20190705">CVE-2019-13345</cve>

<affected_cpe_list>
<cpe>cpe:/a:oracle:linux:8::appstream</cpe>
</affected_cpe_list>
</advisory>
</metadata>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:20193476001" comment="Oracle Linux 8 is installed"/>
<criteria operator="OR">
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:20193476002" comment="Oracle Linux arch is aarch64"/>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:20193476003" comment="Module squid:4 is enabled"/>
<criteria operator="OR">
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:20193476004" comment="libecap is earlier than 0:1.0.1-2.module+el8.1.0+5405+03b963f4"/>
<criterion test_ref="oval:com.oracle.elsa:tst:20193476005" comment="libecap is signed with the Oracle Linux 8 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:20193476006" comment="libecap-devel is earlier than 0:1.0.1-2.module+el8.1.0+5405+03b963f4"/>
<criterion test_ref="oval:com.oracle.elsa:tst:20193476007" comment="libecap-devel is signed with the Oracle Linux 8 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:20193476008" comment="squid is earlier than 7:4.4-8.module+el8.1.0+5405+03b963f4"/>
<criterion test_ref="oval:com.oracle.elsa:tst:20193476009" comment="squid is signed with the Oracle Linux 8 key"/>
</criteria>
</criteria>
</criteria>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:20193476010" comment="Oracle Linux arch is x86_64"/>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:20193476003" comment="Module squid:4 is enabled"/>
<criteria operator="OR">
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:20193476004" comment="libecap is earlier than 0:1.0.1-2.module+el8.1.0+5405+03b963f4"/>
<criterion test_ref="oval:com.oracle.elsa:tst:20193476005" comment="libecap is signed with the Oracle Linux 8 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:20193476006" comment="libecap-devel is earlier than 0:1.0.1-2.module+el8.1.0+5405+03b963f4"/>
<criterion test_ref="oval:com.oracle.elsa:tst:20193476007" comment="libecap-devel is signed with the Oracle Linux 8 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:20193476008" comment="squid is earlier than 7:4.4-8.module+el8.1.0+5405+03b963f4"/>
<criterion test_ref="oval:com.oracle.elsa:tst:20193476009" comment="squid is signed with the Oracle Linux 8 key"/>
</criteria>
</criteria>
</criteria>
</criteria>
</criteria>
</criteria>

</definition>
</definitions>
<!--
 ~~~~~~~~~~~~~~~~~~~~~   rpminfo tests   ~~~~~~~~~~~~~~~~~~~~~ 
-->
<tests>
<rpminfo_test id="oval:com.oracle.elsa:tst:20193476001"  version="501" comment="Oracle Linux 8 is installed" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:20193476001" />
<state state_ref="oval:com.oracle.elsa:ste:20193476003" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20193476002"  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:20193476001" />
<state state_ref="oval:com.oracle.elsa:ste:20193476004" />
</rpminfo_test>
<ind-def:textfilecontent54_test id="oval:com.oracle.elsa:tst:20193476003"  version="501" comment="Module squid:4 is enabled" check="all" >
<ind-def:object object_ref="oval:com.oracle.elsa:obj:20193476005" />
<ind-def:state state_ref="oval:com.oracle.elsa:ste:20193476002" />
</ind-def:textfilecontent54_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20193476004"  version="501" comment="libecap is earlier than 0:1.0.1-2.module+el8.1.0+5405+03b963f4" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:20193476002" />
<state state_ref="oval:com.oracle.elsa:ste:20193476005" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20193476005"  version="501" comment="libecap is signed with the Oracle Linux 8 key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:20193476002" />
<state state_ref="oval:com.oracle.elsa:ste:20193476001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20193476006"  version="501" comment="libecap-devel is earlier than 0:1.0.1-2.module+el8.1.0+5405+03b963f4" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:20193476003" />
<state state_ref="oval:com.oracle.elsa:ste:20193476005" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20193476007"  version="501" comment="libecap-devel is signed with the Oracle Linux 8 key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:20193476003" />
<state state_ref="oval:com.oracle.elsa:ste:20193476001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20193476008"  version="501" comment="squid is earlier than 7:4.4-8.module+el8.1.0+5405+03b963f4" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:20193476004" />
<state state_ref="oval:com.oracle.elsa:ste:20193476006" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20193476009"  version="501" comment="squid is signed with the Oracle Linux 8 key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:20193476004" />
<state state_ref="oval:com.oracle.elsa:ste:20193476001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20193476010"  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:20193476001" />
<state state_ref="oval:com.oracle.elsa:ste:20193476007" />
</rpminfo_test>

</tests>
<!--
 ~~~~~~~~~~~~~~~~~~~~   rpminfo objects   ~~~~~~~~~~~~~~~~~~~~ 
-->
<objects>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:20193476004" version="501">
<name>squid</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:20193476002" version="501">
<name>libecap</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:20193476003" version="501">
<name>libecap-devel</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:20193476001" version="501">
<name>oraclelinux-release</name>
</rpminfo_object>
<ind-def:textfilecontent54_object id="oval:com.oracle.elsa:obj:20193476005" version="641">
 <ind-def:filepath datatype="string">/etc/dnf/modules.d/squid.module</ind-def:filepath>
 <ind-def:pattern operation="pattern match">\[squid\][\w\W]*</ind-def:pattern>
 <ind-def:instance datatype="int">1</ind-def:instance>
</ind-def:textfilecontent54_object>
</objects>
<states>
<!--
 ~~~~~~~~~~~~~~~~~~~~   rpminfo states   ~~~~~~~~~~~~~~~~~~~~~ 
-->
<rpminfo_state xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:ste:20193476001" version="501">
<signature_keyid operation="equals">82562ea9ad986da3</signature_keyid>
</rpminfo_state>
<ind-def:textfilecontent54_state id="oval:com.oracle.elsa:ste:20193476002" version="641">
 <ind-def:text operation="pattern match">\nstream\s*=\s*4\b[\w\W]*\nstate\s*=\s*(enabled|1|true)|\nstate\s*=\s*(enabled|1|true)[\w\W]*\nstream\s*=\s*4\b</ind-def:text>
</ind-def:textfilecontent54_state>
<rpminfo_state xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:ste:20193476003" version="501">
<version operation="pattern match">^8</version>
</rpminfo_state>
<rpminfo_state xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:ste:20193476004" 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:20193476005" version="501">
<evr datatype="evr_string" operation="less than">0:1.0.1-2.module+el8.1.0+5405+03b963f4</evr>
</rpminfo_state>
<rpminfo_state xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:ste:20193476006" version="501">
<evr datatype="evr_string" operation="less than">7:4.4-8.module+el8.1.0+5405+03b963f4</evr>
</rpminfo_state>
<rpminfo_state xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:ste:20193476007" version="501">
<arch operation="pattern match">x86_64</arch>
</rpminfo_state>

</states>
</oval_definitions>
