<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200807-14">
  <title>Linux Audit: Buffer overflow</title>
  <synopsis>
    A buffer overflow vulnerability in Linux Audit may allow local attackers to
    execute arbitrary code.
  </synopsis>
  <product type="ebuild">audit</product>
  <announced>2008-07-31</announced>
  <revised count="01">2008-07-31</revised>
  <bug>215705</bug>
  <access>local</access>
  <affected>
    <package name="sys-process/audit" auto="yes" arch="*">
      <unaffected range="ge">1.7.3</unaffected>
      <vulnerable range="lt">1.7.3</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    Linux Audit is a set of userspace utilities for storing and processing
    auditing records.
    </p>
  </background>
  <description>
    <p>
    A stack-based buffer overflow has been reported in the
    audit_log_user_command() function in the file lib/audit_logging.c when
    processing overly long arguments.
    </p>
  </description>
  <impact type="normal">
    <p>
    A local attacker could execute a specially crafted command on the host
    running Linux Audit, possibly resulting in the execution of arbitrary
    code with the privileges of the user running Linux Audit.
    </p>
  </impact>
  <workaround>
    <p>
    There is no known workaround at this time.
    </p>
  </workaround>
  <resolution>
    <p>
    All Linux Audit users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "&gt;=sys-process/audit-1.7.3"</code>
  </resolution>
  <references>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-1628">CVE-2008-1628</uri>
  </references>
  <metadata tag="submitter" timestamp="2008-07-21T20:07:20Z">
    p-y
  </metadata>
  <metadata tag="bugReady" timestamp="2008-07-21T20:07:28Z">
    p-y
  </metadata>
</glsa>
