<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-21T19:03:45</oval:timestamp>
</generator>
<definitions>
<definition id="oval:com.oracle.elsa:def:20130612" version="501" class="patch">
<metadata>
<title>
ELSA-2013-0612:  ruby security update (MODERATE)
</title>
<affected family="unix">
<platform>Oracle Linux 6</platform>

</affected>
<reference source="elsa" ref_id="ELSA-2013-0612" ref_url="https://linux.oracle.com/errata/ELSA-2013-0612.html"/>
<reference source="CVE" ref_id="CVE-2012-4481" ref_url="https://linux.oracle.com/cve/CVE-2012-4481.html"/>
<reference source="CVE" ref_id="CVE-2013-1821" ref_url="https://linux.oracle.com/cve/CVE-2013-1821.html"/>

<description>
[1.8.7.352-10]
-  escaping vulnerability about Exception#to_s / NameError#to_s
  * ruby-1.8.7-p371-CVE-2012-4481.patch
  - Related: rhbz#915379

[1.8.7.352-9]
- Fix regression introduced by fix for entity expansion DOS vulnerability
  in REXML (https://bugs.ruby-lang.org/issues/7961)
  * ruby-2.0.0-add-missing-rexml-require.patch
- Related: rhbz#915379

[1.8.7.352-8]
- Addresses entity expansion DoS vulnerability in REXML.
  * ruby-2.0.0-entity-expansion-DoS-vulnerability-in-REXML.patch
- Resolves: rhbz#915379
</description>
<!--
 ~~~~~~~~~~~~~~~~~~~~   advisory details   ~~~~~~~~~~~~~~~~~~~ 
-->
<advisory>
<severity>MODERATE</severity>
<rights>Copyright 2013 Oracle, Inc.</rights>
<issued date="2013-03-07"/>
<cve cvss2="4.3/AV:N/AC:M/Au:N/C:N/I:P/A:N" href="https://linux.oracle.com/cve/CVE-2012-4481.html" public="20121005">CVE-2012-4481</cve>
<cve cvss2="4.3/AV:N/AC:M/Au:N/C:N/I:N/A:P" href="https://linux.oracle.com/cve/CVE-2013-1821.html" public="20130222">CVE-2013-1821</cve>

<affected_cpe_list>
<cpe>cpe:/a:oracle:linux:6::latest_archive</cpe>
<cpe>cpe:/a:oracle:linux:6:4:patch</cpe>
</affected_cpe_list>
</advisory>
</metadata>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:20130612001" comment="Oracle Linux 6 is installed"/>
<criteria operator="OR">
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:20130612002" comment="Oracle Linux arch is x86_64"/>
<criteria operator="OR">
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:20130612003" comment="ruby is earlier than 0:1.8.7.352-10.el6_4"/>
<criterion test_ref="oval:com.oracle.elsa:tst:20130612004" comment="ruby is signed with the Oracle Linux 6 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:20130612005" comment="ruby-devel is earlier than 0:1.8.7.352-10.el6_4"/>
<criterion test_ref="oval:com.oracle.elsa:tst:20130612006" comment="ruby-devel is signed with the Oracle Linux 6 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:20130612007" comment="ruby-docs is earlier than 0:1.8.7.352-10.el6_4"/>
<criterion test_ref="oval:com.oracle.elsa:tst:20130612008" comment="ruby-docs is signed with the Oracle Linux 6 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:20130612009" comment="ruby-irb is earlier than 0:1.8.7.352-10.el6_4"/>
<criterion test_ref="oval:com.oracle.elsa:tst:20130612010" comment="ruby-irb is signed with the Oracle Linux 6 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:20130612011" comment="ruby-libs is earlier than 0:1.8.7.352-10.el6_4"/>
<criterion test_ref="oval:com.oracle.elsa:tst:20130612012" comment="ruby-libs is signed with the Oracle Linux 6 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:20130612013" comment="ruby-rdoc is earlier than 0:1.8.7.352-10.el6_4"/>
<criterion test_ref="oval:com.oracle.elsa:tst:20130612014" comment="ruby-rdoc is signed with the Oracle Linux 6 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:20130612015" comment="ruby-ri is earlier than 0:1.8.7.352-10.el6_4"/>
<criterion test_ref="oval:com.oracle.elsa:tst:20130612016" comment="ruby-ri is signed with the Oracle Linux 6 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:20130612017" comment="ruby-static is earlier than 0:1.8.7.352-10.el6_4"/>
<criterion test_ref="oval:com.oracle.elsa:tst:20130612018" comment="ruby-static is signed with the Oracle Linux 6 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:20130612019" comment="ruby-tcltk is earlier than 0:1.8.7.352-10.el6_4"/>
<criterion test_ref="oval:com.oracle.elsa:tst:20130612020" comment="ruby-tcltk is signed with the Oracle Linux 6 key"/>
</criteria>
</criteria>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:20130612021" comment="Oracle Linux arch is i686"/>
<criteria operator="OR">
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:20130612003" comment="ruby is earlier than 0:1.8.7.352-10.el6_4"/>
<criterion test_ref="oval:com.oracle.elsa:tst:20130612004" comment="ruby is signed with the Oracle Linux 6 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:20130612005" comment="ruby-devel is earlier than 0:1.8.7.352-10.el6_4"/>
<criterion test_ref="oval:com.oracle.elsa:tst:20130612006" comment="ruby-devel is signed with the Oracle Linux 6 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:20130612007" comment="ruby-docs is earlier than 0:1.8.7.352-10.el6_4"/>
<criterion test_ref="oval:com.oracle.elsa:tst:20130612008" comment="ruby-docs is signed with the Oracle Linux 6 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:20130612009" comment="ruby-irb is earlier than 0:1.8.7.352-10.el6_4"/>
<criterion test_ref="oval:com.oracle.elsa:tst:20130612010" comment="ruby-irb is signed with the Oracle Linux 6 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:20130612011" comment="ruby-libs is earlier than 0:1.8.7.352-10.el6_4"/>
<criterion test_ref="oval:com.oracle.elsa:tst:20130612012" comment="ruby-libs is signed with the Oracle Linux 6 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:20130612013" comment="ruby-rdoc is earlier than 0:1.8.7.352-10.el6_4"/>
<criterion test_ref="oval:com.oracle.elsa:tst:20130612014" comment="ruby-rdoc is signed with the Oracle Linux 6 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:20130612015" comment="ruby-ri is earlier than 0:1.8.7.352-10.el6_4"/>
<criterion test_ref="oval:com.oracle.elsa:tst:20130612016" comment="ruby-ri is signed with the Oracle Linux 6 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:20130612017" comment="ruby-static is earlier than 0:1.8.7.352-10.el6_4"/>
<criterion test_ref="oval:com.oracle.elsa:tst:20130612018" comment="ruby-static is signed with the Oracle Linux 6 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:20130612019" comment="ruby-tcltk is earlier than 0:1.8.7.352-10.el6_4"/>
<criterion test_ref="oval:com.oracle.elsa:tst:20130612020" comment="ruby-tcltk 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:20130612001"  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:20130612001" />
<state state_ref="oval:com.oracle.elsa:ste:20130612002" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20130612002"  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:20130612001" />
<state state_ref="oval:com.oracle.elsa:ste:20130612003" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20130612003"  version="501" comment="ruby is earlier than 0:1.8.7.352-10.el6_4" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:20130612002" />
<state state_ref="oval:com.oracle.elsa:ste:20130612004" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20130612004"  version="501" comment="ruby 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:20130612002" />
<state state_ref="oval:com.oracle.elsa:ste:20130612001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20130612005"  version="501" comment="ruby-devel is earlier than 0:1.8.7.352-10.el6_4" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:20130612003" />
<state state_ref="oval:com.oracle.elsa:ste:20130612004" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20130612006"  version="501" comment="ruby-devel 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:20130612003" />
<state state_ref="oval:com.oracle.elsa:ste:20130612001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20130612007"  version="501" comment="ruby-docs is earlier than 0:1.8.7.352-10.el6_4" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:20130612004" />
<state state_ref="oval:com.oracle.elsa:ste:20130612004" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20130612008"  version="501" comment="ruby-docs 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:20130612004" />
<state state_ref="oval:com.oracle.elsa:ste:20130612001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20130612009"  version="501" comment="ruby-irb is earlier than 0:1.8.7.352-10.el6_4" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:20130612005" />
<state state_ref="oval:com.oracle.elsa:ste:20130612004" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20130612010"  version="501" comment="ruby-irb 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:20130612005" />
<state state_ref="oval:com.oracle.elsa:ste:20130612001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20130612011"  version="501" comment="ruby-libs is earlier than 0:1.8.7.352-10.el6_4" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:20130612006" />
<state state_ref="oval:com.oracle.elsa:ste:20130612004" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20130612012"  version="501" comment="ruby-libs 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:20130612006" />
<state state_ref="oval:com.oracle.elsa:ste:20130612001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20130612013"  version="501" comment="ruby-rdoc is earlier than 0:1.8.7.352-10.el6_4" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:20130612007" />
<state state_ref="oval:com.oracle.elsa:ste:20130612004" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20130612014"  version="501" comment="ruby-rdoc 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:20130612007" />
<state state_ref="oval:com.oracle.elsa:ste:20130612001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20130612015"  version="501" comment="ruby-ri is earlier than 0:1.8.7.352-10.el6_4" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:20130612008" />
<state state_ref="oval:com.oracle.elsa:ste:20130612004" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20130612016"  version="501" comment="ruby-ri 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:20130612008" />
<state state_ref="oval:com.oracle.elsa:ste:20130612001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20130612017"  version="501" comment="ruby-static is earlier than 0:1.8.7.352-10.el6_4" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:20130612009" />
<state state_ref="oval:com.oracle.elsa:ste:20130612004" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20130612018"  version="501" comment="ruby-static 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:20130612009" />
<state state_ref="oval:com.oracle.elsa:ste:20130612001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20130612019"  version="501" comment="ruby-tcltk is earlier than 0:1.8.7.352-10.el6_4" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:20130612010" />
<state state_ref="oval:com.oracle.elsa:ste:20130612004" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20130612020"  version="501" comment="ruby-tcltk 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:20130612010" />
<state state_ref="oval:com.oracle.elsa:ste:20130612001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20130612021"  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:20130612001" />
<state state_ref="oval:com.oracle.elsa:ste:20130612005" />
</rpminfo_test>

</tests>
<!--
 ~~~~~~~~~~~~~~~~~~~~   rpminfo objects   ~~~~~~~~~~~~~~~~~~~~ 
-->
<objects>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:20130612004" version="501">
<name>ruby-docs</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:20130612003" version="501">
<name>ruby-devel</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:20130612007" version="501">
<name>ruby-rdoc</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:20130612002" version="501">
<name>ruby</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:20130612005" version="501">
<name>ruby-irb</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:20130612001" 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:20130612009" version="501">
<name>ruby-static</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:20130612010" version="501">
<name>ruby-tcltk</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:20130612008" version="501">
<name>ruby-ri</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:20130612006" version="501">
<name>ruby-libs</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:20130612001" 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:20130612002" 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:20130612003" 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:20130612004" version="501">
<evr datatype="evr_string" operation="less than">0:1.8.7.352-10.el6_4</evr>
</rpminfo_state>
<rpminfo_state xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:ste:20130612005" version="501">
<arch operation="pattern match">i686</arch>
</rpminfo_state>

</states>
</oval_definitions>
