UBUNTU-CVE-2021-40530

Source
https://ubuntu.com/security/CVE-2021-40530
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-40530.json
JSON Data
https://api.test.osv.dev/v1/vulns/UBUNTU-CVE-2021-40530
Related
Published
2021-09-06T19:15:00Z
Modified
2025-04-23T15:09:06Z
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 Crypto++ through 8.5 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:14.04:LTS / libcrypto++

Package

Name
libcrypto++
Purl
pkg:deb/ubuntu/libcrypto++@5.6.1-6+deb8u3ubuntu0.1~esm1?arch=source&distro=esm-infra-legacy/trusty

Affected ranges

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

Affected versions

5.*

5.6.1-6
5.6.1-6+deb8u1build0.14.04.1
5.6.1-6+deb8u3build0.14.04.1
5.6.1-6+deb8u3ubuntu0.1~esm1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro:16.04:LTS / libcrypto++

Package

Name
libcrypto++
Purl
pkg:deb/ubuntu/libcrypto++@5.6.1-9ubuntu0.1+esm1?arch=source&distro=esm-apps/xenial

Affected ranges

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

Affected versions

5.*

5.6.1-8
5.6.1-9
5.6.1-9ubuntu0.1
5.6.1-9ubuntu0.1+esm1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro:18.04:LTS / libcrypto++

Package

Name
libcrypto++
Purl
pkg:deb/ubuntu/libcrypto++@5.6.4-8?arch=source&distro=esm-apps/bionic

Affected ranges

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

Affected versions

5.*

5.6.4-8

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:20.04:LTS / libcrypto++

Package

Name
libcrypto++
Purl
pkg:deb/ubuntu/libcrypto++@5.6.4-9build1?arch=source&distro=focal

Affected ranges

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

Affected versions

5.*

5.6.4-9
5.6.4-9build1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:22.04:LTS / libcrypto++

Package

Name
libcrypto++
Purl
pkg:deb/ubuntu/libcrypto++@8.6.0-2ubuntu1?arch=source&distro=jammy

Affected ranges

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

Affected versions

8.*

8.4.0-1
8.6.0-2ubuntu1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.10 / libcrypto++

Package

Name
libcrypto++
Purl
pkg:deb/ubuntu/libcrypto++@8.9.0-1.1build1?arch=source&distro=oracular

Affected ranges

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

Affected versions

8.*

8.9.0-1.1build1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.04:LTS / libcrypto++

Package

Name
libcrypto++
Purl
pkg:deb/ubuntu/libcrypto++@8.9.0-1.1build1?arch=source&distro=noble

Affected ranges

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

Affected versions

8.*

8.8.0-1
8.9.0-1
8.9.0-1.1
8.9.0-1.1build1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:25.04 / libcrypto++

Package

Name
libcrypto++
Purl
pkg:deb/ubuntu/libcrypto++@8.9.0-1.1build1?arch=source&distro=plucky

Affected ranges

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

Affected versions

8.*

8.9.0-1.1build1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}