<?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:09</oval:timestamp>
  </generator>

  <definitions>
    <definition id="oval:com.redhat.rhsa:def:20040350" version="302" class="patch">
      <metadata>
        <title>RHSA-2004:350: krb5 security update
        (Critical)
	</title>
  	<affected family="unix">
        <platform>Red Hat Enterprise Linux 3</platform>
        </affected>
        <reference source="RHSA" ref_id="RHSA-2004:350-02" ref_url="https://rhn.redhat.com/errata/RHSA-2004-350.html"/>
	<description>Kerberos is a networked authentication system that uses a trusted third
party (a KDC) to authenticate clients and servers to each other.

Several double-free bugs were found in the Kerberos 5 KDC and libraries.  A
remote attacker could potentially exploit these flaws to execuate arbitrary
code.  The Common Vulnerabilities and Exposures project (cve.mitre.org) has
assigned the names CAN-2004-0642 and CAN-2004-0643 to these issues.

A double-free bug was also found in the krb524 server (CAN-2004-0772),
however this issue does not affect Red Hat Enterprise Linux 3 Kerberos
packages.

An infinite loop bug was found in the Kerberos 5 ASN.1 decoder library.  A
remote attacker may be able to trigger this flaw and cause a denial of
service. The Common Vulnerabilities and Exposures project (cve.mitre.org)
has assigned the name CAN-2004-0644 to this issue.

When attempting to contact a KDC, the Kerberos libraries will iterate
through the list of configured servers, attempting to contact each in turn.
If one of the servers becomes unresponsive, the client will time out and
contact the next configured server.  When the library attempts to contact
the next KDC, the entire process is repeated.  For applications which must
contact a KDC several times, the accumulated time spent waiting can become
significant.

This update modifies the libraries, notes which server for a given realm
last responded to a request, and attempts to contact that server first
before contacting any of the other configured servers.

All users of krb5 should upgrade to these updated packages, which contain
backported security patches to resolve these issues.</description>

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

<advisory from="secalert@redhat.com">
        <severity>Critical</severity>
        <rights>Copyright 2004 Red Hat, Inc.</rights>
        <issued date="2004-08-31"/>
        <updated date="2004-08-31"/>
        <cve href="http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2004-0642">CVE-2004-0642</cve>
        <cve href="http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2004-0643">CVE-2004-0643</cve>
        <cve href="http://www.cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2004-0644">CVE-2004-0644</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:20040350001" comment="Red Hat Enterprise Linux 3 is installed"/>
    <criteria operator="OR">
            <criteria operator="AND">

            <criterion test_ref="oval:com.redhat.rhsa:tst:20040350002" comment="krb5 is earlier than 0:1.2.7-28"/>
            <criterion test_ref="oval:com.redhat.rhsa:tst:20040350003" comment="krb5 is signed with Red Hat security key"/>
            </criteria>
            <criteria operator="AND">

            <criterion test_ref="oval:com.redhat.rhsa:tst:20040350004" comment="krb5-devel is earlier than 0:1.2.7-28"/>
            <criterion test_ref="oval:com.redhat.rhsa:tst:20040350005" comment="krb5-devel is signed with Red Hat security key"/>
            </criteria>
            <criteria operator="AND">

            <criterion test_ref="oval:com.redhat.rhsa:tst:20040350006" comment="krb5-libs is earlier than 0:1.2.7-28"/>
            <criterion test_ref="oval:com.redhat.rhsa:tst:20040350007" comment="krb5-libs is signed with Red Hat security key"/>
            </criteria>
            <criteria operator="AND">

            <criterion test_ref="oval:com.redhat.rhsa:tst:20040350008" comment="krb5-server is earlier than 0:1.2.7-28"/>
            <criterion test_ref="oval:com.redhat.rhsa:tst:20040350009" comment="krb5-server is signed with Red Hat security key"/>
            </criteria>
            <criteria operator="AND">

            <criterion test_ref="oval:com.redhat.rhsa:tst:20040350010" comment="krb5-workstation is earlier than 0:1.2.7-28"/>
            <criterion test_ref="oval:com.redhat.rhsa:tst:20040350011" comment="krb5-workstation is signed with Red Hat security key"/>
            </criteria>
    </criteria>
  </criteria>

    </definition>
  </definitions>
  <tests>
    <!-- ~~~~~~~~~~~~~~~~~~~~~   rpminfo tests   ~~~~~~~~~~~~~~~~~~~~~ --><rpminfo_test id="oval:com.redhat.rhsa:tst:20040350001" version="302" 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:20040350001"/>
