Advisory

PYSEC-2018-97

Also known as: CVE-2018-6594, GHSA-6528-wvf6-f6qg

Summary

The record has no summary.

Details

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.

Severity

Not rated by the source.

Dates

Published
2018-02-03 15:29 UTC
Modified
2023-11-08 04:00 UTC

Affected packages and fixes

pycrypto

PyPI · All systems

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences