GLSA 202007-62: PyCrypto: Weak key generation

Severity:normal
Title:PyCrypto: Weak key generation
Date:07/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 Architecture(s)
dev-python/pycrypto <= 2.6.1-r2 All supported architectures

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

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-202007-62.xml

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 2010 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.

Thank you!