Advisory

GHSA-6528-wvf6-f6qg

Also known as: CVE-2018-6594, PYSEC-2018-97

Summary

Pycrypto generates weak key parameters

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

High Basis: The source's own band: HIGH

Dates

Published
2018-07-12 20:29 UTC
Modified
2024-10-18 22:22 UTC

Affected packages and fixes

pycrypto

PyPI · All systems

Affected

  • introduced 0, last affected 2.6.1 (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: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences