Gentoo Archives: gentoo-announce

From: Sean Amoss <ackle@g.o>
To: gentoo-announce@g.o
Subject: [gentoo-announce] [ GLSA 201206-23 ] PyCrypto: Weak key generation
Date: Sun, 24 Jun 2012 13:24:43
Message-Id: 4FE7128A.9050109@gentoo.org
1 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2 Gentoo Linux Security Advisory GLSA 201206-23
3 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
4 http://security.gentoo.org/
5 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
6
7 Severity: Normal
8 Title: PyCrypto: Weak key generation
9 Date: June 24, 2012
10 Bugs: #417625
11 ID: 201206-23
12
13 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
14
15 Synopsis
16 ========
17
18 PyCrypto generates weak ElGamal keys.
19
20 Background
21 ==========
22
23 PyCrypto is the Python Cryptography Toolkit.
24
25 Affected packages
26 =================
27
28 -------------------------------------------------------------------
29 Package / Vulnerable / Unaffected
30 -------------------------------------------------------------------
31 1 dev-python/pycrypto < 2.6 >= 2.6
32
33 Description
34 ===========
35
36 An error in the generate() function in ElGamal.py causes PyCrypto to
37 generate weak ElGamal keys.
38
39 Impact
40 ======
41
42 A remote attacker might be able to derive private keys.
43
44 Workaround
45 ==========
46
47 There is no known workaround at this time.
48
49 Resolution
50 ==========
51
52 All PyCrypto users should upgrade to the latest version:
53
54 # emerge --sync
55 # emerge --ask --oneshot --verbose ">=dev-python/pycrypto-2.6"
56
57 References
58 ==========
59
60 [ 1 ] CVE-2012-2417
61 http://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-2417
62
63 Availability
64 ============
65
66 This GLSA and any updates to it are available for viewing at
67 the Gentoo Security Website:
68
69 http://security.gentoo.org/glsa/glsa-201206-23.xml
70
71 Concerns?
72 =========
73
74 Security is a primary focus of Gentoo Linux and ensuring the
75 confidentiality and security of our users' machines is of utmost
76 importance to us. Any security concerns should be addressed to
77 security@g.o or alternatively, you may file a bug at
78 https://bugs.gentoo.org.
79
80 License
81 =======
82
83 Copyright 2012 Gentoo Foundation, Inc; referenced text
84 belongs to its owner(s).
85
86 The contents of this document are licensed under the
87 Creative Commons - Attribution / Share Alike license.
88
89 http://creativecommons.org/licenses/by-sa/2.5

Attachments

File name MIME type
signature.asc application/pgp-signature