CVE-2022-40735
Apache Diffie-Hellman Key Agreement Protocol Exponent Size Vulnerability
Description
The Diffie-Hellman Key Agreement Protocol allows use of long exponents that arguably make certain calculations unnecessarily expensive, because the 1996 van Oorschot and Wiener paper found that "(appropriately) short exponents" can be used when there are adequate subgroup constraints, and these short exponents can lead to less expensive calculations than for long exponents. This issue is different from CVE-2002-20001 because it is based on an observation about exponent size, rather than an observation about numbers that are not public keys. The specific situations in which calculation expense would constitute a server-side vulnerability depend on the protocol (e.g., TLS, SSH, or IKE) and the DHE implementation details. In general, there might be an availability concern because of server-side resource consumption from DHE modular-exponentiation calculations. Finally, it is possible for an attacker to exploit this vulnerability and CVE-2002-20001 together.
INFO
Published Date :
Nov. 14, 2022, 11:15 p.m.
Last Modified :
Nov. 21, 2024, 7:21 a.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
3.6
Exploitability Score :
3.9
Affected Products
The following products are affected by CVE-2022-40735
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.
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-2022-40735
.
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-2022-40735
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2022-40735
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://dheatattack.gitlab.io/ Added Reference https://gist.github.com/c0r0n3r/9455ddcab985c50fd1912eabf26e058b Added Reference https://github.com/mozilla/ssl-config-generator/issues/162 Added Reference https://ieeexplore.ieee.org/document/10374117 Added Reference https://link.springer.com/content/pdf/10.1007/3-540-68339-9_29.pdf Added Reference https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-57pt1r5.pdf Added Reference https://raw.githubusercontent.com/CVEProject/cvelist/9d7fbbcabd3f44cfedc9e8807757d31ece85a2c6/2022/40xxx/CVE-2022-40735.json Added Reference https://www.researchgate.net/profile/Anton-Stiglic-2/publication/2401745_Security_Issues_in_the_Diffie-Hellman_Key_Agreement_Protocol/links/546c144f0cf20dedafd53e7e/Security-Issues-in-the-Diffie-Hellman-Key-Agreement-Protocol.pdf Added Reference https://www.rfc-editor.org/rfc/rfc3526 Added Reference https://www.rfc-editor.org/rfc/rfc4419 Added Reference https://www.rfc-editor.org/rfc/rfc5114#section-4 Added Reference https://www.rfc-editor.org/rfc/rfc7919#section-5.2 -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Apr. 23, 2024
Action Type Old Value New Value Added Reference MITRE https://ieeexplore.ieee.org/document/10374117 [No types assigned] -
CVE Modified by [email protected]
Jan. 11, 2024
Action Type Old Value New Value Added Reference MITRE https://dheatattack.gitlab.io/ [No types assigned] -
CVE Modified by [email protected]
Nov. 21, 2022
Action Type Old Value New Value Changed Description Using long exponents in the Diffie-Hellman Key Agreement Protocol allows remote attackers (from the client side) to trigger unnecessarily expensive server-side DHE modular-exponentiation calculations. An attacker may cause asymmetric resource consumption with any common client application which uses a DHE implementation that applies short exponents. The attack may be more disruptive in cases where a client sends arbitrary numbers that are actually not DH public keys (aka the D(HE)ater attack) or can require a server to select its largest supported key size. The basic attack scenario is that the client must claim that it can only communicate with DHE, and the server must be configured to allow DHE. This can affect TLS, SSH, and IKE. The Diffie-Hellman Key Agreement Protocol allows use of long exponents that arguably make certain calculations unnecessarily expensive, because the 1996 van Oorschot and Wiener paper found that "(appropriately) short exponents" can be used when there are adequate subgroup constraints, and these short exponents can lead to less expensive calculations than for long exponents. This issue is different from CVE-2002-20001 because it is based on an observation about exponent size, rather than an observation about numbers that are not public keys. The specific situations in which calculation expense would constitute a server-side vulnerability depend on the protocol (e.g., TLS, SSH, or IKE) and the DHE implementation details. In general, there might be an availability concern because of server-side resource consumption from DHE modular-exponentiation calculations. Finally, it is possible for an attacker to exploit this vulnerability and CVE-2002-20001 together. Added Reference https://www.rfc-editor.org/rfc/rfc4419 [No Types Assigned] Added Reference https://www.rfc-editor.org/rfc/rfc7919#section-5.2 [No Types Assigned] Added Reference https://www.rfc-editor.org/rfc/rfc3526 [No Types Assigned] Added Reference https://raw.githubusercontent.com/CVEProject/cvelist/9d7fbbcabd3f44cfedc9e8807757d31ece85a2c6/2022/40xxx/CVE-2022-40735.json [No Types Assigned] Added Reference https://www.rfc-editor.org/rfc/rfc5114#section-4 [No Types Assigned] -
Initial Analysis by [email protected]
Nov. 18, 2022
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Changed Reference Type https://gist.github.com/c0r0n3r/9455ddcab985c50fd1912eabf26e058b No Types Assigned https://gist.github.com/c0r0n3r/9455ddcab985c50fd1912eabf26e058b Third Party Advisory Changed Reference Type https://github.com/mozilla/ssl-config-generator/issues/162 No Types Assigned https://github.com/mozilla/ssl-config-generator/issues/162 Issue Tracking, Third Party Advisory Changed Reference Type https://link.springer.com/content/pdf/10.1007/3-540-68339-9_29.pdf No Types Assigned https://link.springer.com/content/pdf/10.1007/3-540-68339-9_29.pdf Technical Description, Third Party Advisory Changed Reference Type https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-57pt1r5.pdf No Types Assigned https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-57pt1r5.pdf Technical Description, Third Party Advisory, US Government Resource Changed Reference Type https://www.researchgate.net/profile/Anton-Stiglic-2/publication/2401745_Security_Issues_in_the_Diffie-Hellman_Key_Agreement_Protocol/links/546c144f0cf20dedafd53e7e/Security-Issues-in-the-Diffie-Hellman-Key-Agreement-Protocol.pdf No Types Assigned https://www.researchgate.net/profile/Anton-Stiglic-2/publication/2401745_Security_Issues_in_the_Diffie-Hellman_Key_Agreement_Protocol/links/546c144f0cf20dedafd53e7e/Security-Issues-in-the-Diffie-Hellman-Key-Agreement-Protocol.pdf Technical Description, Third Party Advisory Added CWE NIST CWE-400 Added CPE Configuration OR *cpe:2.3:a:diffie-hellman_key_exchange_project:diffie-hellman_key_exchange:-:*:*:*:*:*:*:*
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2022-40735
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2022-40735
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
1.29 }} -0.83%
score
0.77784
percentile