<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200511-02">
  <title>QDBM, ImageMagick, GDAL: RUNPATH issues</title>
  <synopsis>
    Multiple packages suffer from RUNPATH issues that may allow users in the
    "portage" group to escalate privileges.
  </synopsis>
  <product type="ebuild">QDBM ImageMagick GDAL</product>
  <announced>2005-11-02</announced>
  <revised count="02">2006-05-22</revised>
  <bug>105717</bug>
  <bug>105760</bug>
  <bug>108534</bug>
  <access>local</access>
  <affected>
    <package name="dev-db/qdbm" auto="yes" arch="*">
      <unaffected range="ge">1.8.33-r2</unaffected>
      <vulnerable range="lt">1.8.33-r2</vulnerable>
    </package>
    <package name="media-gfx/imagemagick" auto="yes" arch="*">
      <unaffected range="ge">6.2.4.2-r1</unaffected>
      <vulnerable range="lt">6.2.4.2-r1</vulnerable>
    </package>
    <package name="sci-libs/gdal" auto="yes" arch="*">
      <unaffected range="ge">1.3.0-r1</unaffected>
      <unaffected range="rge">1.2.6-r4</unaffected>
      <vulnerable range="lt">1.3.0-r1</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    QDBM is a library of routines for managing a database. ImageMagick is a
    collection of tools to read, write and manipulate images. GDAL is a
    geospatial data abstraction library.
    </p>
  </background>
  <description>
    <p>
    Some packages may introduce insecure paths into the list of directories
    that are searched for libraries at runtime. Furthermore, packages
    depending on the MakeMaker Perl module for build configuration may have
    incorrectly copied the LD_RUN_PATH into the DT_RPATH.
    </p>
  </description>
  <impact type="low">
    <p>
    A local attacker, who is a member of the "portage" group, could create
    a malicious shared object in the Portage temporary build directory that
    would be loaded at runtime by a dependent executable, potentially
    resulting in privilege escalation.
    </p>
  </impact>
  <workaround>
    <p>
    Only grant "portage" group rights to trusted users.
    </p>
  </workaround>
  <resolution>
    <p>
    All QDBM users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "&gt;=dev-db/qdbm-1.8.33-r2"</code>
    <p>
    All ImageMagick users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "&gt;=media-gfx/imagemagick-6.2.4.2-r1"</code>
    <p>
    All GDAL users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose sci-libs/gdal</code>
  </resolution>
  <references>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-3580">CVE-2005-3580</uri>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-3581">CVE-2005-3581</uri>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-3582">CVE-2005-3582</uri>
  </references>
  <metadata tag="submitter" timestamp="2005-10-15T10:06:06Z">
    koon
  </metadata>
  <metadata tag="bugReady" timestamp="2005-11-01T13:10:18Z">
    koon
  </metadata>
</glsa>
