Missing Required Cryptographic Step Affecting python2-crypto package, versions *


Severity

Recommended
0.0
medium
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.29% (69th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL7-PYTHON2CRYPTO-5083477
  • published26 Jul 2021
  • disclosed3 Feb 2018

Introduced: 3 Feb 2018

CVE-2018-6594  (opens in a new tab)
CWE-325  (opens in a new tab)

How to fix?

There is no fixed version for RHEL:7 python2-crypto.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python2-crypto package and not the python2-crypto package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

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.