1. CVE archive
  2. 2018
  3. CVE-2018-6594

CVE-2018-6594

7.5 High severity CVSS v3.0 · source NVD CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N 7.5 – High

Description

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 PyCrypto's ElGamal implementation.

Affected products

VendorProductVersionPlatform
canonical ubuntu linux 12.04 –
canonical ubuntu linux 14.04 –
canonical ubuntu linux 16.04 –
canonical ubuntu linux 17.10 –
debian debian linux 7.0 –
dlitz pycrypto <= 2.6.1 –

Vulnerability type

CWE-326 Inadequate Encryption Strength

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.

Impact on systems

ScopeImpact
Access Control, Confidentiality Bypass Protection Mechanism, Read Application Data
An attacker may be able to decrypt the data using brute force attacks. The attacker may have a reasonable chance of succeeding using current attack methods and resources.

How to prevent it

Architecture and Design Use an encryption scheme that is currently considered to be strong by experts in the field.

All 465 CWE-326 CVEs, with trend and prevention

Source: MITRE CWE catalog · cwe.mitre.org