<?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-02T09:37:25</oval:timestamp>
  </generator>

  <definitions>
    <definition id="oval:com.redhat.rhsa:def:20040323" version="502" class="patch">
      <metadata>
        <title>RHSA-2004:323: lha security update (Important)</title>
    <affected family="unix">
            <platform>Red Hat Enterprise Linux 3</platform>
         </affected>
    <reference source="RHSA" ref_id="RHSA-2004:323-01" ref_url="https://rhn.redhat.com/errata/RHSA-2004-323.html"/>
          <reference source="CVE" ref_id="CVE-2004-0769" ref_url="https://www.redhat.com/security/data/cve/CVE-2004-0769.html"/>
          <reference source="CVE" ref_id="CVE-2004-0771" ref_url="https://www.redhat.com/security/data/cve/CVE-2004-0771.html"/>
          <reference source="CVE" ref_id="CVE-2004-0694" ref_url="https://www.redhat.com/security/data/cve/CVE-2004-0694.html"/>
          <reference source="CVE" ref_id="CVE-2004-0745" ref_url="https://www.redhat.com/security/data/cve/CVE-2004-0745.html"/>
    
    <description>LHA is an archiving and compression utility for LHarc format archives.

Lukasz Wojtow discovered a stack-based buffer overflow in all versions
of lha up to and including version 1.14.  A carefully created archive could
allow an attacker to execute arbitrary code when a victim extracts or tests
the archive.  The Common Vulnerabilities and Exposures project
(cve.mitre.org) has assigned the name CAN-2004-0769 to this issue.

Buffer overflows were discovered in the command line processing of all
versions of lha up to and including version 1.14.  If a malicious user
could trick a victim into passing a specially crafted command line to the
lha command, it is possible that arbitrary code could be executed.  The
Common Vulnerabilities and Exposures project (cve.mitre.org) has assigned
the names CAN-2004-0771 and CAN-2004-0694 to these issues.

Thomas Biege discovered a shell meta character command execution
vulnerability in all versions of lha up to and including 1.14.  An attacker
could create a directory with shell meta characters in its name which could
lead to arbitrary command execution.  The Common Vulnerabilities and
Exposures project (cve.mitre.org) has assigned the name CAN-2004-0745 to
this issue.

Users of lha should update to this updated package which contains
backported patches and 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-01"/>
        <updated date="2004-09-01"/>
            <cve href="https://www.redhat.com/security/data/cve/CVE-2004-0769.html">CVE-2004-0769</cve>
            <cve href="https://www.redhat.com/security/data/cve/CVE-2004-0771.html">CVE-2004-0771</cve>
            <cve href="https://www.redhat.com/security/data/cve/CVE-2004-0694.html">CVE-2004-0694</cve>
            <cve href="https://www.redhat.com/security/data/cve/CVE-2004-0745.html">CVE-2004-0745</cve>
                <bugzilla href="http://bugzilla.redhat.com/126740" id="126740">CAN-2004-0694 Buffer overflow in lha (CAN-2004-0745, CAN-2004-0769, CAN-2004-0771)</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:20040323001" comment="Red Hat Enterprise Linux 3 is installed" /><criterion test_ref="oval:com.redhat.rhsa:tst:20040323002" comment="lha is earlier than 0:1.14i-10.4" /><criterion test_ref="oval:com.redhat.rhsa:tst:20040323003" comment="lha is signed with Red Hat master key" />
 
</criteria>

    </definition>
  </definitions>
  <tests>
    <!-- ~~~~~~~~~~~~~~~~~~~~~   rpminfo tests   ~~~~~~~~~~~~~~~~~~~~~ -->
    <rpminfo_test id="oval:com.redhat.rhsa:tst:20040323001"  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:20040323001" />
  <state state_ref="oval:com.redhat.rhsa:ste:20040323002" />
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20040323002"  version="502" comment="lha is earlier than 0:1.14i-10.4" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <object object_ref="oval:com.redhat.rhsa:obj:20040323002" />
  <state state_ref="oval:com.redhat.rhsa:ste:20040323003" />
</rpminfo_test>
<rpminfo_test id="oval:com.redhat.rhsa:tst:20040323003"  version="502" comment="lha 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:20040323002" />
  <state state_ref="oval:com.redhat.rhsa:ste:20040323001" />
</rpminfo_test>

  </tests>

  <objects>
    <!-- ~~~~~~~~~~~~~~~~~~~~   rpminfo objects   ~~~~~~~~~~~~~~~~~~~~ -->
    <rpminfo_object id="oval:com.redhat.rhsa:obj:20040323001"  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:20040323002"  version="502" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <name>lha</name>
</rpminfo_object>

  </objects>
  <states>
    <!-- ~~~~~~~~~~~~~~~~~~~~   rpminfo states   ~~~~~~~~~~~~~~~~~~~~~ -->
    <rpminfo_state id="oval:com.redhat.rhsa:ste:20040323001"  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:20040323002"  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:20040323003"  version="502" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
  <evr datatype="evr_string" operation="less than">0:1.14i-10.4</evr>
</rpminfo_state>

  </states>
</oval_definitions>

