<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:52:52</oval:timestamp>
</generator>
<definitions>
<definition id="oval:com.oracle.elsa:def:20170013" version="501" class="patch">
<metadata>
<title>
ELSA-2017-0013:  ghostscript security update (MODERATE)
</title>
<affected family="unix">
<platform>Oracle Linux 7</platform>

</affected>
<reference source="elsa" ref_id="ELSA-2017-0013" ref_url="https://linux.oracle.com/errata/ELSA-2017-0013.html"/>
<reference source="CVE" ref_id="CVE-2016-7977" ref_url="https://linux.oracle.com/cve/CVE-2016-7977.html"/>
<reference source="CVE" ref_id="CVE-2016-7979" ref_url="https://linux.oracle.com/cve/CVE-2016-7979.html"/>
<reference source="CVE" ref_id="CVE-2016-8602" ref_url="https://linux.oracle.com/cve/CVE-2016-8602.html"/>
<reference source="CVE" ref_id="CVE-2016-7978" ref_url="https://linux.oracle.com/cve/CVE-2016-7978.html"/>
<reference source="CVE" ref_id="CVE-2013-5653" ref_url="https://linux.oracle.com/cve/CVE-2013-5653.html"/>

<description>
[9.07-20_1]
- Added security fixes for:
  - CVE-2013-5653 (bug #1380327)
  - CVE-2016-7977 (bug #1380415)
  - CVE-2016-7978 (bug #1382300)
  - CVE-2016-7979 (bug #1382305)
  - CVE-2016-8602 (bug #1383940)
</description>
<!--
 ~~~~~~~~~~~~~~~~~~~~   advisory details   ~~~~~~~~~~~~~~~~~~~ 
-->
<advisory>
<severity>MODERATE</severity>
<rights>Copyright 2017 Oracle, Inc.</rights>
<issued date="2017-01-04"/>
<cve cvss2="4.3/AV:N/AC:M/Au:N/C:P/I:N/A:N" href="https://linux.oracle.com/cve/CVE-2016-7977.html" public="20160928">CVE-2016-7977</cve>
<cve cvss2="5.1/AV:N/AC:H/Au:N/C:P/I:P/A:P" href="https://linux.oracle.com/cve/CVE-2016-7979.html" public="20161004">CVE-2016-7979</cve>
<cve cvss2="5.1/AV:N/AC:H/Au:N/C:P/I:P/A:P" href="https://linux.oracle.com/cve/CVE-2016-8602.html" public="20161008">CVE-2016-8602</cve>
<cve cvss2="5.1/AV:N/AC:H/Au:N/C:P/I:P/A:P" href="https://linux.oracle.com/cve/CVE-2016-7978.html" public="20160930">CVE-2016-7978</cve>
<cve cvss2="4.3/AV:N/AC:M/Au:N/C:P/I:N/A:N" href="https://linux.oracle.com/cve/CVE-2013-5653.html" public="20131021">CVE-2013-5653</cve>

<affected_cpe_list>
<cpe>cpe:/a:oracle:linux:7:3:patch</cpe>
<cpe>cpe:/a:oracle:linux:7::latest_archive</cpe>
<cpe>cpe:/a:oracle:linux:7::optional_archive</cpe>
</affected_cpe_list>
</advisory>
</metadata>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:20170013001" comment="Oracle Linux 7 is installed"/>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:20170013002" comment="Oracle Linux arch is x86_64"/>
<criteria operator="OR">
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:20170013003" comment="ghostscript is earlier than 0:9.07-20.el7_3.1"/>
<criterion test_ref="oval:com.oracle.elsa:tst:20170013004" comment="ghostscript is signed with the Oracle Linux 7 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:20170013005" comment="ghostscript-cups is earlier than 0:9.07-20.el7_3.1"/>
<criterion test_ref="oval:com.oracle.elsa:tst:20170013006" comment="ghostscript-cups is signed with the Oracle Linux 7 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:20170013007" comment="ghostscript-devel is earlier than 0:9.07-20.el7_3.1"/>
<criterion test_ref="oval:com.oracle.elsa:tst:20170013008" comment="ghostscript-devel is signed with the Oracle Linux 7 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:20170013009" comment="ghostscript-doc is earlier than 0:9.07-20.el7_3.1"/>
<criterion test_ref="oval:com.oracle.elsa:tst:20170013010" comment="ghostscript-doc is signed with the Oracle Linux 7 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:20170013011" comment="ghostscript-gtk is earlier than 0:9.07-20.el7_3.1"/>
<criterion test_ref="oval:com.oracle.elsa:tst:20170013012" comment="ghostscript-gtk 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:20170013001"  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:20170013001" />
<state state_ref="oval:com.oracle.elsa:ste:20170013002" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20170013002"  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:20170013001" />
<state state_ref="oval:com.oracle.elsa:ste:20170013003" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20170013003"  version="501" comment="ghostscript is earlier than 0:9.07-20.el7_3.1" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:20170013002" />
<state state_ref="oval:com.oracle.elsa:ste:20170013004" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20170013004"  version="501" comment="ghostscript 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:20170013002" />
<state state_ref="oval:com.oracle.elsa:ste:20170013001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20170013005"  version="501" comment="ghostscript-cups is earlier than 0:9.07-20.el7_3.1" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:20170013003" />
<state state_ref="oval:com.oracle.elsa:ste:20170013004" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20170013006"  version="501" comment="ghostscript-cups 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:20170013003" />
<state state_ref="oval:com.oracle.elsa:ste:20170013001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20170013007"  version="501" comment="ghostscript-devel is earlier than 0:9.07-20.el7_3.1" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:20170013004" />
<state state_ref="oval:com.oracle.elsa:ste:20170013004" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20170013008"  version="501" comment="ghostscript-devel 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:20170013004" />
<state state_ref="oval:com.oracle.elsa:ste:20170013001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20170013009"  version="501" comment="ghostscript-doc is earlier than 0:9.07-20.el7_3.1" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:20170013005" />
<state state_ref="oval:com.oracle.elsa:ste:20170013004" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20170013010"  version="501" comment="ghostscript-doc 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:20170013005" />
<state state_ref="oval:com.oracle.elsa:ste:20170013001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20170013011"  version="501" comment="ghostscript-gtk is earlier than 0:9.07-20.el7_3.1" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:20170013006" />
<state state_ref="oval:com.oracle.elsa:ste:20170013004" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20170013012"  version="501" comment="ghostscript-gtk 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:20170013006" />
<state state_ref="oval:com.oracle.elsa:ste:20170013001" />
</rpminfo_test>

</tests>
<!--
 ~~~~~~~~~~~~~~~~~~~~   rpminfo objects   ~~~~~~~~~~~~~~~~~~~~ 
-->
<objects>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:20170013002" version="501">
<name>ghostscript</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:20170013001" 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:20170013004" version="501">
<name>ghostscript-devel</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:20170013006" version="501">
<name>ghostscript-gtk</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:20170013005" version="501">
<name>ghostscript-doc</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:20170013003" version="501">
<name>ghostscript-cups</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:20170013001" 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:20170013002" 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:20170013003" 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:20170013004" version="501">
<evr datatype="evr_string" operation="less than">0:9.07-20.el7_3.1</evr>
</rpminfo_state>

</states>
</oval_definitions>
