VDB

CVE-2023-3446

CVE-2023-3446 PUBLISHED CVSS 5.300000190734863 MEDIUM

Excessive time spent checking DH keys and parameters

Reported by openssl · Published July 19, 2023

Issue summary: Checking excessively long DH keys or parameters may be very slow. Impact summary: Applications that use the functions DH_check(), DH_check_ex() or EVP_PKEY_param_check() to check a DH key or DH parameters may experience long delays. Where the key or parameters that are being checked have been obtained from an untrusted source this may lead to a Denial of Service. The function DH_check() performs various checks on DH parameters. One of those checks confirms that the modulus ('p' parameter) is not too large. Trying to use a very large modulus is slow and OpenSSL will not normally use a modulus which is over 10,000 bits in length. However the DH_check() function checks numerous aspects of the key or parameters that have been supplied. Some of those checks use the supplied modulus value even if it has already been found to be too large. An application that calls DH_check() and supplies a key or parameters obtained from an untrusted source could be vulernable to a Denial of Service attack. The function DH_check() is itself called by a number of other OpenSSL functions. An application calling any of those other functions may similarly be affected. The other functions affected by this are DH_check_ex() and EVP_PKEY_param_check(). Also vulnerable are the OpenSSL dhparam and pkeyparam command line applications when using the '-check' option. The OpenSSL SSL/TLS implementation is not affected by this issue. The OpenSSL 3.0 and 3.1 FIPS providers are not affected by this issue.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
opensslconan.io3.1.1
opensslAmazon Linux1:3.0.8-1.amzn2023.0.4, 1:1.0.2k-24.amzn2.0.9
openssl3Alpine3.0.9-r2
openssl-perlAmazon Linux1:3.0.8-1.amzn2023.0.4, 1:1.0.2k-24.amzn2.0.9
openssl-staticAmazon Linux1:1.0.2k-24.amzn2.0.9
openssl-libsAmazon Linux1:3.0.8-1.amzn2023.0.4, 1:1.0.2k-24.amzn2.0.9
openssl1.1-compatAlpine1.1.1u-r1
edk2-toolsAmazon Linux20200801stable-1.amzn2.0.5
edk2-tools-pythonAmazon Linux20200801stable-1.amzn2.0.5
opensslWolfi3.1.1-r3
edk2-tools-docAmazon Linux20200801stable-1.amzn2.0.5
edk2-ovmfAmazon Linux20200801stable-1.amzn2.0.5

14 more packages have a fixed version. See every fix in Lookup.

Risk scores

CVSS 3.1
5.300000190734863
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Affected products

VendorProductVersions
OpenSSLOpenSSL3.1.0, 3.0.0, 1.1.1
amazon:2openssl0
alpineopenssl30
amazon:2openssl-perl0
amazon:2openssl-static0
SiemensSIDIS Prime0
SiemensSIMATIC S7-1500 TM MFP - GNU/Linux subsystem0
amazon:2openssl-libs0
OpenSSLOpenSSL3.0.0, 3.1.0, 1.0.2
alpineopenssl1.1-compat0
amazon:2edk2-tools0
amazon:2edk2-tools-python0
amazon:2023openssl-perl0
wolfiopenssl0
amazon:2edk2-tools-doc0
amazon:2edk2-ovmf0
chainguardopenssl0
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP3.1.0
chainguardopenssl-provider-fips*
amazon:2openssl-devel0

…and 13 more

Timeline

  • Jul 19, 2023 CVE Published
  • Jul 20, 2023 EPSS Score (30 in total, the first dated here)
  • Dec 16, 2025 PoC Published
  • Feb 13, 2026 Security Advisory (70 in total, the first dated here)
  • Aug 8, 2026 Coalition ESS Score
  • Nov 21, 2026 Distribution Patch (65 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2023-3446
vulnetix vdb fixes CVE-2023-3446

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-3446/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›