CVE Vulnerabilities

CVE-2018-6594

Inadequate Encryption Strength

Published: Feb 03, 2018 | Modified: Jul 31, 2020
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS 2.x
5 MEDIUM
AV:N/AC:L/Au:N/C:P/I:N/A:N
RedHat/V2
RedHat/V3
5.3 MODERATE
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Ubuntu
MEDIUM

lib/Crypto/PublicKey/ElGamal.py in PyCrypto through 2.6.1 generates weak ElGamal key parameters, which allows attackers to obtain sensitive information by reading ciphertext data (i.e., it does not have semantic security in face of a ciphertext-only attack). The Decisional Diffie-Hellman (DDH) assumption does not hold for PyCryptos ElGamal implementation.

Weakness

The product stores or transmits sensitive data using an encryption scheme that is theoretically sound, but is not strong enough for the level of protection required.

Affected Software

Name Vendor Start Version End Version
Pycrypto Dlitz * 2.6.1 (including)
Pycryptodome Ubuntu artful *
Pycryptodome Ubuntu bionic *
Pycryptodome Ubuntu devel *
Python-crypto Ubuntu artful *
Python-crypto Ubuntu bionic *
Python-crypto Ubuntu devel *
Python-crypto Ubuntu trusty *
Python-crypto Ubuntu xenial *

Potential Mitigations

References