DEBIAN-CVE-2021-40530

Source
https://security-tracker.debian.org/tracker/CVE-2021-40530
Import Source
https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-40530.json
JSON Data
https://api.osv.dev/v1/vulns/DEBIAN-CVE-2021-40530
Upstream
Published
2021-09-06T19:15:07.673Z
Modified
2025-11-20T10:15:08.697712Z
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

Debian:11 / libcrypto++

Package

Name
libcrypto++
Purl
pkg:deb/debian/libcrypto%2B%2B?arch=source

Affected ranges

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

Affected versions

8.*

8.4.0-1
8.5.0-1
8.6.0-1
8.6.0-2
8.6.0-3
8.7.0-1
8.7.0+git220824-1
8.8.0-1
8.8.0-2
8.9.0-1
8.9.0-1.1~exp1
8.9.0-1.1
8.9.0-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / libcrypto++

Package

Name
libcrypto++
Purl
pkg:deb/debian/libcrypto%2B%2B?arch=source

Affected ranges

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

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / libcrypto++

Package

Name
libcrypto++
Purl
pkg:deb/debian/libcrypto%2B%2B?arch=source

Affected ranges

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

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:14 / libcrypto++

Package

Name
libcrypto++
Purl
pkg:deb/debian/libcrypto%2B%2B?arch=source

Affected ranges

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

Ecosystem specific

{
    "urgency": "not yet assigned"
}