- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 202007-62
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                           https://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

 Severity: Normal
    Title: PyCrypto: Weak key generation
     Date: July 31, 2020
     Bugs: #703682
       ID: 202007-62

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

Synopsis
========

A flaw in PyCrypto allow remote attackers to obtain sensitive
information.

Background
==========

PyCrypto is the Python Cryptography Toolkit.

Affected packages
=================

    -------------------------------------------------------------------
     Package              /     Vulnerable     /            Unaffected
    -------------------------------------------------------------------
  1  dev-python/pycrypto        <= 2.6.1-r2                Vulnerable!
    -------------------------------------------------------------------
     NOTE: Certain packages are still vulnerable. Users should migrate
           to another package if one is available or wait for the
           existing packages to be marked stable by their
           architecture maintainers.

Description
===========

It was discovered that PyCrypto incorrectly generated ElGamal key
parameters.

Impact
======

Attackers may be able to obtain sensitive information by reading
ciphertext data.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

Gentoo has discontinued support for PyCrypto. We recommend that users
unmerge PyCrypto:

 # emerge --unmerge "dev-python/pycrypto"

NOTE: The Gentoo developer(s) maintaining PyCrypto have discontinued
support at this time. PyCryptodome is the canonical successor to
PyCrypto.

References
==========

[ 1 ] CVE-2018-6594
      https://nvd.nist.gov/vuln/detail/CVE-2018-6594

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

 https://security.gentoo.org/glsa/202007-62

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
[email protected] or alternatively, you may file a bug at
https://bugs.gentoo.org.

License
=======

Copyright 2020 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