2084AI Security Observatory

CVE

CVE-2023-3817

CVE-2023-3817MED 5.3EPSS 88%

CNA description

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.

Affected versions

All OpenSSL vulnerabilities →

  • ≥ 3.1.0, < 3.1.2Fixed in 3.1.2
  • ≥ 3.0.0, < 3.0.10Fixed in 3.0.10
  • 1.1.1uThis version only
  • 1.1.1tThis version only
  • 1.1.1sThis version only
  • 1.1.1rThis version only
  • 1.1.1qThis version only
  • 1.1.1pThis version only
  • 1.1.1oThis version only
  • 1.1.1nThis version only
  • 1.1.1mThis version only
  • 1.1.1lThis version only
  • 1.1.1kThis version only
  • 1.1.1jThis version only
  • 1.1.1iThis version only
  • 1.1.1hThis version only
  • 1.1.1gThis version only
  • 1.1.1fThis version only
  • 1.1.1eThis version only
  • 1.1.1dThis version only
  • 1.1.1cThis version only
  • 1.1.1bThis version only
  • 1.1.1aThis version only
  • 1.1.1This version only
  • 1.1.1-pre9This version only
  • 1.1.1-pre8This version only
  • 1.1.1-pre7This version only
  • 1.1.1-pre6This version only
  • 1.1.1-pre5This version only
  • 1.1.1-pre4This version only
  • 1.1.1-pre3This version only
  • 1.1.1-pre2This version only
  • 1.1.1-pre1This version only
  • 1.0.2yThis version only
  • 1.0.2xThis version only
  • 1.0.2wThis version only
  • 1.0.2vThis version only
  • 1.0.2uThis version only
  • 1.0.2tThis version only
  • 1.0.2sThis version only
  • 1.0.2rThis version only
  • 1.0.2qThis version only
  • 1.0.2pThis version only
  • 1.0.2oThis version only
  • 1.0.2nThis version only
  • 1.0.2mThis version only
  • 1.0.2lThis version only
  • 1.0.2kThis version only
  • 1.0.2jThis version only
  • 1.0.2iThis version only
  • 1.0.2hThis version only
  • 1.0.2gThis version only
  • 1.0.2fThis version only
  • 1.0.2eThis version only
  • 1.0.2dThis version only
  • 1.0.2cThis version only
  • 1.0.2bThis version only
  • 1.0.2aThis version only
  • 1.0.2This version only
  • 1.0.2zaThis version only
  • 1.0.2zbThis version only
  • 1.0.2zcThis version only
  • 1.0.2zdThis version only
  • 1.0.2zeThis version only
  • 1.0.2zfThis version only
  • 1.0.2zgThis version only
  • 1.0.2zhThis version only
  • 1.0.2-beta3This version only
  • 1.0.2-beta2This version only
  • 1.0.2-beta1This version only

Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.

Advisories and patches

Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.