Lucene search

K
osvGoogleOSV:GHSA-6528-WVF6-F6QG
HistoryJul 12, 2018 - 8:29 p.m.

Pycrypto generates weak key parameters

2018-07-1220:29:26
Google
osv.dev
15

0.003 Low

EPSS

Percentile

71.2%

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.