VDB

CVE-2023-3817

CVE-2023-3817 PUBLISHED CVSS 5.300000190734863 MEDIUM

Excessive time spent checking DH q parameter value

Reported by openssl · Published July 31, 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. After fixing CVE-2023-3446 it was discovered that a large q parameter value can also trigger an overly long computation during some of these checks. A correct q value, if present, cannot be larger than the modulus p parameter, thus it is unnecessary to perform these checks if q is larger than p. An application that calls DH_check() and supplies a key or parameters obtained from an untrusted source could be vulnerable 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
opensslAmazon Linux1:3.0.8-1.amzn2023.0.4, 1:1.0.2k-24.amzn2.0.9
openssl-perlAmazon Linux1:3.0.8-1.amzn2023.0.4, 1:1.0.2k-24.amzn2.0.9
edk2-tools-pythonAmazon Linux20200801stable-1.amzn2.0.2
edk2-ovmfAmazon Linux20200801stable-1.amzn2.0.2
openssl-develAmazon Linux1:3.0.8-1.amzn2023.0.4, 1:1.0.2k-24.amzn2.0.9
opensslWolfi3.1.1-r4
openssl-staticAmazon Linux1:1.0.2k-24.amzn2.0.9
edk2-toolsAmazon Linux20200801stable-1.amzn2.0.2
openssl11-libsAmazon Linux1:1.1.1g-12.amzn2.0.16
opensslconan.io3.1.2, 3.0.10
openssl11-develAmazon Linux1:1.1.1g-12.amzn2.0.16
edk2-aarch64Amazon Linux20200801stable-1.amzn2.0.2

11 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
SiemensSIMATIC S7-1500 CPU 1518F-4 PN/DP MFP3.1.0
amazon:2023openssl-perl0
amazon:2edk2-tools-python0
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP3.1.0
amazon:2edk2-ovmf0
amazon:2023openssl-devel0
wolfiopenssl0
amazon:2openssl-static0
amazon:2edk2-tools0
amazon:2openssl11-libs0
ConanCenteropenssl1.1.1d, 1.1.1b, 1.1.1m
amazon:2openssl11-devel0
amazon:2edk2-aarch640
chainguardopenssl-provider-fips*
amazon:2023openssl0
amazon:2openssl-libs0
alpineopenssl30
alpineopenssl0, 0, 0

…and 10 more

Timeline

  • Jul 31, 2023 CVE Published
  • Aug 1, 2023 EPSS Score (30 in total, the first dated here)
  • Dec 16, 2025 PoC Published
  • Feb 9, 2026 Security Advisory (73 in total, the first dated here)
  • Aug 6, 2026 Coalition ESS Score
  • Nov 21, 2026 Distribution Patch (68 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2023-3817
vulnetix vdb fixes CVE-2023-3817

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-3817/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 ›