GLSA-201206-23 : PyCrypto: Weak key generation

This script is Copyright (C) 2012-2014 Tenable Network Security, Inc.


Synopsis :

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

Description :

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

An error in the generate() function in ElGamal.py 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.

See also :

http://www.gentoo.org/security/en/glsa/glsa-201206-23.xml

Solution :

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

Risk factor :

Medium / CVSS Base Score : 4.3
(CVSS2#AV:N/AC:M/Au:N/C:N/I:P/A:N)
CVSS Temporal Score : 3.2
(CVSS2#E:U/RL:OF/RC:C)
Public Exploit Available : false

Family: Gentoo Local Security Checks

Nessus Plugin ID: 59676 ()

Bugtraq ID: 53687

CVE ID: CVE-2012-2417