<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200608-27">
  <title>Motor: Execution of arbitrary code</title>
  <synopsis>
    Motor uses a vulnerable ktools library, which could lead to the execution
    of arbitrary code.
  </synopsis>
  <product type="ebuild">motor</product>
  <announced>2006-08-29</announced>
  <revised count="01">2006-08-29</revised>
  <bug>135020</bug>
  <access>remote</access>
  <affected>
    <package name="dev-util/motor" auto="yes" arch="*">
      <unaffected range="rge">3.3.0-r1</unaffected>
      <unaffected range="ge">3.4.0-r1</unaffected>
      <vulnerable range="lt">3.4.0-r1</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    Motor is a text mode based programming environment for Linux, with a
    syntax highlighting feature, project manager, makefile generator, gcc
    and gdb front-end, and CVS integration.
    </p>
  </background>
  <description>
    <p>
    In November 2005, Zone-H Research reported a boundary error in the
    ktools library in the VGETSTRING() macro of kkstrtext.h, which may
    cause a buffer overflow via an overly long input string.
    </p>
  </description>
  <impact type="normal">
    <p>
    A remote attacker could entice a user to use a malicious file or input,
    which could lead to the crash of Motor and possibly the execution of
    arbitrary code.
    </p>
  </impact>
  <workaround>
    <p>
    There is no known workaround at this time.
    </p>
  </workaround>
  <resolution>
    <p>
    All Motor 3.3.x users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "&gt;=dev-util/motor-3.3.0-r1"</code>
    <p>
    All motor 3.4.x users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "&gt;=dev-util/motor-3.4.0-r1"</code>
  </resolution>
  <references>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-3863">CVE-2005-3863</uri>
  </references>
  <metadata tag="requester" timestamp="2006-08-23T15:20:34Z">
    jaervosz
  </metadata>
  <metadata tag="bugReady" timestamp="2006-08-26T14:27:17Z">
    falco
  </metadata>
  <metadata tag="submitter" timestamp="2006-08-26T15:28:41Z">
    falco
  </metadata>
</glsa>
