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

  <definitions>
    <definition id="oval:com.redhat.rhsa:def:20040467" version="303" class="patch">
      <metadata>
        <title>RHSA-2004:467: samba security update
        (Important)
	</title>
  	<affected family="unix">
        <platform>Red Hat Enterprise Linux 3</platform>
        </affected>
        <reference source="RHSA" ref_id="RHSA-2004:467-03" ref_url="https://rhn.redhat.com/errata/RHSA-2004-467.html"/>
	<description>Samba provides file and printer sharing services to SMB/CIFS clients.

The Samba team has discovered a denial of service bug in the smbd daemon. 
A defect in smbd's ASN.1 parsing allows an attacker to send a specially
crafted packet during the authentication request which will send the newly
spawned smbd process into an infinite loop.  Given enough of these packets,
it is possible to exhaust the available memory on the server.  The Common
Vulnerabilities and Exposures project (cve.mitre.org) has assigned the name
CAN-2004-0807 to this issue.

Additionally the Samba team has also discovered a denial of service bug in
the nmbd daemon.  It is possible that an attacker could send a specially
crafted UDP packet which could allow the attacker to anonymously
crash nmbd.  This issue only affects nmbd daemons which are configured to
process domain logons.  The Common Vulnerabilities and Exposures project
(cve.mitre.org) has assigned the name CAN-2004-0808 to this issue.

Users of Samba should upgrade to these updated packages, which contain an
upgrade to Samba-3.0.7, which is not vulnerable to these issues.</description>

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

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

            <criterion test_ref="oval:com.redhat.rhsa:tst:20040467002" comment="samba is earlier than 0:3.0.7-1.3E"/>
            <criterion test_ref="oval:com.redhat.rhsa:tst:20040467003" comment="samba is signed with Red Hat master key"/>
            </criteria>
            <criteria operator="AND">

            <criterion test_ref="oval:com.redhat.rhsa:tst:20040467004" comment="samba-client is earlier than 0:3.0.7-1.3E"/>
            <criterion test_ref="oval:com.redhat.rhsa:tst:20040467005" comment="samba-client is signed with Red Hat master key"/>
            </criteria>
            <criteria operator="AND">

            <criterion test_ref="oval:com.redhat.rhsa:tst:20040467006" comment="samba-common is earlier than 0:3.0.7-1.3E"/>
            <criterion test_ref="oval:com.redhat.rhsa:tst:20040467007" comment="samba-common is signed with Red Hat master key"/>
            </criteria>
            <criteria operator="AND">

            <criterion test_ref="oval:com.redhat.rhsa:tst:20040467008" comment="samba-swat is earlier than 0:3.0.7-1.3E"/>
            <criterion test_ref="oval:com.redhat.rhsa:tst:20040467009" comment="samba-swat is signed with Red Hat master key"/>
            </criteria>
    </criteria>
  </criteria>

    </definition>
  </definitions>
  <tests>
    <!-- ~~~~~~~~~~~~~~~~~~~~~   rpminfo tests   ~~~~~~~~~~~~~~~~~~~~~ --><rpminfo_test id="oval:com.redhat.rhsa:tst:20040467001" version="303" 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:20040467001"/>
<state state_ref="oval:com.redhat.rhsa:ste:20040467001"/>
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20040467002" version="303" comment="samba is earlier than 0:3.0.7-1.3E" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.redhat.rhsa:obj:20040467002"/>
<state state_ref="oval:com.redhat.rhsa:ste:20040467002"/>
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20040467003" version="303" comment="samba is signed with Red Hat master key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.redhat.rhsa:obj:20040467002"/>
<state state_ref="oval:com.redhat.rhsa:ste:20040467003"/>
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20040467004" version="303" comment="samba-client is earlier than 0:3.0.7-1.3E" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.redhat.rhsa:obj:20040467003"/>
<state state_ref="oval:com.redhat.rhsa:ste:20040467002"/>
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20040467005" version="303" comment="samba-client is signed with Red Hat master key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.redhat.rhsa:obj:20040467003"/>
<state state_ref="oval:com.redhat.rhsa:ste:20040467003"/>
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20040467006" version="303" comment="samba-common is earlier than 0:3.0.7-1.3E" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.redhat.rhsa:obj:20040467004"/>
<state state_ref="oval:com.redhat.rhsa:ste:20040467002"/>
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20040467007" version="303" comment="samba-common is signed with Red Hat master key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.redhat.rhsa:obj:20040467004"/>
<state state_ref="oval:com.redhat.rhsa:ste:20040467003"/>
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20040467008" version="303" comment="samba-swat is earlier than 0:3.0.7-1.3E" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.redhat.rhsa:obj:20040467005"/>
<state state_ref="oval:com.redhat.rhsa:ste:20040467002"/>
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20040467009" version="303" comment="samba-swat is signed with Red Hat master key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
<object object_ref="oval:com.redhat.rhsa:obj:20040467005"/>
<state state_ref="oval:com.redhat.rhsa:ste:20040467003"/>
</rpminfo_test>

  </tests>
  <objects>
    <!-- ~~~~~~~~~~~~~~~~~~~~   rpminfo objects   ~~~~~~~~~~~~~~~~~~~~ --><rpminfo_object id="oval:com.redhat.rhsa:obj:20040467001" version="303" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <name>redhat-release</name>
</rpminfo_object>
<rpminfo_object id="oval:com.redhat.rhsa:obj:20040467002" version="303" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <name>samba</name>
</rpminfo_object>
<rpminfo_object id="oval:com.redhat.rhsa:obj:20040467003" version="303" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <name>samba-client</name>
</rpminfo_object>
<rpminfo_object id="oval:com.redhat.rhsa:obj:20040467004" version="303" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <name>samba-common</name>
</rpminfo_object>
<rpminfo_object id="oval:com.redhat.rhsa:obj:20040467005" version="303" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <name>samba-swat</name>
</rpminfo_object>

  </objects>
  <states>
    <!-- ~~~~~~~~~~~~~~~~~~~~   rpminfo states   ~~~~~~~~~~~~~~~~~~~~~ --><rpminfo_state id="oval:com.redhat.rhsa:ste:20040467001" version="303" 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:20040467002" version="303" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <evr datatype="evr_string" operation="less than">0:3.0.7-1.3E</evr>
</rpminfo_state>
<rpminfo_state id="oval:com.redhat.rhsa:ste:20040467003" version="303" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <signature_keyid operation="equals">219180cddb42a60e</signature_keyid>
</rpminfo_state>

  </states>
</oval_definitions>