Skip to content
OpenAdvisories
Critical · 9.8 CVE-2013-7459 EUVD-2017-0102GHSA-cq27-v7xp-c356PYSEC-2017-94

Buffer Overflow in pycrypto

Published Feb 15, 2017 · Updated Aug 6, 2024 · Assigned by mitre

Description

Heap-based buffer overflow in the ALGnew function in block_templace.c in Python Cryptography Toolkit (aka pycrypto) allows remote attackers to execute arbitrary code as demonstrated by a crafted iv parameter to cryptmsg.py.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 7 python-crypto 2.6-4+deb7u4 DLA-773-1
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS python-crypto 2.6.1-6ubuntu0.16.04.1 USN-3199-2, USN-3199-1
Ubuntu 14.04 LTS python-crypto 2.6.1-4ubuntu0.1 USN-3199-2, USN-3199-1
ReleasePackageFixed inAdvisory
SLES 12 python-paramiko 1.15.2-2.6.1 SUSE-SU-2017:2350-1
SLES 12 python-pycrypto 2.6.1-10.3.1 SUSE-SU-2017:2350-1
SLES 11 SP4 python-pycrypto 2.6.1-5.1 SUSE-SU-2017:1744-1
SLES 11 SP3 python-pycrypto 2.6.1-5.1 SUSE-SU-2017:1744-1
Show 10 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SUSE OpenStack Cloud 7 python-pycrypto 2.6.1-10.3.1 SUSE-SU-2017:2350-1
SUSE OpenStack Cloud 6 python-paramiko 1.15.2-2.3.1 SUSE-SU-2017:2350-1
SUSE OpenStack Cloud 6 python-pycrypto 2.6.1-10.3.1 SUSE-SU-2017:2350-1
SUSE Manager Server 3.1 python-pycrypto 2.6.1-10.3.1 SUSE-SU-2017:2350-1
SUSE Manager Server 3.0 python-pycrypto 2.6.1-10.3.1 SUSE-SU-2017:2350-1
SUSE Manager Proxy 3.1 python-pycrypto 2.6.1-10.3.1 SUSE-SU-2017:2350-1
SUSE Manager Proxy 3.0 python-pycrypto 2.6.1-10.3.1 SUSE-SU-2017:2350-1
SUSE Manager Client Tools 12 python-pycrypto 2.6.1-10.3.1 SUSE-SU-2017:2350-1
SUSE Linux Enterprise Point of Sale 12 SP2 python-pycrypto 2.6.1-10.3.1 SUSE-SU-2017:2350-1
SUSE Enterprise Storage 4 python-pycrypto 2.6.1-10.3.1 SUSE-SU-2017:2350-1
SUSE Enterprise Storage 3 python-paramiko 1.15.2-2.3.1 SUSE-SU-2017:2350-1
SUSE Enterprise Storage 3 python-pycrypto 2.6.1-10.3.1 SUSE-SU-2017:2350-1

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI pycrypto <= 2.6.1 — GHSA-cq27-v7xp-c356
PyPI pycrypto all versions — PYSEC-2017-94

Advisories 6

References