Skip to content
OpenAdvisories
Unscored CVE-2022-40735 EUVD-2022-44003GHSA-8vmc-7qrc-q5mx

The Diffie-Hellman Key Agreement Protocol allows use of long exponents that arguably make certain calculations unnecessarily expensive, bec…

Published Nov 14, 2022 · Updated Aug 3, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS openssl 3.0.2-0ubuntu1.16 USN-6854-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro FIPS-updates 22.04 LTS openssl 3.0.2-0ubuntu1.16+Fips1 —
Ubuntu Pro FIPS-preview 22.04 LTS openssl No fix yet —
Ubuntu Pro 22.04 LTS nodejs No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP4 openssl-3 3.0.8-150400.4.26.1 SUSE-SU-2023:2470-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.4 openssl-3 3.0.8-150400.4.26.1 SUSE-SU-2023:2470-1

Advisories 5

References