Gentoo Logo

PyCrypto: Execution of arbitrary code


1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200903-11 / pycrypto
Release Date March 09, 2009
Latest Revision March 09, 2009: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
dev-python/pycrypto < 2.0.1-r8 >= 2.0.1-r8 All supported architectures

Related bugreports: #258049


A buffer overflow in PyCrypto might lead to the execution of arbitrary code when decrypting using ARC2.

2.  Impact Information


PyCrypto is the Python Cryptography Toolkit.


Mike Wiacek of the Google Security Team reported a buffer overflow in the ARC2 module when processing a large ARC2 key length.


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.

3.  Resolution Information


There is no known workaround at this time.


All PyCrypto users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-python/pycrypto-2.0.1-r8"

4.  References


Page updated March 09, 2009

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2015 Gentoo Foundation, Inc. Questions, Comments? Contact us.