<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200505-15">
  <title>gdb: Multiple vulnerabilities</title>
  <synopsis>
    Multiple vulnerabilities have been discovered in the GNU debugger,
    potentially allowing the execution of arbitrary code.
  </synopsis>
  <product type="ebuild">gdb</product>
  <announced>2005-05-20</announced>
  <revised count="02">2006-05-22</revised>
  <bug>88398</bug>
  <bug>91398</bug>
  <bug>91654</bug>
  <access>local</access>
  <affected>
    <package name="sys-devel/gdb" auto="yes" arch="*">
      <unaffected range="ge">6.3-r3</unaffected>
      <vulnerable range="lt">6.3-r3</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    gdb is the GNU project's debugger, facilitating the analysis and
    debugging of applications. The BFD library provides a uniform method of
    accessing a variety of object file formats.
    </p>
  </background>
  <description>
    <p>
    Tavis Ormandy of the Gentoo Linux Security Audit Team discovered an
    integer overflow in the BFD library, resulting in a heap overflow. A
    review also showed that by default, gdb insecurely sources
    initialisation files from the working directory.
    </p>
  </description>
  <impact type="normal">
    <p>
    Successful exploitation would result in the execution of arbitrary code
    on loading a specially crafted object file or the execution of
    arbitrary commands.
    </p>
  </impact>
  <workaround>
    <p>
    There is no known workaround at this time.
    </p>
  </workaround>
  <resolution>
    <p>
    All gdb users should upgrade to the latest stable version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "&gt;=sys-devel/gdb-6.3-r3"</code>
  </resolution>
  <references>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-1704">CVE-2005-1704</uri>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-1705">CVE-2005-1705</uri>
  </references>
  <metadata tag="requester" timestamp="2005-05-06T21:52:10Z">
    jaervosz
  </metadata>
  <metadata tag="submitter" timestamp="2005-05-07T04:11:43Z">
    r2d2
  </metadata>
  <metadata tag="bugReady" timestamp="2005-05-20T12:36:18Z">
    jaervosz
  </metadata>
</glsa>
