SecurityContext

CVE-2023-3817: OpenSSL - Denial of Service

  • Cve: CVE-2023-3817
  • Name: OpenSSL - Denial of Service
  • 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.
  • Impact: Attackers can cause long delays or Denial of Service by supplying excessively long DH keys or parameters from untrusted sources.
  • Remediation: Update to the latest OpenSSL version where this issue is fixed or apply available patches.
  • Vulnerability type: denial_of_service
  • Vulnerability impact: denial_of_service
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.3
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
  • Epss score: 0.03047
  • Epss percentile: 0.87879
  • Assignee: [email protected]
  • Published at: 2023-07-31T16:15:10Z
  • Age in days: 1212
  • Modified at: 2026-10-14T22:17:16Z
  • Patch available: yes
  • References total: 18
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-3817
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements

Cwe

IdName
CWE-606Unchecked Input for Loop Condition
CWE-834Excessive Iteration

Hackerone

  • Reports: 1
  • Rank: 5211

References

Same in every row:

  • Source: nvd
UrlTags
https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=6a1eb62c29db6cb5eec707f9338aee00f44e26f5Mailing List, Patch
https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=9002fd07327a91f35ba6c1307e71fa6fd4409b7fMailing List, Patch
https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=91ddeba0f2269b017dc06c46c993a788974b1aa5Mailing List, Patch
https://www.openssl.org/news/secadv/20230731.txtVendor Advisory
http://seclists.org/fulldisclosure/2023/Jul/43
http://www.openwall.com/lists/oss-security/2023/07/31/1
http://www.openwall.com/lists/oss-security/2023/09/22/11
http://www.openwall.com/lists/oss-security/2023/09/22/9
http://www.openwall.com/lists/oss-security/2023/11/06/2
https://lists.debian.org/debian-lts-announce/2023/08/msg00019.html

Products

ProductAffectedPlatform boundSourcesUrl
openssl:openssl= 1.1.1 pre9; = 1.1.1 pre8; = 1.1.1 pre7; = 1.1.1 pre6; = 1.1.1 pre5; = 1.1.1 pre4; >= 3.1.0, < 3.1.2; >= 3.0.0, < 3.0.10; = 1.0.2 beta3; = 1.1.1 pre3; = 1.0.2 beta2; = 1.1.1 pre2; = 1.1.1; = 1.1.1 pre1; = 1.1.1a; = 1.1.1b; = 1.1.1c; = 1.1.1d; = 1.1.1e; = 1.1.1f; = 1.1.1g; = 1.1.1h; = 1.1.1i; = 1.1.1j; = 1.1.1k; = 1.1.1l; = 1.1.1m; = 1.1.1n; = 1.1.1o; = 1.1.1p; = 1.1.1q; = 1.1.1r; = 1.1.1s; = 1.1.1t; = 1.1.1u; = 1.0.2; = 1.0.2 beta1; = 1.0.2a; = 1.0.2b; = 1.0.2c; = 1.0.2d; = 1.0.2e; = 1.0.2f; = 1.0.2g; = 1.0.2h; = 1.0.2i; = 1.0.2j; = 1.0.2k; = 1.0.2l; = 1.0.2m; = 1.0.2n; = 1.0.2o; = 1.0.2p; = 1.0.2q; = 1.0.2r; = 1.0.2s; = 1.0.2t; = 1.0.2u; = 1.0.2v; = 1.0.2w; = 1.0.2x; = 1.0.2y; = 1.0.2za; = 1.0.2zb; = 1.0.2zc; = 1.0.2zd; = 1.0.2ze; = 1.0.2zf; = 1.0.2zg; = 1.0.2zhnonvd/v1/products/openssl/openssl

Projects

RepositoryLink kindsIndexedUrl
openssl/opensslfixyes/v1/repositories/openssl/openssl

Index

  • Repositories: 1103
  • Repositories high signal: 647
  • Checked, none or zero: packages

Exploitation

  • Remote: yes
  • Hackerone reports: 1
  • Exposed hosts: 2065277
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since