<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:50:33</oval:timestamp>
</generator>
<definitions>
<definition id="oval:com.oracle.elsa:def:20181932" version="501" class="patch">
<metadata>
<title>
ELSA-2018-1932:  zsh security update (MODERATE)
</title>
<affected family="unix">
<platform>Oracle Linux 6</platform>

</affected>
<reference source="elsa" ref_id="ELSA-2018-1932" ref_url="https://linux.oracle.com/errata/ELSA-2018-1932.html"/>
<reference source="CVE" ref_id="CVE-2018-1083" ref_url="https://linux.oracle.com/cve/CVE-2018-1083.html"/>
<reference source="CVE" ref_id="CVE-2014-10072" ref_url="https://linux.oracle.com/cve/CVE-2014-10072.html"/>
<reference source="CVE" ref_id="CVE-2017-18206" ref_url="https://linux.oracle.com/cve/CVE-2017-18206.html"/>
<reference source="CVE" ref_id="CVE-2018-1100" ref_url="https://linux.oracle.com/cve/CVE-2018-1100.html"/>

<description>
[4.3.11-8]
- fix defects detected by Coverity related to CVE-2017-18206 and CVE-2018-1083

[4.3.11-7]
- fix stack-based buffer overflow in utils.c:checkmailpath() (CVE-2018-1100)
- fix stack-based buffer overflow in gen_matches_files() (CVE-2018-1083)
- fix buffer overrun in xsymlinks (CVE-2017-18206)
- fix buffer overflow when scanning very long path for symlinks (CVE-2014-10072)

[4.3.11-6]
- signal-handling related fixes collected from upstream (#1311166)

[4.3.11-5]
- fix malloc() signal leak in lexsave() (#1267903)
</description>
<!--
 ~~~~~~~~~~~~~~~~~~~~   advisory details   ~~~~~~~~~~~~~~~~~~~ 
-->
<advisory>
<severity>MODERATE</severity>
<rights>Copyright 2018 Oracle, Inc.</rights>
<issued date="2018-06-25"/>
<cve cvss3="7.8/CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H" href="https://linux.oracle.com/cve/CVE-2018-1083.html" public="20180328">CVE-2018-1083</cve>
<cve cvss3="9.8/CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H" href="https://linux.oracle.com/cve/CVE-2014-10072.html" public="20180227">CVE-2014-10072</cve>
<cve cvss3="9.8/CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H" href="https://linux.oracle.com/cve/CVE-2017-18206.html" public="20180227">CVE-2017-18206</cve>
<cve cvss3="7.8/CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H" href="https://linux.oracle.com/cve/CVE-2018-1100.html" public="20180411">CVE-2018-1100</cve>

<affected_cpe_list>
<cpe>cpe:/a:oracle:linux:6::latest</cpe>
<cpe>cpe:/a:oracle:linux:6:10:base</cpe>
</affected_cpe_list>
</advisory>
</metadata>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:20181932001" comment="Oracle Linux 6 is installed"/>
<criteria operator="OR">
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:20181932002" comment="Oracle Linux arch is x86_64"/>
<criteria operator="OR">
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:20181932003" comment="zsh is earlier than 0:4.3.11-8.el6"/>
<criterion test_ref="oval:com.oracle.elsa:tst:20181932004" comment="zsh is signed with the Oracle Linux 6 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:20181932005" comment="zsh-html is earlier than 0:4.3.11-8.el6"/>
<criterion test_ref="oval:com.oracle.elsa:tst:20181932006" comment="zsh-html is signed with the Oracle Linux 6 key"/>
</criteria>
</criteria>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:20181932007" comment="Oracle Linux arch is i686"/>
<criteria operator="OR">
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:20181932003" comment="zsh is earlier than 0:4.3.11-8.el6"/>
<criterion test_ref="oval:com.oracle.elsa:tst:20181932004" comment="zsh is signed with the Oracle Linux 6 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:20181932005" comment="zsh-html is earlier than 0:4.3.11-8.el6"/>
<criterion test_ref="oval:com.oracle.elsa:tst:20181932006" comment="zsh-html is signed with the Oracle Linux 6 key"/>
</criteria>
</criteria>
</criteria>
</criteria>
</criteria>

</definition>
</definitions>
<!--
 ~~~~~~~~~~~~~~~~~~~~~   rpminfo tests   ~~~~~~~~~~~~~~~~~~~~~ 
-->
<tests>
<rpminfo_test id="oval:com.oracle.elsa:tst:20181932001"  version="501" comment="Oracle Linux 6 is installed" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:20181932001" />
<state state_ref="oval:com.oracle.elsa:ste:20181932002" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20181932002"  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:20181932001" />
<state state_ref="oval:com.oracle.elsa:ste:20181932003" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20181932003"  version="501" comment="zsh is earlier than 0:4.3.11-8.el6" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:20181932002" />
<state state_ref="oval:com.oracle.elsa:ste:20181932004" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20181932004"  version="501" comment="zsh is signed with the Oracle Linux 6 key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:20181932002" />
<state state_ref="oval:com.oracle.elsa:ste:20181932001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20181932005"  version="501" comment="zsh-html is earlier than 0:4.3.11-8.el6" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:20181932003" />
<state state_ref="oval:com.oracle.elsa:ste:20181932004" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20181932006"  version="501" comment="zsh-html is signed with the Oracle Linux 6 key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:20181932003" />
<state state_ref="oval:com.oracle.elsa:ste:20181932001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20181932007"  version="501" comment="Oracle Linux arch is i686" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:20181932001" />
<state state_ref="oval:com.oracle.elsa:ste:20181932005" />
</rpminfo_test>

</tests>
<!--
 ~~~~~~~~~~~~~~~~~~~~   rpminfo objects   ~~~~~~~~~~~~~~~~~~~~ 
-->
<objects>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:20181932003" version="501">
<name>zsh-html</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:20181932002" version="501">
<name>zsh</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:20181932001" version="501">
<name>oraclelinux-release</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:20181932001" version="501">
<signature_keyid operation="equals">72f97b74ec551f03</signature_keyid>
</rpminfo_state>
<rpminfo_state xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:ste:20181932002" version="501">
<version operation="pattern match">^6</version>
</rpminfo_state>
<rpminfo_state xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:ste:20181932003" version="501">
<arch operation="pattern match">x86_64</arch>
</rpminfo_state>
<rpminfo_state xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:ste:20181932004" version="501">
<evr datatype="evr_string" operation="less than">0:4.3.11-8.el6</evr>
</rpminfo_state>
<rpminfo_state xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:ste:20181932005" version="501">
<arch operation="pattern match">i686</arch>
</rpminfo_state>

</states>
</oval_definitions>
