Excessive time spent checking DH q parameter value

Summary

CVECVE-2023-3817
StatePUBLISHED
Assigneropenssl
Source PriorityCVE Program / NVD first with legacy fallback
Published2023-07-31 16:15:10 UTC
Updated2026-10-14 22:17:16 UTC
DescriptionIssue 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.

Risk And Classification

Primary CVSS: v3.1 5.3 MEDIUM from [email protected]

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

Problem Types: CWE-606 | CWE-834 | CWE-606 CWE-606 Unchecked Input for Loop Condition


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary5.3MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
3.1ADPDECLARED5.3MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
3.1134c704f-9b21-4f2e-91b3-4a467353bcc0Secondary5.3MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low

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

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Openssl Openssl All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA OpenSSL OpenSSL affected 3.1.0 3.1.2 semver Not specified
CNA OpenSSL OpenSSL affected 3.0.0 3.0.10 semver Not specified
CNA OpenSSL OpenSSL affected 1.1.1 1.1.1v custom Not specified
CNA OpenSSL OpenSSL affected 1.0.2 1.0.2zi custom Not specified
ADP Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP affected V3.1.0 V3.1.5 custom Not specified
ADP Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP affected V3.1.0 V3.1.5 custom Not specified
ADP Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP affected V3.1.0 V3.1.5 custom Not specified
ADP Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP affected V3.1.0 V3.1.5 custom Not specified
ADP Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP affected V3.1.0 V3.1.5 custom Not specified

References

ReferenceSourceLinkTags
cert-portal.siemens.com/productcert/html/ssa-398330.html 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e cert-portal.siemens.com
git.openssl.org Git - openssl.git/commitdiff af854a3a-2127-422b-91ae-364da2661108 git.openssl.org Broken Link
oss-security - OpenSSL Security Advisory af854a3a-2127-422b-91ae-364da2661108 www.openwall.com
CVE-2023-3817 OpenSSL Vulnerability in NetApp Products | NetApp Product Security af854a3a-2127-422b-91ae-364da2661108 security.netapp.com
oss-security - Re: illumos (or at least danmcd) membership in the distros list af854a3a-2127-422b-91ae-364da2661108 www.openwall.com
security.netapp.com/advisory/ntap-20240621-0006 af854a3a-2127-422b-91ae-364da2661108 security.netapp.com
git.openssl.org Git - openssl.git/commitdiff af854a3a-2127-422b-91ae-364da2661108 git.openssl.org Mailing List, Patch
OpenSSL: Multiple Vulnerabilities (GLSA 202402-08) — Gentoo security af854a3a-2127-422b-91ae-364da2661108 security.gentoo.org
cert-portal.siemens.com/productcert/html/ssa-915275.html 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e cert-portal.siemens.com
[SECURITY] [DLA 3530-1] openssl security update af854a3a-2127-422b-91ae-364da2661108 lists.debian.org
www.openssl.org/news/secadv/20230731.txt af854a3a-2127-422b-91ae-364da2661108 www.openssl.org Vendor Advisory
oss-security - OpenSSL Security Advisory af854a3a-2127-422b-91ae-364da2661108 www.openwall.com
git.openssl.org Git - openssl.git/commitdiff af854a3a-2127-422b-91ae-364da2661108 git.openssl.org Mailing List, Patch
git.openssl.org Git - openssl.git/commitdiff af854a3a-2127-422b-91ae-364da2661108 git.openssl.org Mailing List, Patch
oss-security - Re: illumos (or at least danmcd) membership in the distros list af854a3a-2127-422b-91ae-364da2661108 www.openwall.com
cert-portal.siemens.com/productcert/html/ssa-099606.html 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e cert-portal.siemens.com
SecLists.Org Security Mailing List Archive af854a3a-2127-422b-91ae-364da2661108 seclists.org
CVE-2023-3817 MySQL Connector/ODBC Vulnerability in NetApp Products | NetApp Product Security af854a3a-2127-422b-91ae-364da2661108 security.netapp.com
cert-portal.siemens.com/productcert/html/ssa-943925.html 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e cert-portal.siemens.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Vendor Comments And Credit

Discovery Credit

CNA: Bernd Edlinger (en)

CNA: Tomas Mraz (en)

