Advisory

UBUNTU-CVE-2018-6594

Also known as: CVE-2018-6594

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

High Basis: CVSS v3 score 7.5, vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Dates

Published
2018-02-03 00:00 UTC
Modified
2026-02-04 03:51 UTC

Affected packages and fixes

python-crypto

Debian packages (deb) · Ubuntu 14.04

Affected

  • introduced 0, fixed 2.6.1-4ubuntu0.3 (ecosystem)

Fixed versions

2.6.1-4ubuntu0.3

Fix

  • Fixed version 2.6.1-4ubuntu0.3
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

python-crypto

Debian packages (deb) · Ubuntu 16.04

Affected

  • introduced 0, fixed 2.6.1-6ubuntu0.16.04.3 (ecosystem)

Fixed versions

2.6.1-6ubuntu0.16.04.3

Fix

  • Fixed version 2.6.1-6ubuntu0.16.04.3
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

pycryptodome

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 3.4.7-1ubuntu1 (ecosystem)

Fixed versions

3.4.7-1ubuntu1

Fix

  • Fixed version 3.4.7-1ubuntu1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

python-crypto

Debian packages (deb) · Ubuntu 18.04

Affected

  • introduced 0, fixed 2.6.1-8ubuntu2 (ecosystem)

Fixed versions

2.6.1-8ubuntu2

Fix

  • Fixed version 2.6.1-8ubuntu2
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

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: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences