<?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>2011-03-22T12:46:22</oval:timestamp>
  </generator>

  <definitions>
    <definition id="oval:com.redhat.rhsa:def:20071037" version="502" class="patch">
      <metadata>
        <title>RHSA-2007:1037: openldap security and enhancement update (Important)</title>
    <affected family="unix">
            <platform>Red Hat Enterprise Linux 5</platform>
         </affected>
    <reference source="RHSA" ref_id="RHSA-2007:1037-01" ref_url="https://rhn.redhat.com/errata/RHSA-2007-1037.html"/>
          <reference source="CVE" ref_id="CVE-2007-5707" ref_url="https://www.redhat.com/security/data/cve/CVE-2007-5707.html"/>
    
    <description>OpenLDAP is an open source suite of LDAP (Lightweight Directory Access
Protocol) applications and development tools.

A flaw was found in the way OpenLDAP's slapd daemon handled malformed
objectClasses LDAP attributes.  A local or remote attacker could create an
LDAP request which could cause a denial of service by crashing slapd.
(CVE-2007-5707)

In addition, the following feature was added: 
* OpenLDAP client tools now have new option to configure their bind timeout.

All users are advised to upgrade to these updated openldap packages, which
contain a backported patch to correct this issue and provide this security
enhancement.</description>

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

<advisory from="secalert@redhat.com">

        <severity>Important</severity>

        <rights>Copyright 2007 Red Hat, Inc.</rights>
        <issued date="2007-11-08"/>
        <updated date="2007-11-08"/>
            <cve href="https://www.redhat.com/security/data/cve/CVE-2007-5707.html">CVE-2007-5707</cve>
                <bugzilla href="http://bugzilla.redhat.com/359851" id="359851">CVE-2007-5707 openldap slapd DoS via objectClasses attribute</bugzilla>
        <affected_cpe_list>
            <cpe>cpe:/o:redhat:enterprise_linux</cpe>
        </affected_cpe_list>
</advisory>
      </metadata>
      <criteria operator="AND">
 <criterion test_ref="oval:com.redhat.rhsa:tst:20071037001" comment="Red Hat Enterprise Linux 5 is installed" />
 <criteria operator="OR">
 
 <criteria operator="AND">
 <criterion test_ref="oval:com.redhat.rhsa:tst:20071037008" comment="openldap-devel is earlier than 0:2.3.27-8.el5_1.1" /><criterion test_ref="oval:com.redhat.rhsa:tst:20071037009" comment="openldap-devel is signed with Red Hat redhatrelease key" />
 
</criteria>
<criteria operator="AND">
 <criterion test_ref="oval:com.redhat.rhsa:tst:20071037004" comment="openldap-clients is earlier than 0:2.3.27-8.el5_1.1" /><criterion test_ref="oval:com.redhat.rhsa:tst:20071037005" comment="openldap-clients is signed with Red Hat redhatrelease key" />
 
</criteria>
<criteria operator="AND">
 <criterion test_ref="oval:com.redhat.rhsa:tst:20071037012" comment="openldap-servers-sql is earlier than 0:2.3.27-8.el5_1.1" /><criterion test_ref="oval:com.redhat.rhsa:tst:20071037013" comment="openldap-servers-sql is signed with Red Hat redhatrelease key" />
 
</criteria>
<criteria operator="AND">
 <criterion test_ref="oval:com.redhat.rhsa:tst:20071037010" comment="compat-openldap is earlier than 0:2.3.27_2.2.29-8.el5_1.1" /><criterion test_ref="oval:com.redhat.rhsa:tst:20071037011" comment="compat-openldap is signed with Red Hat redhatrelease key" />
 
</criteria>
<criteria operator="AND">
 <criterion test_ref="oval:com.redhat.rhsa:tst:20071037002" comment="openldap is earlier than 0:2.3.27-8.el5_1.1" /><criterion test_ref="oval:com.redhat.rhsa:tst:20071037003" comment="openldap is signed with Red Hat redhatrelease key" />
 
</criteria>
<criteria operator="AND">
 <criterion test_ref="oval:com.redhat.rhsa:tst:20071037006" comment="openldap-servers is earlier than 0:2.3.27-8.el5_1.1" /><criterion test_ref="oval:com.redhat.rhsa:tst:20071037007" comment="openldap-servers is signed with Red Hat redhatrelease key" />
 
</criteria>

</criteria>

