- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 201206-23
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            https://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

 Severity: Normal
    Title: PyCrypto: Weak key generation
     Date: June 24, 2012
     Bugs: #417625
       ID: 201206-23

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
=======
PyCrypto generates weak ElGamal keys.

Background
=========
PyCrypto is the Python Cryptography Toolkit.

Affected packages
================
    -------------------------------------------------------------------
     Package              /     Vulnerable     /            Unaffected
    -------------------------------------------------------------------
  1  dev-python/pycrypto           < 2.6                       >= 2.6

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:

 https://security.gentoo.org/glsa/201206-23

Concerns?
========
Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users' machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or alternatively, you may file a bug at
https://bugs.gentoo.org.

License
======
Copyright 2012 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

https://creativecommons.org/licenses/by-sa/2.5/

Gentoo: GLSA-201206-23: PyCrypto: Weak key generation

PyCrypto generates weak ElGamal keys.

Summary

An error in the generate() function in ElGamal.py causes PyCrypto to generate weak ElGamal keys.

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: https://security.gentoo.org/glsa/201206-23

Concerns

Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users' machines is of utmost importance to us. Any security concerns should be addressed to security@gentoo.org or alternatively, you may file a bug at https://bugs.gentoo.org.

Severity
Severity: Normal
Title: PyCrypto: Weak key generation
Date: June 24, 2012
Bugs: #417625
ID: 201206-23

Synopsis

PyCrypto generates weak ElGamal keys.

Background

PyCrypto is the Python Cryptography Toolkit.

Affected Packages

------------------------------------------------------------------- Package / Vulnerable / Unaffected ------------------------------------------------------------------- 1 dev-python/pycrypto < 2.6 >= 2.6

Impact

===== A remote attacker might be able to derive private keys.

Workaround

There is no known workaround at this time.

Related News