<state state_ref="oval:com.redhat.rhsa:ste:20040350001"/>
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20040350002" version="302" comment="krb5 is earlier than 0:1.2.7-28" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.redhat.rhsa:obj:20040350002"/>
<state state_ref="oval:com.redhat.rhsa:ste:20040350002"/>
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20040350003" version="302" comment="krb5 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:20040350002"/>
<state state_ref="oval:com.redhat.rhsa:ste:20040350003"/>
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20040350004" version="302" comment="krb5-devel is earlier than 0:1.2.7-28" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.redhat.rhsa:obj:20040350003"/>
<state state_ref="oval:com.redhat.rhsa:ste:20040350002"/>
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20040350005" version="302" comment="krb5-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:20040350003"/>
<state state_ref="oval:com.redhat.rhsa:ste:20040350003"/>
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20040350006" version="302" comment="krb5-libs is earlier than 0:1.2.7-28" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.redhat.rhsa:obj:20040350004"/>
<state state_ref="oval:com.redhat.rhsa:ste:20040350002"/>
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20040350007" version="302" comment="krb5-libs 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:20040350004"/>
<state state_ref="oval:com.redhat.rhsa:ste:20040350003"/>
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20040350008" version="302" comment="krb5-server is earlier than 0:1.2.7-28" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.redhat.rhsa:obj:20040350005"/>
<state state_ref="oval:com.redhat.rhsa:ste:20040350002"/>
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20040350009" version="302" comment="krb5-server 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:20040350005"/>
<state state_ref="oval:com.redhat.rhsa:ste:20040350003"/>
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20040350010" version="302" comment="krb5-workstation is earlier than 0:1.2.7-28" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.redhat.rhsa:obj:20040350006"/>
<state state_ref="oval:com.redhat.rhsa:ste:20040350002"/>
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20040350011" version="302" comment="krb5-workstation 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:20040350006"/>
<state state_ref="oval:com.redhat.rhsa:ste:20040350003"/>
</rpminfo_test>

  </tests>
  <objects>
    <!-- ~~~~~~~~~~~~~~~~~~~~   rpminfo objects   ~~~~~~~~~~~~~~~~~~~~ --><rpminfo_object id="oval:com.redhat.rhsa:obj:20040350001" version="302" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <name>redhat-release</name>
</rpminfo_object>
<rpminfo_object id="oval:com.redhat.rhsa:obj:20040350002" version="302" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <name>krb5</name>
</rpminfo_object>
<rpminfo_object id="oval:com.redhat.rhsa:obj:20040350003" version="302" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <name>krb5-devel</name>
</rpminfo_object>
<rpminfo_object id="oval:com.redhat.rhsa:obj:20040350004" version="302" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <name>krb5-libs</name>
</rpminfo_object>
<rpminfo_object id="oval:com.redhat.rhsa:obj:20040350005" version="302" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <name>krb5-server</name>
</rpminfo_object>
<rpminfo_object id="oval:com.redhat.rhsa:obj:20040350006" version="302" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <name>krb5-workstation</name>
</rpminfo_object>

  </objects>
  <states>
    <!-- ~~~~~~~~~~~~~~~~~~~~   rpminfo states   ~~~~~~~~~~~~~~~~~~~~~ --><rpminfo_state id="oval:com.redhat.rhsa:ste:20040350001" version="302" 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:20040350002" version="302" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <evr datatype="evr_string" operation="less than">0:1.2.7-28</evr>
</rpminfo_state>
<rpminfo_state id="oval:com.redhat.rhsa:ste:20040350003" version="302" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <signature_keyid operation="equals">219180cddb42a60e</signature_keyid>
</rpminfo_state>

  </states>
</oval_definitions>