<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:56:30</oval:timestamp>
</generator>
<definitions>
<definition id="oval:com.oracle.elsa:def:20161538" version="501" class="patch">
<metadata>
<title>
ELSA-2016-1538:  golang security, bug fix, and enhancement update (MODERATE)
</title>
<affected family="unix">
<platform>Oracle Linux 7</platform>

</affected>
<reference source="elsa" ref_id="ELSA-2016-1538" ref_url="https://linux.oracle.com/errata/ELSA-2016-1538.html"/>
<reference source="CVE" ref_id="CVE-2016-5386" ref_url="https://linux.oracle.com/cve/CVE-2016-5386.html"/>

<description>
[1.6.3-1]
- Resolves: rhbz#1358278 - CVE-2016-5386

[1.6.2-1]
- rebase to 1.6.2
- Resolves: rhbz#1346331
</description>
<!--
 ~~~~~~~~~~~~~~~~~~~~   advisory details   ~~~~~~~~~~~~~~~~~~~ 
-->
<advisory>
<severity>MODERATE</severity>
<rights>Copyright 2016 Oracle, Inc.</rights>
<issued date="2016-08-02"/>
<cve cvss2="5/AV:N/AC:L/Au:N/C:N/I:P/A:N" href="https://linux.oracle.com/cve/CVE-2016-5386.html" public="20160718">CVE-2016-5386</cve>

<affected_cpe_list>
<cpe>cpe:/a:oracle:linux:7:2:patch</cpe>
<cpe>cpe:/a:oracle:linux:7::optional_archive</cpe>
<cpe>cpe:/a:oracle:linux:7::latest_archive</cpe>
</affected_cpe_list>
</advisory>
</metadata>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:20161538001" comment="Oracle Linux 7 is installed"/>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:20161538002" comment="Oracle Linux arch is x86_64"/>
<criteria operator="OR">
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:20161538003" comment="golang is earlier than 0:1.6.3-1.el7_2.1"/>
<criterion test_ref="oval:com.oracle.elsa:tst:20161538004" comment="golang is signed with the Oracle Linux 7 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:20161538005" comment="golang-bin is earlier than 0:1.6.3-1.el7_2.1"/>
<criterion test_ref="oval:com.oracle.elsa:tst:20161538006" comment="golang-bin is signed with the Oracle Linux 7 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:20161538007" comment="golang-docs is earlier than 0:1.6.3-1.el7_2.1"/>
<criterion test_ref="oval:com.oracle.elsa:tst:20161538008" comment="golang-docs is signed with the Oracle Linux 7 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:20161538009" comment="golang-misc is earlier than 0:1.6.3-1.el7_2.1"/>
<criterion test_ref="oval:com.oracle.elsa:tst:20161538010" comment="golang-misc is signed with the Oracle Linux 7 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:20161538011" comment="golang-src is earlier than 0:1.6.3-1.el7_2.1"/>
<criterion test_ref="oval:com.oracle.elsa:tst:20161538012" comment="golang-src is signed with the Oracle Linux 7 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:20161538013" comment="golang-tests is earlier than 0:1.6.3-1.el7_2.1"/>
<criterion test_ref="oval:com.oracle.elsa:tst:20161538014" comment="golang-tests is signed with the Oracle Linux 7 key"/>
</criteria>
</criteria>
</criteria>
</criteria>

</definition>
</definitions>
<!--
 ~~~~~~~~~~~~~~~~~~~~~   rpminfo tests   ~~~~~~~~~~~~~~~~~~~~~ 
-->
<tests>
<rpminfo_test id="oval:com.oracle.elsa:tst:20161538001"  version="501" comment="Oracle Linux 7 is installed" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:20161538001" />
<state state_ref="oval:com.oracle.elsa:ste:20161538002" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20161538002"  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:20161538001" />
<state state_ref="oval:com.oracle.elsa:ste:20161538003" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20161538003"  version="501" comment="golang is earlier than 0:1.6.3-1.el7_2.1" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:20161538002" />
<state state_ref="oval:com.oracle.elsa:ste:20161538004" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20161538004"  version="501" comment="golang is signed with the Oracle Linux 7 key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:20161538002" />
<state state_ref="oval:com.oracle.elsa:ste:20161538001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20161538005"  version="501" comment="golang-bin is earlier than 0:1.6.3-1.el7_2.1" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:20161538003" />
<state state_ref="oval:com.oracle.elsa:ste:20161538004" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20161538006"  version="501" comment="golang-bin is signed with the Oracle Linux 7 key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:20161538003" />
<state state_ref="oval:com.oracle.elsa:ste:20161538001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20161538007"  version="501" comment="golang-docs is earlier than 0:1.6.3-1.el7_2.1" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:20161538004" />
<state state_ref="oval:com.oracle.elsa:ste:20161538004" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20161538008"  version="501" comment="golang-docs is signed with the Oracle Linux 7 key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:20161538004" />
<state state_ref="oval:com.oracle.elsa:ste:20161538001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20161538009"  version="501" comment="golang-misc is earlier than 0:1.6.3-1.el7_2.1" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:20161538005" />
<state state_ref="oval:com.oracle.elsa:ste:20161538004" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20161538010"  version="501" comment="golang-misc is signed with the Oracle Linux 7 key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:20161538005" />
<state state_ref="oval:com.oracle.elsa:ste:20161538001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20161538011"  version="501" comment="golang-src is earlier than 0:1.6.3-1.el7_2.1" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:20161538006" />
<state state_ref="oval:com.oracle.elsa:ste:20161538004" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20161538012"  version="501" comment="golang-src is signed with the Oracle Linux 7 key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:20161538006" />
<state state_ref="oval:com.oracle.elsa:ste:20161538001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20161538013"  version="501" comment="golang-tests is earlier than 0:1.6.3-1.el7_2.1" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:20161538007" />
<state state_ref="oval:com.oracle.elsa:ste:20161538004" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20161538014"  version="501" comment="golang-tests is signed with the Oracle Linux 7 key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:20161538007" />
<state state_ref="oval:com.oracle.elsa:ste:20161538001" />
</rpminfo_test>

</tests>
<!--
 ~~~~~~~~~~~~~~~~~~~~   rpminfo objects   ~~~~~~~~~~~~~~~~~~~~ 
-->
<objects>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:20161538005" version="501">
<name>golang-misc</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:20161538007" version="501">
<name>golang-tests</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:20161538004" version="501">
<name>golang-docs</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:20161538001" 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:20161538003" version="501">
<name>golang-bin</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:20161538002" version="501">
<name>golang</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:20161538006" version="501">
<name>golang-src</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:20161538001" 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:20161538002" version="501">
<version operation="pattern match">^7</version>
</rpminfo_state>
<rpminfo_state xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:ste:20161538003" 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:20161538004" version="501">
<evr datatype="evr_string" operation="less than">0:1.6.3-1.el7_2.1</evr>
</rpminfo_state>

</states>
</oval_definitions>
