Debian DSA-2502-1 : python-crypto - programming error

medium Nessus Plugin ID 59780

Synopsis

The remote Debian host is missing a security-related update.

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.

Solution

Upgrade the python-crypto packages. After installing this update, previously generated keys need to be regenerated.

For the stable distribution (squeeze), this problem has been fixed in version 2.1.0-2+squeeze1.

See Also

https://packages.debian.org/source/squeeze/python-crypto

https://www.debian.org/security/2012/dsa-2502

Plugin Details

Severity: Medium

ID: 59780

File Name: debian_DSA-2502.nasl

Version: 1.10

Type: local

Agent: unix

Published: 6/29/2012

Updated: 1/11/2021

Supported Sensors: Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Continuous Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.5

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.2

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

Vulnerability Information

CPE: cpe:/o:debian:debian_linux:6.0, p-cpe:/a:debian:debian_linux:python-crypto

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Ease: No known exploits are available

Patch Publication Date: 6/24/2012

Reference Information

CVE: CVE-2012-2417

BID: 53687

DSA: 2502