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. 21, 2024, 6:24 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\+\+
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2021-40530.

URL Resource
https://eprint.iacr.org/2021/923 Technical Description Third Party Advisory
https://ibm.github.io/system-security-research-updates/2021/07/20/insecurity-elgamal-pt1 Third Party Advisory
https://ibm.github.io/system-security-research-updates/2021/09/06/insecurity-elgamal-pt2 Exploit Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/57OJA2K5AHX5HAU2QBDRWLGIIUX7GASC/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HGVBZ2TTRKCTYAZTRHTF6OBD4W37F5MT/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VJYOZGWI7TD27SEXILSM6VUTPPEICDL7/
https://eprint.iacr.org/2021/923 Technical Description Third Party Advisory
https://ibm.github.io/system-security-research-updates/2021/07/20/insecurity-elgamal-pt1 Third Party Advisory
https://ibm.github.io/system-security-research-updates/2021/09/06/insecurity-elgamal-pt2 Exploit Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/57OJA2K5AHX5HAU2QBDRWLGIIUX7GASC/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HGVBZ2TTRKCTYAZTRHTF6OBD4W37F5MT/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VJYOZGWI7TD27SEXILSM6VUTPPEICDL7/

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 af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://eprint.iacr.org/2021/923
    Added Reference https://ibm.github.io/system-security-research-updates/2021/07/20/insecurity-elgamal-pt1
    Added Reference https://ibm.github.io/system-security-research-updates/2021/09/06/insecurity-elgamal-pt2
    Added Reference https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/57OJA2K5AHX5HAU2QBDRWLGIIUX7GASC/
    Added Reference https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HGVBZ2TTRKCTYAZTRHTF6OBD4W37F5MT/
    Added Reference https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VJYOZGWI7TD27SEXILSM6VUTPPEICDL7/
  • 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.22 }} -0.03%

score

0.59145

percentile

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