<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200902-04">
  <title>xterm: User-assisted arbitrary commands execution</title>
  <synopsis>
    An error in the processing of special sequences in xterm may lead to
    arbitrary commands execution.
  </synopsis>
  <product type="ebuild">xterm</product>
  <announced>2009-02-12</announced>
  <revised count="01">2009-02-12</revised>
  <bug>253155</bug>
  <access>remote</access>
  <affected>
    <package name="x11-terms/xterm" auto="yes" arch="*">
      <unaffected range="ge">239</unaffected>
      <vulnerable range="lt">239</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    xterm is a terminal emulator for the X Window system.
    </p>
  </background>
  <description>
    <p>
    Paul Szabo reported an insufficient input sanitization when processing
    Device Control Request Status String (DECRQSS) sequences.
    </p>
  </description>
  <impact type="normal">
    <p>
    A remote attacker could entice a user to display a file containing
    specially crafted DECRQSS sequences, possibly resulting in the remote
    execution of arbitrary commands with the privileges of the user viewing
    the file.
    </p>
  </impact>
  <workaround>
    <p>
    There is no known workaround at this time.
    </p>
  </workaround>
  <resolution>
    <p>
    All xterm users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "&gt;=x11-terms/xterm-239"</code>
  </resolution>
  <references>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-2383">CVE-2008-2383</uri>
  </references>
  <metadata tag="requester" timestamp="2009-01-28T00:33:40Z">
    keytoaster
  </metadata>
  <metadata tag="submitter" timestamp="2009-02-10T10:22:45Z">
    p-y
  </metadata>
  <metadata tag="bugReady" timestamp="2009-02-10T10:22:57Z">
    p-y
  </metadata>
</glsa>
