<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:51:26</oval:timestamp>
</generator>
<definitions>
<definition id="oval:com.oracle.elsa:def:20192462" version="501" class="patch">
<metadata>
<title>
ELSA-2019-2462:  ghostscript security update (IMPORTANT)
</title>
<affected family="unix">
<platform>Oracle Linux 7</platform>

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

<description>
[9.25-2.1]
- Resolves: #1737338 - CVE-2019-10216 ghostscript: -dSAFER escape via .buildfont1 (701394)
</description>
<!--
 ~~~~~~~~~~~~~~~~~~~~   advisory details   ~~~~~~~~~~~~~~~~~~~ 
-->
<advisory>
<severity>IMPORTANT</severity>
<rights>Copyright 2019 Oracle, Inc.</rights>
<issued date="2019-08-16"/>
<cve cvss3="7.8/CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H" href="https://linux.oracle.com/cve/CVE-2019-10216.html" public="20191127">CVE-2019-10216</cve>

<affected_cpe_list>
<cpe>cpe:/a:oracle:linux:7::optional_latest_internal</cpe>
<cpe>cpe:/a:oracle:linux:7::latest</cpe>
<cpe>cpe:/a:oracle:linux:7::latest_internal</cpe>
<cpe>cpe:/a:oracle:linux:7:7:patch</cpe>
<cpe>cpe:/a:oracle:linux:7::optional_latest</cpe>
</affected_cpe_list>
</advisory>
</metadata>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:20192462001" comment="Oracle Linux 7 is installed"/>
<criteria operator="OR">
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:20192462002" comment="Oracle Linux arch is aarch64"/>
<criteria operator="OR">
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:20192462003" comment="ghostscript is earlier than 0:9.25-2.el7_7.1"/>
<criterion test_ref="oval:com.oracle.elsa:tst:20192462004" comment="ghostscript is signed with the Oracle Linux 7 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:20192462005" comment="ghostscript-cups is earlier than 0:9.25-2.el7_7.1"/>
<criterion test_ref="oval:com.oracle.elsa:tst:20192462006" comment="ghostscript-cups is signed with the Oracle Linux 7 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:20192462007" comment="ghostscript-doc is earlier than 0:9.25-2.el7_7.1"/>
<criterion test_ref="oval:com.oracle.elsa:tst:20192462008" comment="ghostscript-doc is signed with the Oracle Linux 7 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:20192462009" comment="ghostscript-gtk is earlier than 0:9.25-2.el7_7.1"/>
<criterion test_ref="oval:com.oracle.elsa:tst:20192462010" comment="ghostscript-gtk is signed with the Oracle Linux 7 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:20192462011" comment="libgs is earlier than 0:9.25-2.el7_7.1"/>
<criterion test_ref="oval:com.oracle.elsa:tst:20192462012" comment="libgs is signed with the Oracle Linux 7 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:20192462013" comment="libgs-devel is earlier than 0:9.25-2.el7_7.1"/>
<criterion test_ref="oval:com.oracle.elsa:tst:20192462014" comment="libgs-devel is signed with the Oracle Linux 7 key"/>
</criteria>
</criteria>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:20192462015" comment="Oracle Linux arch is x86_64"/>
<criteria operator="OR">
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:20192462003" comment="ghostscript is earlier than 0:9.25-2.el7_7.1"/>
<criterion test_ref="oval:com.oracle.elsa:tst:20192462004" comment="ghostscript is signed with the Oracle Linux 7 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:20192462005" comment="ghostscript-cups is earlier than 0:9.25-2.el7_7.1"/>
<criterion test_ref="oval:com.oracle.elsa:tst:20192462006" comment="ghostscript-cups is signed with the Oracle Linux 7 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:20192462007" comment="ghostscript-doc is earlier than 0:9.25-2.el7_7.1"/>
<criterion test_ref="oval:com.oracle.elsa:tst:20192462008" comment="ghostscript-doc is signed with the Oracle Linux 7 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:20192462009" comment="ghostscript-gtk is earlier than 0:9.25-2.el7_7.1"/>
<criterion test_ref="oval:com.oracle.elsa:tst:20192462010" comment="ghostscript-gtk is signed with the Oracle Linux 7 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:20192462011" comment="libgs is earlier than 0:9.25-2.el7_7.1"/>
<criterion test_ref="oval:com.oracle.elsa:tst:20192462012" comment="libgs is signed with the Oracle Linux 7 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:20192462013" comment="libgs-devel is earlier than 0:9.25-2.el7_7.1"/>
<criterion test_ref="oval:com.oracle.elsa:tst:20192462014" comment="libgs-devel is signed with the Oracle Linux 7 key"/>
</criteria>
</criteria>
</criteria>
</criteria>
</criteria>

