<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:49:36</oval:timestamp>
</generator>
<definitions>
<definition id="oval:com.oracle.elsa:def:20152101" version="501" class="patch">
<metadata>
<title>
ELSA-2015-2101:  python security, bug fix, and enhancement update (MODERATE)
</title>
<affected family="unix">
<platform>Oracle Linux 7</platform>

</affected>
<reference source="elsa" ref_id="ELSA-2015-2101" ref_url="https://linux.oracle.com/errata/ELSA-2015-2101.html"/>
<reference source="CVE" ref_id="CVE-2014-7185" ref_url="https://linux.oracle.com/cve/CVE-2014-7185.html"/>
<reference source="CVE" ref_id="CVE-2013-1752" ref_url="https://linux.oracle.com/cve/CVE-2013-1752.html"/>
<reference source="CVE" ref_id="CVE-2014-4616" ref_url="https://linux.oracle.com/cve/CVE-2014-4616.html"/>
<reference source="CVE" ref_id="CVE-2013-1753" ref_url="https://linux.oracle.com/cve/CVE-2013-1753.html"/>
<reference source="CVE" ref_id="CVE-2014-4650" ref_url="https://linux.oracle.com/cve/CVE-2014-4650.html"/>

<description>
[2.7.5-34.0.1]
- Add Oracle Linux distribution in platform.py [orabug 20812544]

[2.7.5-34]
- Revert fix for rhbz#1117751 as it leads to regressions
Resolves: rhbz#1117751

[2.7.5-33]
- Only restore SIG_PIPE when Popen called with restore_sigpipe
Resolves: rhbz#1117751

[2.7.5-32]
- Backport SSLSocket.version function
- Temporary disable test_gdb on ppc64le rhbz#1260558
Resolves: rhbz#1259421

[2.7.5-31]
- Update load_cert_chain function to accept None keyfile
Resolves: rhbz#1250611

[2.7.5-30]
- Change Patch224 according to latest update in PEP493
Resolves:rhbz#1219108

[2.7.5-29]
- Popen shouldn't ignore SIG_PIPE
Resolves: rhbz#1117751

[2.7.5-28]
- Exclude python subprocess temp files from cleaning
Resolves: rhbz#1058482

[2.7.5-27]
- Add list for cprofile sort option
Resolves:rhbz#1237107

[2.7.5-26]
- Add switch to toggle cert verification on or off globally
Resolves:rhbz#1219108

[2.7.5-25]
- PEP476 enable cert verifications by default
Resolves:rhbz#1219110

[2.7.5-24]
- Massive backport of ssl module from python3 aka PEP466
Resolves: rhbz#1111461

[2.7.5-23]
- Fixed CVE-2013-1753, CVE-2013-1752, CVE-2014-4616, CVE-2014-4650, CVE-2014-7185
Resolves: rhbz#1206574

[2.7.5-22]
- Fix importing readline producing erroneous output
Resolves: rhbz#1189301

[2.7.5-21]
- Add missing import in bdist_rpm
Resolves: rhbz#1177613

[2.7.5-20]
- Avoid double close of subprocess pipes
Resolves: rhbz#1103452

[2.7.5-19]
- make multiprocessing ignore EINTR
Resolves: rhbz#1181624
</description>
<!--
 ~~~~~~~~~~~~~~~~~~~~   advisory details   ~~~~~~~~~~~~~~~~~~~ 
-->
<advisory>
<severity>MODERATE</severity>
<rights>Copyright 2015 Oracle, Inc.</rights>
<issued date="2015-11-23"/>
<cve cvss2="4/AV:N/AC:H/Au:N/C:P/I:N/A:P" href="https://linux.oracle.com/cve/CVE-2014-7185.html" public="20140623">CVE-2014-7185</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-1752.html" public="20120925">CVE-2013-1752</cve>
<cve cvss2="4/AV:N/AC:H/Au:N/C:P/I:N/A:P" href="https://linux.oracle.com/cve/CVE-2014-4616.html" public="20140519">CVE-2014-4616</cve>
<cve cvss3="7.5/CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H" href="https://linux.oracle.com/cve/CVE-2013-1753.html" public="20200311">CVE-2013-1753</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-4650.html" public="20200220">CVE-2014-4650</cve>

