CVE Vulnerabilities

CVE-2018-6594

Inadequate Encryption Strength

Published: Feb 03, 2018 | Modified: Nov 21, 2024
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
root.io logo minimus.io logo echo.ai logo

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

NameVendorStart VersionEnd Version
PycryptoDlitz*2.6.1 (including)
PycryptodomeUbuntuartful*
PycryptodomeUbuntubionic*
PycryptodomeUbuntudevel*
PycryptodomeUbuntuesm-infra/bionic*
Python-cryptoUbuntuartful*
Python-cryptoUbuntubionic*
Python-cryptoUbuntudevel*
Python-cryptoUbuntuesm-infra-legacy/trusty*
Python-cryptoUbuntuesm-infra/bionic*
Python-cryptoUbuntuesm-infra/xenial*
Python-cryptoUbuntutrusty*
Python-cryptoUbuntutrusty/esm*
Python-cryptoUbuntuxenial*

Potential Mitigations

References