</criteria>

    </definition>
  </definitions>
  <tests>
    <!-- ~~~~~~~~~~~~~~~~~~~~~   rpminfo tests   ~~~~~~~~~~~~~~~~~~~~~ -->
    <rpminfo_test id="oval:com.redhat.rhsa:tst:20071037001"  version="502" comment="Red Hat Enterprise Linux 5 is installed" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <object object_ref="oval:com.redhat.rhsa:obj:20071037001" />
  <state state_ref="oval:com.redhat.rhsa:ste:20071037002" />
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20071037002"  version="502" comment="openldap is earlier than 0:2.3.27-8.el5_1.1" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <object object_ref="oval:com.redhat.rhsa:obj:20071037002" />
  <state state_ref="oval:com.redhat.rhsa:ste:20071037003" />
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20071037003"  version="502" comment="openldap is signed with Red Hat redhatrelease key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <object object_ref="oval:com.redhat.rhsa:obj:20071037002" />
  <state state_ref="oval:com.redhat.rhsa:ste:20071037001" />
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20071037004"  version="502" comment="openldap-clients is earlier than 0:2.3.27-8.el5_1.1" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <object object_ref="oval:com.redhat.rhsa:obj:20071037003" />
  <state state_ref="oval:com.redhat.rhsa:ste:20071037003" />
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20071037005"  version="502" comment="openldap-clients is signed with Red Hat redhatrelease key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <object object_ref="oval:com.redhat.rhsa:obj:20071037003" />
  <state state_ref="oval:com.redhat.rhsa:ste:20071037001" />
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20071037006"  version="502" comment="openldap-servers is earlier than 0:2.3.27-8.el5_1.1" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <object object_ref="oval:com.redhat.rhsa:obj:20071037004" />
  <state state_ref="oval:com.redhat.rhsa:ste:20071037003" />
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20071037007"  version="502" comment="openldap-servers is signed with Red Hat redhatrelease key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <object object_ref="oval:com.redhat.rhsa:obj:20071037004" />
  <state state_ref="oval:com.redhat.rhsa:ste:20071037001" />
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20071037008"  version="502" comment="openldap-devel is earlier than 0:2.3.27-8.el5_1.1" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <object object_ref="oval:com.redhat.rhsa:obj:20071037005" />
  <state state_ref="oval:com.redhat.rhsa:ste:20071037003" />
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20071037009"  version="502" comment="openldap-devel is signed with Red Hat redhatrelease key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <object object_ref="oval:com.redhat.rhsa:obj:20071037005" />
  <state state_ref="oval:com.redhat.rhsa:ste:20071037001" />
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20071037010"  version="502" comment="compat-openldap is earlier than 0:2.3.27_2.2.29-8.el5_1.1" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <object object_ref="oval:com.redhat.rhsa:obj:20071037006" />
  <state state_ref="oval:com.redhat.rhsa:ste:20071037004" />
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20071037011"  version="502" comment="compat-openldap is signed with Red Hat redhatrelease key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <object object_ref="oval:com.redhat.rhsa:obj:20071037006" />
  <state state_ref="oval:com.redhat.rhsa:ste:20071037001" />
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20071037012"  version="502" comment="openldap-servers-sql is earlier than 0:2.3.27-8.el5_1.1" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <object object_ref="oval:com.redhat.rhsa:obj:20071037007" />
  <state state_ref="oval:com.redhat.rhsa:ste:20071037003" />
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20071037013"  version="502" comment="openldap-servers-sql is signed with Red Hat redhatrelease key" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <object object_ref="oval:com.redhat.rhsa:obj:20071037007" />
  <state state_ref="oval:com.redhat.rhsa:ste:20071037001" />
</rpminfo_test>

  </tests>

  <objects>
    <!-- ~~~~~~~~~~~~~~~~~~~~   rpminfo objects   ~~~~~~~~~~~~~~~~~~~~ -->
    <rpminfo_object id="oval:com.redhat.rhsa:obj:20071037005"  version="502" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <name>openldap-devel</name>
</rpminfo_object>
<rpminfo_object id="oval:com.redhat.rhsa:obj:20071037003"  version="502" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <name>openldap-clients</name>
</rpminfo_object>
<rpminfo_object id="oval:com.redhat.rhsa:obj:20071037007"  version="502" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <name>openldap-servers-sql</name>
</rpminfo_object>
<rpminfo_object id="oval:com.redhat.rhsa:obj:20071037001"  version="502" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <name>redhat-release</name>
</rpminfo_object>
<rpminfo_object id="oval:com.redhat.rhsa:obj:20071037006"  version="502" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <name>compat-openldap</name>
</rpminfo_object>
<rpminfo_object id="oval:com.redhat.rhsa:obj:20071037002"  version="502" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <name>openldap</name>
</rpminfo_object>
<rpminfo_object id="oval:com.redhat.rhsa:obj:20071037004"  version="502" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <name>openldap-servers</name>
</rpminfo_object>

  </objects>
  <states>
    <!-- ~~~~~~~~~~~~~~~~~~~~   rpminfo states   ~~~~~~~~~~~~~~~~~~~~~ -->
    <rpminfo_state id="oval:com.redhat.rhsa:ste:20071037001"  version="502" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <signature_keyid  operation="equals">5326810137017186</signature_keyid>
</rpminfo_state>
<rpminfo_state id="oval:com.redhat.rhsa:ste:20071037002"  version="502" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <version  operation="pattern match">^5[^[:digit:]]</version>
</rpminfo_state>
<rpminfo_state id="oval:com.redhat.rhsa:ste:20071037003"  version="502" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <evr datatype="evr_string" operation="less than">0:2.3.27-8.el5_1.1</evr>
</rpminfo_state>
<rpminfo_state id="oval:com.redhat.rhsa:ste:20071037004"  version="502" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <evr datatype="evr_string" operation="less than">0:2.3.27_2.2.29-8.el5_1.1</evr>
</rpminfo_state>

  </states>
</oval_definitions>

