UBUNTU-CVE-2021-40528

Source
https://ubuntu.com/security/CVE-2021-40528
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-40528.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2021-40528
Related
Published
2021-09-06T19:15:00Z
Modified
2024-10-15T14:08:25Z
Severity
  • 5.9 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
[none]
Details

The ElGamal implementation in Libgcrypt before 1.9.4 allows plaintext recovery because, during interaction between two cryptographic libraries, a certain dangerous combination of the prime defined by the receiver's public key, the generator defined by the receiver's public key, and the sender's ephemeral exponents can lead to a cross-configuration attack against OpenPGP.

References

Affected packages

Ubuntu:Pro:16.04:LTS / libgcrypt20

Package

Name
libgcrypt20
Purl
pkg:deb/ubuntu/libgcrypt20?arch=src?distro=esm-infra/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.6.5-2ubuntu0.6+esm1

Affected versions

1.*

1.6.3-2ubuntu1
1.6.4-3
1.6.4-4
1.6.4-5
1.6.5-2
1.6.5-2ubuntu0.2
1.6.5-2ubuntu0.3
1.6.5-2ubuntu0.4
1.6.5-2ubuntu0.5
1.6.5-2ubuntu0.6

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1.5.4-3+really1.6.5-2ubuntu0.6+esm1",
            "binary_name": "libgcrypt11-dev"
        },
        {
            "binary_version": "1.6.5-2ubuntu0.6+esm1",
            "binary_name": "libgcrypt20"
        },
        {
            "binary_version": "1.6.5-2ubuntu0.6+esm1",
            "binary_name": "libgcrypt20-dbgsym"
        },
        {
            "binary_version": "1.6.5-2ubuntu0.6+esm1",
            "binary_name": "libgcrypt20-dev"
        },
        {
            "binary_version": "1.6.5-2ubuntu0.6+esm1",
            "binary_name": "libgcrypt20-dev-dbgsym"
        },
        {
            "binary_version": "1.6.5-2ubuntu0.6+esm1",
            "binary_name": "libgcrypt20-doc"
        },
        {
            "binary_version": "1.6.5-2ubuntu0.6+esm1",
            "binary_name": "libgcrypt20-udeb"
        },
        {
            "binary_version": "1.6.5-2ubuntu0.6+esm1",
            "binary_name": "libgcrypt20-udeb-dbgsym"
        }
    ]
}

Ubuntu:18.04:LTS / libgcrypt20

Package

Name
libgcrypt20
Purl
pkg:deb/ubuntu/libgcrypt20?arch=src?distro=bionic

Affected ranges

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

Affected versions

1.*

1.7.8-2ubuntu1
1.7.9-1
1.8.1-4
1.8.1-4ubuntu1
1.8.1-4ubuntu1.1
1.8.1-4ubuntu1.2

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1.8.1-4ubuntu1.3",
            "binary_name": "libgcrypt-mingw-w64-dev"
        },
        {
            "binary_version": "1.5.4-3+really1.8.1-4ubuntu1.3",
            "binary_name": "libgcrypt11-dev"
        },
        {
            "binary_version": "1.8.1-4ubuntu1.3",
            "binary_name": "libgcrypt20"
        },
        {
            "binary_version": "1.8.1-4ubuntu1.3",
            "binary_name": "libgcrypt20-dbgsym"
        },
        {
            "binary_version": "1.8.1-4ubuntu1.3",
            "binary_name": "libgcrypt20-dev"
        },
        {
            "binary_version": "1.8.1-4ubuntu1.3",
            "binary_name": "libgcrypt20-dev-dbgsym"
        },
        {
            "binary_version": "1.8.1-4ubuntu1.3",
            "binary_name": "libgcrypt20-doc"
        },
        {
            "binary_version": "1.8.1-4ubuntu1.3",
            "binary_name": "libgcrypt20-udeb"
        }
    ]
}

Ubuntu:Pro:FIPS-updates:18.04:LTS / libgcrypt20

Package

Name
libgcrypt20
Purl
pkg:deb/ubuntu/libgcrypt20?arch=src?distro=fips-updates/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.8.1-4ubuntu1.fips.3

Affected versions

1.*

1.8.1-4ubuntu1.fips.2.4
1.8.1-4ubuntu1.fips.2.5

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1.8.1-4ubuntu1.fips.3",
            "binary_name": "libgcrypt-mingw-w64-dev"
        },
        {
            "binary_version": "1.5.4-3+really1.8.1-4ubuntu1.fips.3",
            "binary_name": "libgcrypt11-dev"
        },
        {
            "binary_version": "1.8.1-4ubuntu1.fips.3",
            "binary_name": "libgcrypt20"
        },
        {
            "binary_version": "1.8.1-4ubuntu1.fips.3",
            "binary_name": "libgcrypt20-dbgsym"
        },
        {
            "binary_version": "1.8.1-4ubuntu1.fips.3",
            "binary_name": "libgcrypt20-dev"
        },
        {
            "binary_version": "1.8.1-4ubuntu1.fips.3",
            "binary_name": "libgcrypt20-dev-dbgsym"
        },
        {
            "binary_version": "1.8.1-4ubuntu1.fips.3",
            "binary_name": "libgcrypt20-doc"
        },
        {
            "binary_version": "1.8.1-4ubuntu1.fips.3",
            "binary_name": "libgcrypt20-hmac"
        },
        {
            "binary_version": "1.8.1-4ubuntu1.fips.3",
            "binary_name": "libgcrypt20-udeb"
        }
    ]
}

