<?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-05-02T14:34:27</oval:timestamp>
  </generator>

  <definitions>
    <definition id="oval:com.redhat.rhsa:def:20050881" version="502" class="patch">
      <metadata>
        <title>RHSA-2005:881: perl security update (Moderate)</title>
    <affected family="unix">
            <platform>Red Hat Enterprise Linux 3</platform>
         </affected>
    <reference source="RHSA" ref_id="RHSA-2005:881-01" ref_url="https://rhn.redhat.com/errata/RHSA-2005-881.html"/>
          <reference source="CVE" ref_id="CVE-2004-0976" ref_url="https://www.redhat.com/security/data/cve/CVE-2004-0976.html"/>
          <reference source="CVE" ref_id="CVE-2005-0448" ref_url="https://www.redhat.com/security/data/cve/CVE-2005-0448.html"/>
          <reference source="CVE" ref_id="CVE-2005-3962" ref_url="https://www.redhat.com/security/data/cve/CVE-2005-3962.html"/>
    
    <description>Perl is a high-level programming language commonly used for system
administration utilities and Web programming.

An integer overflow bug was found in Perl's format string processor.  It is
possible for an attacker to cause perl to crash or execute arbitrary code
if the attacker is able to process a malicious format string.  This issue
is only exploitable through a script wich passes arbitrary untrusted
strings to the format string processor.  The Common Vulnerabilities and
Exposures project assigned the name CVE-2005-3962 to this issue.

Paul Szabo discovered a bug in the way Perl's File::Path::rmtree module
removed directory trees.  If a local user has write permissions to a
subdirectory within the tree being removed by File::Path::rmtree, it is
possible for them to create setuid binary files.  (CVE-2005-0448)

Solar Designer discovered several temporary file bugs in various Perl
modules.  A local attacker could overwrite or create files as the user
running a Perl script that uses a vulnerable module.  (CVE-2004-0976)

Users of Perl are advised to upgrade to these updated packages, which
contain backported patches to correct these issues as well as fixes for
several bugs.</description>

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

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

        <severity>Moderate</severity>

        <rights>Copyright 2005 Red Hat, Inc.</rights>
        <issued date="2005-12-20"/>
        <updated date="2005-12-20"/>
            <cve href="https://www.redhat.com/security/data/cve/CVE-2004-0976.html">CVE-2004-0976</cve>
            <cve href="https://www.redhat.com/security/data/cve/CVE-2005-0448.html">CVE-2005-0448</cve>
            <cve href="https://www.redhat.com/security/data/cve/CVE-2005-3962.html">CVE-2005-3962</cve>
                <bugzilla href="http://bugzilla.redhat.com/123176" id="123176">[RFE] Need new perl rpm release that fixes threaded memory leak</bugzilla>
            <bugzilla href="http://bugzilla.redhat.com/135975" id="135975">Perl's 'study' function breaks regexp matching</bugzilla>
            <bugzilla href="http://bugzilla.redhat.com/136325" id="136325">CVE-2004-0976 temporary file vulnerabilities in Perl</bugzilla>
            <bugzilla href="http://bugzilla.redhat.com/137075" id="137075">Apparent utf8 bug in Perl's join()</bugzilla>
            <bugzilla href="http://bugzilla.redhat.com/145215" id="145215">garbage after split()</bugzilla>
            <bugzilla href="http://bugzilla.redhat.com/147946" id="147946">Man::Pod does not return true</bugzilla>
            <bugzilla href="http://bugzilla.redhat.com/161053" id="161053">CVE-2005-0448 perl File::Path.pm rmtree race condition</bugzilla>
            <bugzilla href="http://bugzilla.redhat.com/165078" id="165078">Broken POSIX in perl-5.8.0</bugzilla>
            <bugzilla href="http://bugzilla.redhat.com/166732" id="166732">'split'/'index' problem for utf8</bugzilla>
            <bugzilla href="http://bugzilla.redhat.com/172160" id="172160">perl bug # 22372: SIGSEGV in sv_chop()</bugzilla>
            <bugzilla href="http://bugzilla.redhat.com/172256" id="172256">bits/resource.ph has syntax errors</bugzilla>
            <bugzilla href="http://bugzilla.redhat.com/172317" id="172317">(libperl) could not run system-config-printer</bugzilla>
            <bugzilla href="http://bugzilla.redhat.com/174717" id="174717">CVE-2005-3962 Perl integer overflow issue</bugzilla>
            <bugzilla href="http://bugzilla.redhat.com/175135" id="175135">Cannot set undef timeout in perl 5.8.0 IO::Socket</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:20050881001" comment="Red Hat Enterprise Linux 3 is installed" />
 <criteria operator="OR">
 
 <criteria operator="AND">
 <criterion test_ref="oval:com.redhat.rhsa:tst:20050881006" comment="perl-CGI is earlier than 2:2.89-90.4" /><criterion test_ref="oval:com.redhat.rhsa:tst:20050881007" comment="perl-CGI is signed with Red Hat master key" />
 
</criteria>
<criteria operator="AND">
 <criterion test_ref="oval:com.redhat.rhsa:tst:20050881008" comment="perl-DB_File is earlier than 2:1.806-90.4" /><criterion test_ref="oval:com.redhat.rhsa:tst:20050881009" comment="perl-DB_File is signed with Red Hat master key" />
 