<affected_cpe_list>
<cpe>cpe:/a:oracle:linux:7:2:base</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:20152101001" comment="Oracle Linux 7 is installed"/>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:20152101002" comment="Oracle Linux arch is x86_64"/>
<criteria operator="OR">
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:20152101003" comment="python is earlier than 0:2.7.5-34.0.1.el7"/>
<criterion test_ref="oval:com.oracle.elsa:tst:20152101004" comment="python is signed with the Oracle Linux 7 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:20152101005" comment="python-debug is earlier than 0:2.7.5-34.0.1.el7"/>
<criterion test_ref="oval:com.oracle.elsa:tst:20152101006" comment="python-debug is signed with the Oracle Linux 7 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:20152101007" comment="python-devel is earlier than 0:2.7.5-34.0.1.el7"/>
<criterion test_ref="oval:com.oracle.elsa:tst:20152101008" comment="python-devel is signed with the Oracle Linux 7 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:20152101009" comment="python-libs is earlier than 0:2.7.5-34.0.1.el7"/>
<criterion test_ref="oval:com.oracle.elsa:tst:20152101010" comment="python-libs is signed with the Oracle Linux 7 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:20152101011" comment="python-test is earlier than 0:2.7.5-34.0.1.el7"/>
<criterion test_ref="oval:com.oracle.elsa:tst:20152101012" comment="python-test is signed with the Oracle Linux 7 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:20152101013" comment="python-tools is earlier than 0:2.7.5-34.0.1.el7"/>
<criterion test_ref="oval:com.oracle.elsa:tst:20152101014" comment="python-tools is signed with the Oracle Linux 7 key"/>
</criteria>
<criteria operator="AND">
<criterion test_ref="oval:com.oracle.elsa:tst:20152101015" comment="tkinter is earlier than 0:2.7.5-34.0.1.el7"/>
<criterion test_ref="oval:com.oracle.elsa:tst:20152101016" comment="tkinter 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:20152101001"  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:20152101001" />
<state state_ref="oval:com.oracle.elsa:ste:20152101002" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20152101002"  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:20152101001" />
<state state_ref="oval:com.oracle.elsa:ste:20152101003" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20152101003"  version="501" comment="python is earlier than 0:2.7.5-34.0.1.el7" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:20152101002" />
<state state_ref="oval:com.oracle.elsa:ste:20152101004" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20152101004"  version="501" comment="python 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:20152101002" />
<state state_ref="oval:com.oracle.elsa:ste:20152101001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20152101005"  version="501" comment="python-debug is earlier than 0:2.7.5-34.0.1.el7" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:20152101003" />
<state state_ref="oval:com.oracle.elsa:ste:20152101004" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20152101006"  version="501" comment="python-debug 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:20152101003" />
<state state_ref="oval:com.oracle.elsa:ste:20152101001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20152101007"  version="501" comment="python-devel is earlier than 0:2.7.5-34.0.1.el7" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:20152101004" />
<state state_ref="oval:com.oracle.elsa:ste:20152101004" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20152101008"  version="501" comment="python-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:20152101004" />
<state state_ref="oval:com.oracle.elsa:ste:20152101001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20152101009"  version="501" comment="python-libs is earlier than 0:2.7.5-34.0.1.el7" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:20152101005" />
<state state_ref="oval:com.oracle.elsa:ste:20152101004" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20152101010"  version="501" comment="python-libs 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:20152101005" />
<state state_ref="oval:com.oracle.elsa:ste:20152101001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20152101011"  version="501" comment="python-test is earlier than 0:2.7.5-34.0.1.el7" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:20152101006" />
<state state_ref="oval:com.oracle.elsa:ste:20152101004" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20152101012"  version="501" comment="python-test 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:20152101006" />
<state state_ref="oval:com.oracle.elsa:ste:20152101001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20152101013"  version="501" comment="python-tools is earlier than 0:2.7.5-34.0.1.el7" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:20152101007" />
<state state_ref="oval:com.oracle.elsa:ste:20152101004" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20152101014"  version="501" comment="python-tools 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:20152101007" />
<state state_ref="oval:com.oracle.elsa:ste:20152101001" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20152101015"  version="501" comment="tkinter is earlier than 0:2.7.5-34.0.1.el7" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.oracle.elsa:obj:20152101008" />
<state state_ref="oval:com.oracle.elsa:ste:20152101004" />
</rpminfo_test>
<rpminfo_test id="oval:com.oracle.elsa:tst:20152101016"  version="501" comment="tkinter 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:20152101008" />
<state state_ref="oval:com.oracle.elsa:ste:20152101001" />
</rpminfo_test>

</tests>
<!--
 ~~~~~~~~~~~~~~~~~~~~   rpminfo objects   ~~~~~~~~~~~~~~~~~~~~ 
-->
<objects>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:20152101008" version="501">
<name>tkinter</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:20152101001" 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:20152101002" version="501">
<name>python</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:20152101004" version="501">
<name>python-devel</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:20152101005" version="501">
<name>python-libs</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:20152101007" version="501">
<name>python-tools</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:20152101003" version="501">
<name>python-debug</name>
</rpminfo_object>
<rpminfo_object xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" id="oval:com.oracle.elsa:obj:20152101006" version="501">
<name>python-test</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:20152101001" 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:20152101002" 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:20152101003" 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:20152101004" version="501">
<evr datatype="evr_string" operation="less than">0:2.7.5-34.0.1.el7</evr>
</rpminfo_state>

</states>
</oval_definitions>