</definition>
</definitions>
<!--
 ~~~~~~~~~~~~~~~~~~~~~   rpminfo tests   ~~~~~~~~~~~~~~~~~~~~~ 
-->
<tests>
<rpminfo_test id="oval:com.oracle.elsa:tst:20192462001"  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:20192462001" />
<state state_ref="oval:com.oracle.elsa:ste:20192462002" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20192462002"  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:20192462001" />
<state state_ref="oval:com.oracle.elsa:ste:20192462003" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20192462003"  version="501" comment="ghostscript is earlier than 0:9.25-2.el7_7.1" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:20192462002" />
<state state_ref="oval:com.oracle.elsa:ste:20192462004" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20192462004"  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:20192462002" />
<state state_ref="oval:com.oracle.elsa:ste:20192462001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20192462005"  version="501" comment="ghostscript-cups is earlier than 0:9.25-2.el7_7.1" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:20192462003" />
<state state_ref="oval:com.oracle.elsa:ste:20192462004" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20192462006"  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:20192462003" />
<state state_ref="oval:com.oracle.elsa:ste:20192462001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20192462007"  version="501" comment="ghostscript-doc is earlier than 0:9.25-2.el7_7.1" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:20192462004" />
<state state_ref="oval:com.oracle.elsa:ste:20192462004" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20192462008"  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:20192462004" />
<state state_ref="oval:com.oracle.elsa:ste:20192462001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20192462009"  version="501" comment="ghostscript-gtk is earlier than 0:9.25-2.el7_7.1" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:20192462005" />
<state state_ref="oval:com.oracle.elsa:ste:20192462004" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20192462010"  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:20192462005" />
<state state_ref="oval:com.oracle.elsa:ste:20192462001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20192462011"  version="501" comment="libgs is earlier than 0:9.25-2.el7_7.1" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:20192462006" />
<state state_ref="oval:com.oracle.elsa:ste:20192462004" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20192462012"  version="501" comment="libgs 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:20192462006" />
<state state_ref="oval:com.oracle.elsa:ste:20192462001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20192462013"  version="501" comment="libgs-devel is earlier than 0:9.25-2.el7_7.1" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:20192462007" />
<state state_ref="oval:com.oracle.elsa:ste:20192462004" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20192462014"  version="501" comment="libgs-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:20192462007" />
<state state_ref="oval:com.oracle.elsa:ste:20192462001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20192462015"  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:20192462001" />
<state state_ref="oval:com.oracle.elsa:ste:20192462005" />
</rpminfo_test>

</tests>
<!--
 ~~~~~~~~~~~~~~~~~~~~   rpminfo objects   ~~~~~~~~~~~~~~~~~~~~ 
-->
<objects>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:20192462002" 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:20192462001" 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:20192462007" version="501">
<name>libgs-devel</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:20192462006" version="501">
<name>libgs</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:20192462005" 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:20192462004" 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:20192462003" 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:20192462001" 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:20192462002" 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:20192462003" 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:20192462004" version="501">
<evr datatype="evr_string" operation="less than">0:9.25-2.el7_7.1</evr>
</rpminfo_state>
<rpminfo_state xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:ste:20192462005" version="501">
<arch operation="pattern match">x86_64</arch>
</rpminfo_state>

</states>
</oval_definitions>