Ubuntu:Pro:FIPS:18.04:LTS / libgcrypt20

Package

Name
libgcrypt20
Purl
pkg:deb/ubuntu/libgcrypt20?arch=src?distro=fips/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.8.1-4ubuntu1.fips.2.4
1.8.1-4ubuntu1.fips.2.5

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:20.04:LTS / libgcrypt20

Package

Name
libgcrypt20
Purl
pkg:deb/ubuntu/libgcrypt20?arch=src?distro=focal

Affected ranges

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

Affected versions

1.*

1.8.4-5ubuntu2
1.8.5-3ubuntu1
1.8.5-5ubuntu1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1.8.5-5ubuntu1.1",
            "binary_name": "libgcrypt-mingw-w64-dev"
        },
        {
            "binary_version": "1.8.5-5ubuntu1.1",
            "binary_name": "libgcrypt20"
        },
        {
            "binary_version": "1.8.5-5ubuntu1.1",
            "binary_name": "libgcrypt20-dbgsym"
        },
        {
            "binary_version": "1.8.5-5ubuntu1.1",
            "binary_name": "libgcrypt20-dev"
        },
        {
            "binary_version": "1.8.5-5ubuntu1.1",
            "binary_name": "libgcrypt20-dev-dbgsym"
        },
        {
            "binary_version": "1.8.5-5ubuntu1.1",
            "binary_name": "libgcrypt20-doc"
        },
        {
            "binary_version": "1.8.5-5ubuntu1.1",
            "binary_name": "libgcrypt20-udeb"
        }
    ]
}

Ubuntu:Pro:FIPS-updates:20.04:LTS / libgcrypt20

Package

Name
libgcrypt20
Purl
pkg:deb/ubuntu/libgcrypt20?arch=src?distro=fips-updates/focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.8.5-5ubuntu1.fips.1.1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1.8.5-5ubuntu1.fips.1.1",
            "binary_name": "libgcrypt-mingw-w64-dev"
        },
        {
            "binary_version": "1.8.5-5ubuntu1.fips.1.1",
            "binary_name": "libgcrypt20"
        },
        {
            "binary_version": "1.8.5-5ubuntu1.fips.1.1",
            "binary_name": "libgcrypt20-dbgsym"
        },
        {
            "binary_version": "1.8.5-5ubuntu1.fips.1.1",
            "binary_name": "libgcrypt20-dev"
        },
        {
            "binary_version": "1.8.5-5ubuntu1.fips.1.1",
            "binary_name": "libgcrypt20-dev-dbgsym"
        },
        {
            "binary_version": "1.8.5-5ubuntu1.fips.1.1",
            "binary_name": "libgcrypt20-doc"
        },
        {
            "binary_version": "1.8.5-5ubuntu1.fips.1.1",
            "binary_name": "libgcrypt20-hmac"
        },
        {
            "binary_version": "1.8.5-5ubuntu1.fips.1.1",
            "binary_name": "libgcrypt20-udeb"
        }
    ]
}

Ubuntu:Pro:FIPS:20.04:LTS / libgcrypt20

Package

Name
libgcrypt20
Purl
pkg:deb/ubuntu/libgcrypt20?arch=src?distro=fips/focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.8.5-5ubuntu1.fips.1.1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1.8.5-5ubuntu1.fips.1.1",
            "binary_name": "libgcrypt-mingw-w64-dev"
        },
        {
            "binary_version": "1.8.5-5ubuntu1.fips.1.1",
            "binary_name": "libgcrypt20"
        },
        {
            "binary_version": "1.8.5-5ubuntu1.fips.1.1",
            "binary_name": "libgcrypt20-dbgsym"
        },
        {
            "binary_version": "1.8.5-5ubuntu1.fips.1.1",
            "binary_name": "libgcrypt20-dev"
        },
        {
            "binary_version": "1.8.5-5ubuntu1.fips.1.1",
            "binary_name": "libgcrypt20-dev-dbgsym"
        },
        {
            "binary_version": "1.8.5-5ubuntu1.fips.1.1",
            "binary_name": "libgcrypt20-doc"
        },
        {
            "binary_version": "1.8.5-5ubuntu1.fips.1.1",
            "binary_name": "libgcrypt20-hmac"
        },
        {
            "binary_version": "1.8.5-5ubuntu1.fips.1.1",
            "binary_name": "libgcrypt20-udeb"
        }
    ]
}

Ubuntu:22.04:LTS / libgcrypt20

Package

Name
libgcrypt20
Purl
pkg:deb/ubuntu/libgcrypt20?arch=src?distro=jammy

Affected ranges

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

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1.8.7-5ubuntu2",
            "binary_name": "libgcrypt-mingw-w64-dev"
        },
        {
            "binary_version": "1.8.7-5ubuntu2",
            "binary_name": "libgcrypt20"
        },
        {
            "binary_version": "1.8.7-5ubuntu2",
            "binary_name": "libgcrypt20-dbgsym"
        },
        {
            "binary_version": "1.8.7-5ubuntu2",
            "binary_name": "libgcrypt20-dev"
        },
        {
            "binary_version": "1.8.7-5ubuntu2",
            "binary_name": "libgcrypt20-dev-dbgsym"
        },
        {
            "binary_version": "1.8.7-5ubuntu2",
            "binary_name": "libgcrypt20-doc"
        }
    ]
}