5.9
MEDIUM
CVE-2021-40529
Botan ElGamal Cross-Configuration Attack
Description

The ElGamal implementation in Botan through 2.18.1, as used in Thunderbird and other products, 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-40529 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 Mozilla thunderbird
1 Fedoraproject fedora
1 Botan_project botan

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-40529 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2021-40529 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/UPHGYWNJQKWLTUWBNSFB4F66MQDIL3IB/ [No types assigned]
    Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/72NB4OLD3VHJC3YF3PEP2HKF6BYURPAO/ [No types assigned]
    Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/UPHGYWNJQKWLTUWBNSFB4F66MQDIL3IB/
    Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/72NB4OLD3VHJC3YF3PEP2HKF6BYURPAO/
  • Modified Analysis by [email protected]

    Dec. 09, 2022

    Action Type Old Value New Value
    Changed Reference Type https://security.gentoo.org/glsa/202208-14 No Types Assigned https://security.gentoo.org/glsa/202208-14 Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:a:mozilla:thunderbird:*:*:*:*:*:*:*:* versions up to (excluding) 91.12.0
  • CVE Modified by [email protected]

    Aug. 10, 2022

    Action Type Old Value New Value
    Added Reference https://security.gentoo.org/glsa/202208-14 [No Types Assigned]
  • Modified Analysis by [email protected]

    Dec. 03, 2021

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

    Nov. 16, 2021

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

    Nov. 12, 2021

    Action Type Old Value New Value
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/UPHGYWNJQKWLTUWBNSFB4F66MQDIL3IB/ [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://github.com/randombit/botan/pull/2790 No Types Assigned https://github.com/randombit/botan/pull/2790 Patch, 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:botan_project:botan:*:*:*:*:*:*:*:* versions up to (including) 2.18.1
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-40529 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.28 }} 0.01%

score

0.68546

percentile

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