Legacy QID Mappings

  • 161251 Oracle Enterprise Linux Security Update for Open Secure Sockets Layer (OpenSSL) (ELSA-2023-7877)
  • 161287 Oracle Enterprise Linux Security Update for Open Secure Sockets Layer (OpenSSL) (ELSA-2024-12056)
  • 199838 Ubuntu Security Notification for Open Secure Sockets Layer (OpenSSL) Vulnerabilities (USN-6435-1)
  • 199860 Ubuntu Security Notification for Open Secure Sockets Layer (OpenSSL) Vulnerabilities (USN-6450-1)
  • 199865 Ubuntu Security Notification for Open Secure Sockets Layer (OpenSSL) Vulnerabilities (USN-6435-2)
  • 200215 Ubuntu Security Notification for Open Secure Sockets Layer (OpenSSL) Vulnerabilities (USN-6709-1)
  • 242553 Red Hat Update for JBoss Core Services (RHSA-2023:7625)
  • 242632 Red Hat Update for Open Secure Sockets Layer (OpenSSL) (RHSA-2023:7877)
  • 242687 Red Hat Update for Open Secure Sockets Layer (OpenSSL) (RHSA-2024:0154)
  • 242696 Red Hat Update for Open Secure Sockets Layer (OpenSSL) (RHSA-2024:0208)
  • 296105 Oracle Solaris 11.4 Support Repository Update (SRU) 63.157.1 Missing (CPUOCT2023)
  • 330149 IBM Advanced Interactive eXecutive (AIX) Open Secure Sockets Layer (OpenSSL) Multiple Vulnerabilities (openssl_advisory39)
  • 355853 Amazon Linux Security Advisory for edk2 : ALAS2-2023-2205
  • 355881 Amazon Linux Security Advisory for Open Secure Sockets Layer (OpenSSL) : ALAS2023-2023-306
  • 356346 Amazon Linux Security Advisory for Open Secure Sockets Layer (OpenSSL) : AL2012-2023-449
  • 356356 Amazon Linux Security Advisory for Open Secure Sockets Layer (OpenSSL) : ALAS-2023-1843
  • 356509 Amazon Linux Security Advisory for openssl-snapsafe : ALAS2OPENSSL-SNAPSAFE-2023-003
  • 357333 Amazon Linux Security Advisory for edk2 : ALAS2-2024-2502
  • 379050 Splunk Enterprise Multiple Vulnerabilities (SVD-2023-1104,SVD-2023-1105)
  • 379095 Splunk Universal Forwarder Multiple Vulnerabilities (SVD-2023-1107)
  • 379266 Oracle Hypertext Transfer Protocol (HTTP) Server Multiple Vulnerabilities (CPUJAN2024)
  • 379452 IBM Cognos Analytics Multiple Vulnerabilities (7123154)
  • 379630 Alibaba Cloud Linux Security Update for Open Secure Sockets Layer (OpenSSL) (ALINUX3-SA-2024:0047)
  • 503089 Alpine Linux Security Update for Open Secure Sockets Layer (OpenSSL)
  • 503090 Alpine Linux Security Update for Open Secure Sockets Layer (OpenSSL)
  • 503124 Alpine Linux Security Update for openssl
  • 503323 Alpine Linux Security Update for openssl3
  • 505909 Alpine Linux Security Update for openssl
  • 6000160 Debian Security Update for Open Secure Sockets Layer (OpenSSL) (DLA 3530-1)
  • 673341 EulerOS Security Update for Open Secure Sockets Layer (OpenSSL) (EulerOS-SA-2023-3225)
  • 673365 EulerOS Security Update for Open Secure Sockets Layer (OpenSSL) (EulerOS-SA-2023-3141)
  • 673398 EulerOS Security Update for linux-sgx (EulerOS-SA-2023-3047)
  • 673476 EulerOS Security Update for Open Secure Sockets Layer (OpenSSL) (EulerOS-SA-2023-3190)
  • 673596 EulerOS Security Update for compat-openssl10 (EulerOS-SA-2023-3117)
  • 673684 EulerOS Security Update for shim (EulerOS-SA-2024-1164)
  • 673749 EulerOS Security Update for Open Secure Sockets Layer (OpenSSL) (EulerOS-SA-2023-3016)
  • 673804 EulerOS Security Update for Open Secure Sockets Layer (OpenSSL) (EulerOS-SA-2023-2902)
  • 673807 EulerOS Security Update for Open Secure Sockets Layer (OpenSSL) (EulerOS-SA-2023-2883)
  • 673858 EulerOS Security Update for openssl111d (EulerOS-SA-2024-1157)
  • 673915 EulerOS Security Update for Open Secure Sockets Layer (OpenSSL) (EulerOS-SA-2024-1155)
  • 673941 EulerOS Security Update for shim (EulerOS-SA-2023-2909)
  • 674034 EulerOS Security Update for shim (EulerOS-SA-2023-2890)
  • 674045 EulerOS Security Update for shim (EulerOS-SA-2023-3044)
  • 674049 EulerOS Security Update for shim (EulerOS-SA-2023-3021)
  • 674089 EulerOS Security Update for Open Secure Sockets Layer (OpenSSL) (EulerOS-SA-2023-3039)
  • 674091 EulerOS Security Update for shim (EulerOS-SA-2023-3232)
  • 674115 EulerOS Security Update for shim (EulerOS-SA-2023-3197)
  • 691222 Free Berkeley Software Distribution (FreeBSD) Security Update for Open Secure Sockets Layer (OpenSSL) (bad6588e-2fe0-11ee-a0d1-84a93843eb75)
  • 691336 Free Berkeley Software Distribution (FreeBSD) Security Update for mysql (22df5074-71cd-11ee-85eb-84a93843eb75)
  • 710857 Gentoo Linux Open Secure Sockets Layer (OpenSSL) Multiple Vulnerabilities (GLSA 202402-08)
  • 754259 SUSE Enterprise Linux Security Update for Open Secure Sockets Layer (OpenSSL)-1_1 (SUSE-SU-2023:3239-1)
  • 754280 SUSE Enterprise Linux Security Update for Open Secure Sockets Layer (OpenSSL)-1_0_0 (SUSE-SU-2023:3339-1)
  • 755030 SUSE Enterprise Linux Security Update for openssl-1_1 (SUSE-SU-2023:3958-1)
  • 755035 SUSE Enterprise Linux Security Update for openssl-1_1 (SUSE-SU-2023:3291-2)
  • 755152 SUSE Enterprise Linux Security Update for openssl-3 (SUSE-SU-2023:4190-1)
  • 755153 SUSE Enterprise Linux Security Update for openssl-3 (SUSE-SU-2023:4189-1)
  • 907265 Common Base Linux Mariner (CBL-Mariner) Security Update for rust (27817-1)
  • 907561 Common Base Linux Mariner (CBL-Mariner) Security Update for edk2 (31139-1)
  • 941507 AlmaLinux Security Update for Open Secure Sockets Layer (OpenSSL) (ALSA-2023:7877)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report