Skip to content
OpenAdvisories
Medium · 5.3 CVE-2012-2417 EUVD-2012-0026GHSA-v367-p58w-98h5PYSEC-2012-16

PyCrypto makes Use of Insufficiently Random Values

Published Jun 17, 2012 · Updated Aug 6, 2024 · Assigned by mitre

Description

PyCrypto before 2.6 does not produce appropriate prime numbers when using an ElGamal scheme to generate a key, which reduces the signature space or public key space and makes it easier for attackers to conduct brute force attacks to obtain the private key.

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 6.0 python-crypto 2.1.0-2+squeeze1 DSA-2502-1

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI pycrypto < 2.6 2.6 GHSA-v367-p58w-98h5

Advisories 1

References