GLSA-201206-23 : PyCrypto: Weak key generation

Medium Nessus Plugin ID 59676


The remote Gentoo host is missing one or more security-related patches.


The remote host is affected by the vulnerability described in GLSA-201206-23 (PyCrypto: Weak key generation)

An error in the generate() function in causes PyCrypto to generate weak ElGamal keys.
Impact :

A remote attacker might be able to derive private keys.
Workaround :

There is no known workaround at this time.


All PyCrypto users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=dev-python/pycrypto-2.6'

See Also

Plugin Details

Severity: Medium

ID: 59676

File Name: gentoo_GLSA-201206-23.nasl

Version: $Revision: 1.6 $

Type: local

Published: 2012/06/25

Modified: 2016/05/16

Dependencies: 12634

Risk Information

Risk Factor: Medium


Base Score: 4.3

Temporal Score: 3.7

Vector: CVSS2#AV:N/AC:M/Au:N/C:N/I:P/A:N

Temporal Vector: CVSS2#E:ND/RL:OF/RC:C

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:pycrypto, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Exploit Available: false

Exploit Ease: No known exploits are available

Patch Publication Date: 2012/06/24

Reference Information

CVE: CVE-2012-2417

BID: 53687

OSVDB: 82279

GLSA: 201206-23