Executive Summary

Summary
Title PyCrypto: Weak key generation
Informations
Name GLSA-201206-23 First vendor Publication 2012-06-24
Vendor Gentoo Last vendor Modification 2012-06-24
Severity (Vendor) Normal Revision N/A

Security-Database Scoring CVSS v3

Cvss vector : N/A
Overall CVSS Score NA
Base Score NA Environmental Score NA
impact SubScore NA Temporal Score NA
Exploitabality Sub Score NA
 
Calculate full CVSS 3.0 Vectors scores

Security-Database Scoring CVSS v2

Cvss vector : (AV:N/AC:M/Au:N/C:N/I:P/A:N)
Cvss Base Score 4.3 Attack Range Network
Cvss Impact Score 2.9 Attack Complexity Medium
Cvss Expoit Score 8.6 Authentication None Required
Calculate full CVSS 2.0 Vectors scores

Detail

Synopsis

PyCrypto generates weak ElGamal keys.

Background

PyCrypto is the Python Cryptography Toolkit.

Description

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.

Resolution

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

References

[ 1 ] CVE-2012-2417 : http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-2417

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website:

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

Original Source

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

CWE : Common Weakness Enumeration

% Id Name
100 % CWE-310 Cryptographic Issues

OVAL Definitions

Definition Id: oval:org.mitre.oval:def:17796
 
Oval ID: oval:org.mitre.oval:def:17796
Title: USN-1484-1 -- python-crypto vulnerability
Description: PyCrypto improperly created ElGamal encryption keys.
Family: unix Class: patch
Reference(s): USN-1484-1
CVE-2012-2417
Version: 7
Platform(s): Ubuntu 12.04
Ubuntu 11.10
Ubuntu 11.04
Ubuntu 10.04
Product(s): python-crypto
Definition Synopsis:
Definition Id: oval:org.mitre.oval:def:19657
 
Oval ID: oval:org.mitre.oval:def:19657
Title: DSA-2502-1 python-crypto - programming error
Description: It was discovered that that the ElGamal code in PythonCrypto, a collection of cryptographic algorithms and protocols for Python used insecure insufficient prime numbers in key generation, which lead to a weakened signature or public key space, allowing easier brute force attacks on such keys.
Family: unix Class: patch
Reference(s): DSA-2502-1
CVE-2012-2417
Version: 5
Platform(s): Debian GNU/Linux 6.0
Debian GNU/kFreeBSD 6.0
Product(s): python-crypto
Definition Synopsis:

CPE : Common Platform Enumeration

TypeDescriptionCount
Application 21

OpenVAS Exploits

Date Description
2012-08-30 Name : Fedora Update for python-crypto FEDORA-2012-8392
File : nvt/gb_fedora_2012_8392_python-crypto_fc17.nasl
2012-08-10 Name : Debian Security Advisory DSA 2502-1 (python-crypto)
File : nvt/deb_2502_1.nasl
2012-08-10 Name : FreeBSD Ports: py-pycrypto
File : nvt/freebsd_py-pycrypto0.nasl
2012-08-10 Name : Gentoo Security Advisory GLSA 201206-23 (pycrypto)
File : nvt/glsa_201206_23.nasl
2012-07-30 Name : Mandriva Update for python-pycrypto MDVSA-2012:117 (python-pycrypto)
File : nvt/gb_mandriva_MDVSA_2012_117.nasl
2012-07-03 Name : Ubuntu Update for python-crypto USN-1484-1
File : nvt/gb_ubuntu_USN_1484_1.nasl
2012-06-04 Name : Fedora Update for python-crypto FEDORA-2012-8470
File : nvt/gb_fedora_2012_8470_python-crypto_fc16.nasl
2012-06-04 Name : Fedora Update for python-crypto FEDORA-2012-8490
File : nvt/gb_fedora_2012_8490_python-crypto_fc15.nasl

Nessus® Vulnerability Scanner

Date Description
2014-06-13 Name : The remote openSUSE host is missing a security update.
File : openSUSE-2012-367.nasl - Type : ACT_GATHER_INFO
2013-09-04 Name : The remote Amazon Linux AMI host is missing a security update.
File : ala_ALAS-2012-86.nasl - Type : ACT_GATHER_INFO
2013-04-20 Name : The remote Mandriva Linux host is missing a security update.
File : mandriva_MDVSA-2013-120.nasl - Type : ACT_GATHER_INFO
2012-09-06 Name : The remote Mandriva Linux host is missing a security update.
File : mandriva_MDVSA-2012-117.nasl - Type : ACT_GATHER_INFO
2012-06-29 Name : The remote Debian host is missing a security-related update.
File : debian_DSA-2502.nasl - Type : ACT_GATHER_INFO
2012-06-29 Name : The remote Ubuntu host is missing a security-related patch.
File : ubuntu_USN-1484-1.nasl - Type : ACT_GATHER_INFO
2012-06-26 Name : The remote FreeBSD host is missing a security-related update.
File : freebsd_pkg_f45c0049be7211e1a2840023ae8e59f0.nasl - Type : ACT_GATHER_INFO
2012-06-25 Name : The remote Gentoo host is missing one or more security-related patches.
File : gentoo_GLSA-201206-23.nasl - Type : ACT_GATHER_INFO
2012-06-04 Name : The remote Fedora host is missing a security update.
File : fedora_2012-8392.nasl - Type : ACT_GATHER_INFO
2012-06-04 Name : The remote Fedora host is missing a security update.
File : fedora_2012-8470.nasl - Type : ACT_GATHER_INFO
2012-06-04 Name : The remote Fedora host is missing a security update.
File : fedora_2012-8490.nasl - Type : ACT_GATHER_INFO

Alert History

If you want to see full details history, please login or register.
0
Date Informations
2014-02-17 11:37:25
  • Multiple Updates