</criteria>
<criteria operator="AND">
 <criterion test_ref="oval:com.redhat.rhsa:tst:20050881010" comment="perl-suidperl is earlier than 2:5.8.0-90.4" /><criterion test_ref="oval:com.redhat.rhsa:tst:20050881011" comment="perl-suidperl is signed with Red Hat master key" />
 
</criteria>
<criteria operator="AND">
 <criterion test_ref="oval:com.redhat.rhsa:tst:20050881004" comment="perl-CPAN is earlier than 2:1.61-90.4" /><criterion test_ref="oval:com.redhat.rhsa:tst:20050881005" comment="perl-CPAN is signed with Red Hat master key" />
 
</criteria>
<criteria operator="AND">
 <criterion test_ref="oval:com.redhat.rhsa:tst:20050881002" comment="perl is earlier than 2:5.8.0-90.4" /><criterion test_ref="oval:com.redhat.rhsa:tst:20050881003" comment="perl is signed with Red Hat master key" />
 
</criteria>

</criteria>

</criteria>

    </definition>
  </definitions>
  <tests>
    <!-- ~~~~~~~~~~~~~~~~~~~~~   rpminfo tests   ~~~~~~~~~~~~~~~~~~~~~ -->
    <rpminfo_test id="oval:com.redhat.rhsa:tst:20050881001"  version="502" comment="Red Hat Enterprise Linux 3 is installed" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <object object_ref="oval:com.redhat.rhsa:obj:20050881001" />
  <state state_ref="oval:com.redhat.rhsa:ste:20050881002" />
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20050881002"  version="502" comment="perl is earlier than 2:5.8.0-90.4" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <object object_ref="oval:com.redhat.rhsa:obj:20050881002" />
  <state state_ref="oval:com.redhat.rhsa:ste:20050881003" />
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20050881003"  version="502" comment="perl 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:20050881002" />
  <state state_ref="oval:com.redhat.rhsa:ste:20050881001" />
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20050881004"  version="502" comment="perl-CPAN is earlier than 2:1.61-90.4" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <object object_ref="oval:com.redhat.rhsa:obj:20050881003" />
  <state state_ref="oval:com.redhat.rhsa:ste:20050881004" />
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20050881005"  version="502" comment="perl-CPAN 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:20050881003" />
  <state state_ref="oval:com.redhat.rhsa:ste:20050881001" />
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20050881006"  version="502" comment="perl-CGI is earlier than 2:2.89-90.4" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <object object_ref="oval:com.redhat.rhsa:obj:20050881004" />
  <state state_ref="oval:com.redhat.rhsa:ste:20050881005" />
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20050881007"  version="502" comment="perl-CGI 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:20050881004" />
  <state state_ref="oval:com.redhat.rhsa:ste:20050881001" />
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20050881008"  version="502" comment="perl-DB_File is earlier than 2:1.806-90.4" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <object object_ref="oval:com.redhat.rhsa:obj:20050881005" />
  <state state_ref="oval:com.redhat.rhsa:ste:20050881006" />
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20050881009"  version="502" comment="perl-DB_File 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:20050881005" />
  <state state_ref="oval:com.redhat.rhsa:ste:20050881001" />
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20050881010"  version="502" comment="perl-suidperl is earlier than 2:5.8.0-90.4" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <object object_ref="oval:com.redhat.rhsa:obj:20050881006" />
  <state state_ref="oval:com.redhat.rhsa:ste:20050881003" />
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20050881011"  version="502" comment="perl-suidperl 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:20050881006" />
  <state state_ref="oval:com.redhat.rhsa:ste:20050881001" />
</rpminfo_test>

  </tests>

  <objects>
    <!-- ~~~~~~~~~~~~~~~~~~~~   rpminfo objects   ~~~~~~~~~~~~~~~~~~~~ -->
    <rpminfo_object id="oval:com.redhat.rhsa:obj:20050881004"  version="502" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <name>perl-CGI</name>
</rpminfo_object>
<rpminfo_object id="oval:com.redhat.rhsa:obj:20050881005"  version="502" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <name>perl-DB_File</name>
</rpminfo_object>
<rpminfo_object id="oval:com.redhat.rhsa:obj:20050881006"  version="502" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <name>perl-suidperl</name>
</rpminfo_object>
<rpminfo_object id="oval:com.redhat.rhsa:obj:20050881001"  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:20050881003"  version="502" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <name>perl-CPAN</name>
</rpminfo_object>
<rpminfo_object id="oval:com.redhat.rhsa:obj:20050881002"  version="502" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <name>perl</name>
</rpminfo_object>

  </objects>
  <states>
    <!-- ~~~~~~~~~~~~~~~~~~~~   rpminfo states   ~~~~~~~~~~~~~~~~~~~~~ -->
    <rpminfo_state id="oval:com.redhat.rhsa:ste:20050881001"  version="502" 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:20050881002"  version="502" 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:20050881003"  version="502" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <evr datatype="evr_string" operation="less than">2:5.8.0-90.4</evr>
</rpminfo_state>
<rpminfo_state id="oval:com.redhat.rhsa:ste:20050881004"  version="502" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <evr datatype="evr_string" operation="less than">2:1.61-90.4</evr>
</rpminfo_state>
<rpminfo_state id="oval:com.redhat.rhsa:ste:20050881005"  version="502" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <evr datatype="evr_string" operation="less than">2:2.89-90.4</evr>
</rpminfo_state>
<rpminfo_state id="oval:com.redhat.rhsa:ste:20050881006"  version="502" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <evr datatype="evr_string" operation="less than">2:1.806-90.4</evr>
</rpminfo_state>

  </states>
</oval_definitions>


