High severity · published Nov 14, 2022
CVE-2022-40735
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…
7.5
CVSS
2.6%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)2.6% · higher than 85% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
DK
Diffie-hellman Key Exchange · Diffie-hellman Key Exchange Project
All versions, or not specified · source: NVD
Affected product
DK
Diffie-hellman Key Exchange
Diffie-hellman Key Exchange Project
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2022-40735
CVE.org
https://www.cve.org/CVERecord?id=CVE-2022-40735
dheatattack.gitlab.io
https://dheatattack.gitlab.io/
Third Party Advisory
https://gist.github.com/c0r0n3r/9455ddcab985c50fd1912eabf26e058b
Issue Tracking
https://github.com/mozilla/ssl-config-generator/issues/162
ieeexplore.ieee.org
https://ieeexplore.ieee.org/document/10374117
Technical Description
https://link.springer.com/content/pdf/10.1007/3-540-68339-9_29.pdf
Technical Description
https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-57pt1r5.pdf
More from Diffie-hellman Key Exchange
7.5
CVE-2024-41996
Validating the order of the public keys in the Diffie-Hellman Key Agreement Protocol, when an approved safe prime is used, allows remote attackers (from the client side) to…
