<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="200903-11">
  <title>PyCrypto: Execution of arbitrary code</title>
  <synopsis>
    A buffer overflow in PyCrypto might lead to the execution of arbitrary code
    when decrypting using ARC2.
  </synopsis>
  <product type="ebuild">pycrypto</product>
  <announced>2009-03-09</announced>
  <revised count="01">2009-03-09</revised>
  <bug>258049</bug>
  <access>remote</access>
  <affected>
    <package name="dev-python/pycrypto" auto="yes" arch="*">
      <unaffected range="ge">2.0.1-r8</unaffected>
      <vulnerable range="lt">2.0.1-r8</vulnerable>
    </package>
  </affected>
  <background>
    <p>
    PyCrypto is the Python Cryptography Toolkit.
    </p>
  </background>
  <description>
    <p>
    Mike Wiacek of the Google Security Team reported a buffer overflow in
    the ARC2 module when processing a large ARC2 key length.
    </p>
  </description>
  <impact type="normal">
    <p>
    A remote attacker could entice a user or automated system to decrypt an
    ARC2 stream in an application using PyCrypto, possibly resulting in the
    execution of arbitrary code or a Denial of Service.
    </p>
  </impact>
  <workaround>
    <p>
    There is no known workaround at this time.
    </p>
  </workaround>
  <resolution>
    <p>
    All PyCrypto users should upgrade to the latest version:
    </p>
    <code>
    # emerge --sync
    # emerge --ask --oneshot --verbose "&gt;=dev-python/pycrypto-2.0.1-r8"</code>
  </resolution>
  <references>
    <uri link="https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-0544">CVE-2009-0544</uri>
  </references>
  <metadata tag="requester" timestamp="2009-03-07T16:35:09Z">
    rbu
  </metadata>
  <metadata tag="submitter" timestamp="2009-03-07T18:22:46Z">
    rbu
  </metadata>
  <metadata tag="bugReady" timestamp="2009-03-07T18:24:44Z">
    rbu
  </metadata>
</glsa>
