UBUNTU-CVE-2018-6594

Source
https://ubuntu.com/security/CVE-2018-6594
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-6594.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2018-6594
Related
Published
2018-02-03T00:00:00Z
Modified
2025-01-13T10:21:34Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
[none]
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.

References

Affected packages

Ubuntu:14.04:LTS / python-crypto

Package

Name
python-crypto
Purl
pkg:deb/ubuntu/python-crypto@2.6.1-4ubuntu0.3?arch=source&distro=trusty

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.6.1-4ubuntu0.3

Affected versions

2.*

2.6-5
2.6.1-2
2.6.1-2build1
2.6.1-3
2.6.1-4
2.6.1-4build1
2.6.1-4ubuntu0.1
2.6.1-4ubuntu0.2

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "2.6.1-4ubuntu0.3",
            "binary_name": "python-crypto"
        },
        {
            "binary_version": "2.6.1-4ubuntu0.3",
            "binary_name": "python-crypto-dbg"
        },
        {
            "binary_version": "2.6.1-4ubuntu0.3",
            "binary_name": "python-crypto-dbgsym"
        },
        {
            "binary_version": "2.6.1-4ubuntu0.3",
            "binary_name": "python-crypto-doc"
        },
        {
            "binary_version": "2.6.1-4ubuntu0.3",
            "binary_name": "python3-crypto"
        },
        {
            "binary_version": "2.6.1-4ubuntu0.3",
            "binary_name": "python3-crypto-dbg"
        },
        {
            "binary_version": "2.6.1-4ubuntu0.3",
            "binary_name": "python3-crypto-dbgsym"
        }
    ]
}

Ubuntu:16.04:LTS / python-crypto

Package

Name
python-crypto
Purl
pkg:deb/ubuntu/python-crypto@2.6.1-6ubuntu0.16.04.3?arch=source&distro=xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.6.1-6ubuntu0.16.04.3

Affected versions

2.*

2.6.1-5build1
2.6.1-6
2.6.1-6build1
2.6.1-6ubuntu0.16.04.1
2.6.1-6ubuntu0.16.04.2

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "2.6.1-6ubuntu0.16.04.3",
            "binary_name": "python-crypto"
        },
        {
            "binary_version": "2.6.1-6ubuntu0.16.04.3",
            "binary_name": "python-crypto-dbg"
        },
        {
            "binary_version": "2.6.1-6ubuntu0.16.04.3",
            "binary_name": "python-crypto-doc"
        },
        {
            "binary_version": "2.6.1-6ubuntu0.16.04.3",
            "binary_name": "python3-crypto"
        },
        {
            "binary_version": "2.6.1-6ubuntu0.16.04.3",
            "binary_name": "python3-crypto-dbg"
        }
    ]
}

Ubuntu:18.04:LTS / pycryptodome

Package

Name
pycryptodome
Purl
pkg:deb/ubuntu/pycryptodome@3.4.7-1ubuntu1?arch=source&distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.4.7-1ubuntu1

Affected versions

3.*

3.4.6-1
3.4.7-1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "3.4.7-1ubuntu1",
            "binary_name": "python-pycryptodome"
        },
        {
            "binary_version": "3.4.7-1ubuntu1",
            "binary_name": "python-pycryptodome-dbgsym"
        },
        {
            "binary_version": "3.4.7-1ubuntu1",
            "binary_name": "python-pycryptodome-doc"
        },
        {
            "binary_version": "3.4.7-1ubuntu1",
            "binary_name": "python3-pycryptodome"
        },
        {
            "binary_version": "3.4.7-1ubuntu1",
            "binary_name": "python3-pycryptodome-dbgsym"
        }
    ]
}

Ubuntu:18.04:LTS / python-crypto

Package

Name
python-crypto
Purl
pkg:deb/ubuntu/python-crypto@2.6.1-8ubuntu2?arch=source&distro=bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.6.1-8ubuntu2

Affected versions

2.*

2.6.1-7build2
2.6.1-8

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "2.6.1-8ubuntu2",
            "binary_name": "python-crypto"
        },
        {
            "binary_version": "2.6.1-8ubuntu2",
            "binary_name": "python-crypto-dbg"
        },
        {
            "binary_version": "2.6.1-8ubuntu2",
            "binary_name": "python-crypto-dbgsym"
        },
        {
            "binary_version": "2.6.1-8ubuntu2",
            "binary_name": "python-crypto-doc"
        },
        {
            "binary_version": "2.6.1-8ubuntu2",
            "binary_name": "python3-crypto"
        },
        {
            "binary_version": "2.6.1-8ubuntu2",
            "binary_name": "python3-crypto-dbg"
        },
        {
            "binary_version": "2.6.1-8ubuntu2",
            "binary_name": "python3-crypto-dbgsym"
        }
    ]
}