summaryrefslogtreecommitdiff
blob: 7ad40d86ecc08d1ec9093c19a728e8e06071a788 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="201206-23">
  <title>PyCrypto: Weak key generation</title>
  <synopsis>PyCrypto generates weak ElGamal keys.</synopsis>
  <product type="ebuild">pycrypto</product>
  <announced>2012-06-24</announced>
  <revised count="1">2012-06-24</revised>
  <bug>417625</bug>
  <access>remote</access>
  <affected>
    <package name="dev-python/pycrypto" auto="yes" arch="*">
      <unaffected range="ge">2.6</unaffected>
      <vulnerable range="lt">2.6</vulnerable>
    </package>
  </affected>
  <background>
    <p>PyCrypto is the Python Cryptography Toolkit.</p>
  </background>
  <description>
    <p>An error in the generate() function in ElGamal.py causes PyCrypto to
      generate weak ElGamal keys.
    </p>
  </description>
  <impact type="normal">
    <p>A remote attacker might be able to derive private keys.</p>
  </impact>
  <workaround>
    <p>There is no known workaround at this time.</p>
  </workaround>
  <resolution>
    <p>All PyCrypto users should upgrade to the latest version:</p>
    
    <code>
      # emerge --sync
      # emerge --ask --oneshot --verbose "&gt;=dev-python/pycrypto-2.6"
    </code>
  </resolution>
  <references>
    <uri link="https://nvd.nist.gov/nvd.cfm?cvename=CVE-2012-2417">CVE-2012-2417</uri>
  </references>
  <metadata timestamp="2012-06-11T22:45:07Z" tag="requester">ackle</metadata>
  <metadata timestamp="2012-06-24T12:38:41Z" tag="submitter">ackle</metadata>
</glsa>