<?xml version="1.0" encoding="UTF-8"?>

<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: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>Red Hat Errata System</oval:product_name>
    <oval:schema_version>5.3</oval:schema_version>
    <oval:timestamp>2008-01-23T07:18:01</oval:timestamp>
  </generator>

  <definitions>
    <definition id="oval:com.redhat.rhsa:def:20040120" version="304" class="patch">
      <metadata>
        <title>RHSA-2004:120: openssl security update
        (Important)
	</title>
  	<affected family="unix">
        <platform>Red Hat Enterprise Linux 3</platform>
        </affected>
        <reference source="RHSA" ref_id="RHSA-2004:120-04" ref_url="https://rhn.redhat.com/errata/RHSA-2004-120.html"/>
	<description>The OpenSSL toolkit implements Secure Sockets Layer (SSL v2/v3),
Transport Layer Security (TLS v1) protocols, and serves as a full-strength
general purpose cryptography library.

Testing performed by the OpenSSL group using the Codenomicon TLS Test Tool
uncovered a null-pointer assignment in the do_change_cipher_spec() function
in OpenSSL 0.9.6c-0.9.6k and 0.9.7a-0.9.7c.  A remote attacker could
perform a carefully crafted SSL/TLS handshake against a server that uses
the OpenSSL library in such a way as to cause OpenSSL to crash. Depending
on the application this could lead to a denial of service.  The Common
Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name
CAN-2004-0079 to this issue.

Stephen Henson discovered a flaw in SSL/TLS handshaking code when using
Kerberos ciphersuites in OpenSSL 0.9.7a-0.9.7c.  A remote attacker could
perform a carefully crafted SSL/TLS handshake against a server configured
to use Kerberos ciphersuites in such a way as to cause OpenSSL to crash. 
Most applications have no ability to use Kerberos ciphersuites and will
therefore be unaffected by this issue.  The Common Vulnerabilities and
Exposures project (cve.mitre.org) has assigned the name CAN-2004-0112 to
this issue.

Testing performed by the OpenSSL group using the Codenomicon TLS Test Tool
uncovered a bug in older versions of OpenSSL 0.9.6 prior to 0.9.6d that may
lead to a denial of service attack (infinite loop).  The Common
Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name
CAN-2004-0081 to this issue.  This issue affects only the OpenSSL
compatibility packages shipped with Red Hat Enterprise Linux 3.

These updated packages contain patches provided by the OpenSSL group that
protect against these issues.

Additionally, the version of libica included in the OpenSSL packages has
been updated to 1.3.5. This only affects IBM s390 and IBM eServer zSeries
customers and is required for the latest openCryptoki packages.

NOTE: Because server applications are affected by this issue, users are
advised to either restart all services that use OpenSSL functionality or
restart their systems after installing these updates.</description>

<!-- ~~~~~~~~~~~~~~~~~~~~   advisory details   ~~~~~~~~~~~~~~~~~~~ -->

<advisory from="secalert@redhat.com">
        <severity>Important</severity>
        <rights>Copyright 2004 Red Hat, Inc.</rights>
        <issued date="2004-05-21"/>
        <updated date="2004-05-21"/>
        <cve href="http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2004-0079">CVE-2004-0079</cve>
        <cve href="http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2004-0081">CVE-2004-0081</cve>
        <cve href="http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2004-0112">CVE-2004-0112</cve>
  	<affected_cpe_list>
        <cpe>cpe://redhat:enterprise_linux:3</cpe>
        </affected_cpe_list>
</advisory>
      </metadata>  <criteria operator="AND">
    <criterion test_ref="oval:com.redhat.rhsa:tst:20040120001" comment="Red Hat Enterprise Linux 3 is installed"/>
    <criteria operator="OR">
            <criteria operator="AND">

            <criterion test_ref="oval:com.redhat.rhsa:tst:20040120002" comment="openssl is earlier than 0:0.9.7a-33.4"/>
            <criterion test_ref="oval:com.redhat.rhsa:tst:20040120003" comment="openssl is signed with Red Hat security key"/>
            </criteria>
            <criteria operator="AND">

            <criterion test_ref="oval:com.redhat.rhsa:tst:20040120004" comment="openssl096b is earlier than 0:0.9.6b-16"/>
            <criterion test_ref="oval:com.redhat.rhsa:tst:20040120005" comment="openssl096b is signed with Red Hat security key"/>
            </criteria>
            <criteria operator="AND">

            <criterion test_ref="oval:com.redhat.rhsa:tst:20040120006" comment="openssl-devel is earlier than 0:0.9.7a-33.4"/>
            <criterion test_ref="oval:com.redhat.rhsa:tst:20040120007" comment="openssl-devel is signed with Red Hat security key"/>
            </criteria>
            <criteria operator="AND">

            <criterion test_ref="oval:com.redhat.rhsa:tst:20040120008" comment="openssl-perl is earlier than 0:0.9.7a-33.4"/>
            <criterion test_ref="oval:com.redhat.rhsa:tst:20040120009" comment="openssl-perl is signed with Red Hat security key"/>
            </criteria>
    </criteria>
  </criteria>

    </definition>
  </definitions>
  <tests>
    <!-- ~~~~~~~~~~~~~~~~~~~~~   rpminfo tests   ~~~~~~~~~~~~~~~~~~~~~ --><rpminfo_test id="oval:com.redhat.rhsa:tst:20040120001" version="304" comment="redhat-release is version 3" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.redhat.rhsa:obj:20040120001"/>
