Lucene search

K
gentooGentoo FoundationGLSA-201206-23
HistoryJun 24, 2012 - 12:00 a.m.

PyCrypto: Weak key generation

2012-06-2400:00:00
Gentoo Foundation
security.gentoo.org
18

4.3 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:M/Au:N/C:N/I:P/A:N

0.004 Low

EPSS

Percentile

74.6%

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"
OSVersionArchitecturePackageVersionFilename
Gentooanyalldev-python/pycrypto<Β 2.6UNKNOWN

4.3 Medium

CVSS2

Attack Vector

NETWORK

Attack Complexity

MEDIUM

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:M/Au:N/C:N/I:P/A:N

0.004 Low

EPSS

Percentile

74.6%