<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200503-01">
  <title>Qt: Untrusted library search path</title>
  <synopsis>
    Qt may load shared libraries from an untrusted, world-writable directory,
    resulting in the execution of arbitrary code.
  </synopsis>
  <product type="ebuild">qt</product>
  <announced>2005-03-01</announced>
  <revised count="02">2006-05-22</revised>
  <bug>75181</bug>
  <access>local</access>
  <affected>
    <package name="x11-libs/qt" auto="yes" arch="*">
      <unaffected range="ge">3.3.4-r2</unaffected>
      <vulnerable range="lt">3.3.4-r2</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    Qt is a cross-platform GUI toolkit used by KDE.
    </p>
  </background>
  <description>
    <p>
    Tavis Ormandy of the Gentoo Linux Security Audit Team has discovered
    that Qt searches for shared libraries in an untrusted, world-writable
    directory.
    </p>
  </description>
  <impact type="normal">
    <p>
    A local attacker could create a malicious shared object that would be
    loaded by Qt, resulting in the execution of arbitrary code with the
    privileges of the Qt application.
    </p>
  </impact>
  <workaround>
    <p>
    There is no known workaround at this time.
    </p>
  </workaround>
  <resolution>
    <p>
    All Qt users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "&gt;=x11-libs/qt-3.3.4-r2"</code>
  </resolution>
  <references>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-0627">CVE-2005-0627</uri>
  </references>
  <metadata tag="submitter" timestamp="2005-02-15T06:13:07Z">
    jaervosz
  </metadata>
  <metadata tag="bugReady" timestamp="2005-03-01T12:59:58Z">
    jaervosz
  </metadata>
</glsa>