<state state_ref="oval:com.redhat.rhsa:ste:20040120001"/>
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20040120002" version="304" comment="openssl is earlier than 0:0.9.7a-33.4" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.redhat.rhsa:obj:20040120002"/>
<state state_ref="oval:com.redhat.rhsa:ste:20040120002"/>
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20040120003" version="304" comment="openssl is signed with Red Hat security key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.redhat.rhsa:obj:20040120002"/>
<state state_ref="oval:com.redhat.rhsa:ste:20040120003"/>
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20040120004" version="304" comment="openssl096b is earlier than 0:0.9.6b-16" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.redhat.rhsa:obj:20040120003"/>
<state state_ref="oval:com.redhat.rhsa:ste:20040120004"/>
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20040120005" version="304" comment="openssl096b is signed with Red Hat security key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.redhat.rhsa:obj:20040120003"/>
<state state_ref="oval:com.redhat.rhsa:ste:20040120003"/>
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20040120006" version="304" comment="openssl-devel is earlier than 0:0.9.7a-33.4" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.redhat.rhsa:obj:20040120004"/>
<state state_ref="oval:com.redhat.rhsa:ste:20040120002"/>
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20040120007" version="304" comment="openssl-devel is signed with Red Hat security key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.redhat.rhsa:obj:20040120004"/>
<state state_ref="oval:com.redhat.rhsa:ste:20040120003"/>
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20040120008" version="304" comment="openssl-perl is earlier than 0:0.9.7a-33.4" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.redhat.rhsa:obj:20040120005"/>
<state state_ref="oval:com.redhat.rhsa:ste:20040120002"/>
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20040120009" version="304" comment="openssl-perl is signed with Red Hat security key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.redhat.rhsa:obj:20040120005"/>
<state state_ref="oval:com.redhat.rhsa:ste:20040120003"/>
</rpminfo_test>

  </tests>
  <objects>
    <!-- ~~~~~~~~~~~~~~~~~~~~   rpminfo objects   ~~~~~~~~~~~~~~~~~~~~ --><rpminfo_object id="oval:com.redhat.rhsa:obj:20040120001" version="304" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <name>redhat-release</name>
</rpminfo_object>
<rpminfo_object id="oval:com.redhat.rhsa:obj:20040120002" version="304" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <name>openssl</name>
</rpminfo_object>
<rpminfo_object id="oval:com.redhat.rhsa:obj:20040120003" version="304" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <name>openssl096b</name>
</rpminfo_object>
<rpminfo_object id="oval:com.redhat.rhsa:obj:20040120004" version="304" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <name>openssl-devel</name>
</rpminfo_object>
<rpminfo_object id="oval:com.redhat.rhsa:obj:20040120005" version="304" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <name>openssl-perl</name>
</rpminfo_object>

  </objects>
  <states>
    <!-- ~~~~~~~~~~~~~~~~~~~~   rpminfo states   ~~~~~~~~~~~~~~~~~~~~~ --><rpminfo_state id="oval:com.redhat.rhsa:ste:20040120001" version="304" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <version operation="pattern match">^3[^[:digit:]]</version>
</rpminfo_state>
<rpminfo_state id="oval:com.redhat.rhsa:ste:20040120002" version="304" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <evr datatype="evr_string" operation="less than">0:0.9.7a-33.4</evr>
</rpminfo_state>
<rpminfo_state id="oval:com.redhat.rhsa:ste:20040120003" version="304" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <signature_keyid operation="equals">219180cddb42a60e</signature_keyid>
</rpminfo_state>
<rpminfo_state id="oval:com.redhat.rhsa:ste:20040120004" version="304" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <evr datatype="evr_string" operation="less than">0:0.9.6b-16</evr>
</rpminfo_state>

  </states>
</oval_definitions>