5.9
MEDIUM
CVE-2021-40530
Crypto++ ElGamal Plaintext Recovery Vulnerability
Description

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.

INFO

Published Date :

Sept. 6, 2021, 7:15 p.m.

Last Modified :

Nov. 7, 2023, 3:38 a.m.

Remotely Exploitable :

Yes !

Impact Score :

3.6

Exploitability Score :

2.2
Affected Products

The following products are affected by CVE-2021-40530 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Fedoraproject fedora
1 Cryptopp crypto\+\+

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2021-40530 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2021-40530 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Nov. 07, 2023

    Action Type Old Value New Value
    Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HGVBZ2TTRKCTYAZTRHTF6OBD4W37F5MT/ [No types assigned]
    Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/57OJA2K5AHX5HAU2QBDRWLGIIUX7GASC/ [No types assigned]
    Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VJYOZGWI7TD27SEXILSM6VUTPPEICDL7/ [No types assigned]
    Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/HGVBZ2TTRKCTYAZTRHTF6OBD4W37F5MT/
    Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/57OJA2K5AHX5HAU2QBDRWLGIIUX7GASC/
    Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/VJYOZGWI7TD27SEXILSM6VUTPPEICDL7/
  • Modified Analysis by [email protected]

    Oct. 18, 2021

    Action Type Old Value New Value
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/57OJA2K5AHX5HAU2QBDRWLGIIUX7GASC/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/57OJA2K5AHX5HAU2QBDRWLGIIUX7GASC/ Mailing List, Third Party Advisory
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/HGVBZ2TTRKCTYAZTRHTF6OBD4W37F5MT/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/HGVBZ2TTRKCTYAZTRHTF6OBD4W37F5MT/ Mailing List, Third Party Advisory
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/VJYOZGWI7TD27SEXILSM6VUTPPEICDL7/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/VJYOZGWI7TD27SEXILSM6VUTPPEICDL7/ Mailing List, Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* *cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* *cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Oct. 05, 2021

    Action Type Old Value New Value
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/VJYOZGWI7TD27SEXILSM6VUTPPEICDL7/ [No Types Assigned]
  • CVE Modified by [email protected]

    Oct. 05, 2021

    Action Type Old Value New Value
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/57OJA2K5AHX5HAU2QBDRWLGIIUX7GASC/ [No Types Assigned]
  • CVE Modified by [email protected]

    Oct. 04, 2021

    Action Type Old Value New Value
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/HGVBZ2TTRKCTYAZTRHTF6OBD4W37F5MT/ [No Types Assigned]
  • Initial Analysis by [email protected]

    Sep. 13, 2021

    Action Type Old Value New Value
    Added CVSS V2 NIST (AV:N/AC:H/Au:N/C:P/I:N/A:N)
    Added CVSS V3.1 NIST AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
    Changed Reference Type https://eprint.iacr.org/2021/923 No Types Assigned https://eprint.iacr.org/2021/923 Technical Description, Third Party Advisory
    Changed Reference Type https://ibm.github.io/system-security-research-updates/2021/07/20/insecurity-elgamal-pt1 No Types Assigned https://ibm.github.io/system-security-research-updates/2021/07/20/insecurity-elgamal-pt1 Third Party Advisory
    Changed Reference Type https://ibm.github.io/system-security-research-updates/2021/09/06/insecurity-elgamal-pt2 No Types Assigned https://ibm.github.io/system-security-research-updates/2021/09/06/insecurity-elgamal-pt2 Exploit, Third Party Advisory
    Added CWE NIST CWE-327
    Added CPE Configuration OR *cpe:2.3:a:cryptopp:crypto\+\+:*:*:*:*:*:*:*:* versions up to (including) 8.5
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2021-40530 is associated with the following CWEs:

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.24 }} 0.07%

score

0.64803

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability