<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="201311-11">
  <title>CTorrent: User-assisted arbitrary code execution</title>
  <synopsis>A stack-based buffer overflow in CTorrent might allow a remote
    attacker to execute arbitrary code or cause a Denial of Service condition.
  </synopsis>
  <product type="ebuild">ctorrent</product>
  <announced>2013-11-20</announced>
  <revised count="2">2013-11-22</revised>
  <bug>266953</bug>
  <access>remote</access>
  <affected>
    <package name="net-p2p/ctorrent" auto="yes" arch="*">
      <unaffected range="ge">3.3.2-r1</unaffected>
      <vulnerable range="lt">3.3.2-r1</vulnerable>
    </package>
  </affected>
  <background>
    <p>CTorrent is a BitTorrent client implemented in C++ to be lightweight and
      quick.
    </p>
  </background>
  <description>
    <p>CTorrent contains a stack-based buffer overflow in the
      btFiles::BuildFromMI function in trunk/btfiles.cpp. 
    </p>
  </description>
  <impact type="normal">
    <p>A remote attacker could entice a user to open a specially crafted
      torrent file using CTorrent, possibly resulting in execution of arbitrary
      code with the privileges of the process or a Denial of Service condition.
    </p>
  </impact>
  <workaround>
    <p>There is no known workaround at this time.</p>
  </workaround>
  <resolution>
    <p>All CTorrent users should upgrade to the latest version:</p>
    
    <code>
      # emerge --sync
      # emerge --ask --oneshot --verbose "&gt;=net-p2p/ctorrent-3.3.2-r1"
    </code>
    
  </resolution>
  <references>
    <uri link="https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2009-1759">
      CVE-2009-1759
    </uri>
  </references>
  <metadata tag="requester" timestamp="2011-10-07T23:37:38Z">
    underling
  </metadata>
  <metadata tag="submitter" timestamp="2013-11-22T10:00:47Z">Zlogene</metadata>
</glsa>
