GLSA-202007-62 : PyCrypto: Weak key generation

Medium Nessus Plugin ID 139270

New! Vulnerability Priority Rating (VPR)

Tenable calculates a dynamic VPR for every vulnerability. VPR combines vulnerability information with threat intelligence and machine learning algorithms to predict which vulnerabilities are most likely to be exploited in attacks. Read more about what VPR is and how it's different from CVSS.

VPR Score: 3.6


The remote Gentoo host is missing one or more security-related patches.


The remote host is affected by the vulnerability described in GLSA-202007-62 (PyCrypto: Weak key generation)

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.


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.

See Also

Plugin Details

Severity: Medium

ID: 139270

File Name: gentoo_GLSA-202007-62.nasl

Version: 1.2

Type: local

Published: 2020/08/03

Updated: 2020/08/06

Dependencies: 12634

Risk Information

Risk Factor: Medium

VPR Score: 3.6

CVSS v2.0

Base Score: 5

Temporal Score: 3.7

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N

Temporal Vector: CVSS2#E:U/RL:OF/RC:C

CVSS v3.0

Base Score: 7.5

Temporal Score: 6.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:pycrypto, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Exploit Ease: No known exploits are available

Patch Publication Date: 2020/07/31

Vulnerability Publication Date: 2018/02/03

Reference Information

CVE: CVE-2018-6594

GLSA: 202007-62