cve.bz

CVE-2023-3817 openssl openssl: Excessive Iteration

5.3 mediumEPSS 4.3%Fix available

Medium (5.3) in openssl openssl. EPSS 4.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS
4.3% (up from 3.0% a week ago; 3.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 92nd percentile. Scored 2026-11-30. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2025-04-23. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-834 Excessive Iteration
CWE-606 Unchecked Input for Loop Condition
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-3817 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-3817?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-3817?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-3817 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
OpenSSLfrom 3.1.0 before 3.1.2
OpenSSLfrom 3.0.0 before 3.0.10
OpenSSLfrom 1.1.1 before 1.1.1v
OpenSSLfrom 1.0.2 before 1.0.2zi

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10openssl1.1.1n-0+deb10u6DLA-3530-1
Debian12openssl3.0.10-1~deb12u1DEBIAN-CVE-2023-3817
Debian13, 14openssl3.0.10-1DEBIAN-CVE-2023-3817
Ubuntu20.04:LTSopenssl1.1.1f-1ubuntu2.20UBUNTU-CVE-2023-3817 USN-6435-2
Ubuntu22.04:LTSedk22022.02-3ubuntu0.22.04.4UBUNTU-CVE-2023-3817 USN-7894-1
Ubuntu22.04:LTSopenssl3.0.2-0ubuntu1.12UBUNTU-CVE-2023-3817 USN-6450-1
Ubuntu24.04:LTSedk22024.02-2ubuntu0.6UBUNTU-CVE-2023-3817 USN-7894-1
UbuntuPro:16.04:LTSopenssl1.0.2g-1ubuntu4.20+esm10UBUNTU-CVE-2023-3817 USN-6435-1
UbuntuPro:16.04:LTS, Pro:18.04:LTS, Pro:20.04:LTSedk2no fix listedUBUNTU-CVE-2023-3817
UbuntuPro:18.04:LTSopenssl1.1.1-1ubuntu2.1~18.04.23+esm3UBUNTU-CVE-2023-3817 USN-6435-1
UbuntuPro:18.04:LTSopenssl1.01.0.2n-1ubuntu5.13+esm1UBUNTU-CVE-2023-3817 USN-6709-1
UbuntuPro:22.04:LTSnodejsno fix listedUBUNTU-CVE-2023-3817
UbuntuPro:FIPS-preview:22.04:LTS, Pro:FIPS-updates:22.04:LTSopenssl3.0.2-0ubuntu1.12+Fips1UBUNTU-CVE-2023-3817
UbuntuPro:FIPS-updates:16.04:LTSopenssl1.0.2g-1ubuntu4.fips.4.20.10UBUNTU-CVE-2023-3817
UbuntuPro:FIPS-updates:18.04:LTSopenssl1.1.1-1ubuntu2.fips.2.1~18.04.23.3UBUNTU-CVE-2023-3817
2 more for Ubuntu in the JSON and on Ubuntu's page.
Red Hatenterprise_linux:8::baseosopenssl, openssl-libs, openssl-perl and 4 more1:1.1.1k-12.el8_9RHSA-2023:7877
Red Hatenterprise_linux:9::appstreamopenssl-perl, openssl-devel, openssl-debuginfo and 2 more1:3.0.7-27.el9RHSA-2024:2447
Red Hatenterprise_linux:9::baseosopenssl, openssl-libs, openssl-debuginfo and 2 more1:3.0.7-27.el9RHSA-2024:2447
Red Hatjboss_core_services:1::el7jbcs-httpd24-curl, jbcs-httpd24-libcurl, jbcs-httpd24-libcurl-devel and 1 more0:8.4.0-2.el7jbcsRHSA-2023:7625
Red Hatjboss_core_services:1::el7jbcs-httpd24-mod_http2, jbcs-httpd24-mod_http2-debuginfo0:1.15.19-32.el7jbcsRHSA-2023:7625
Red Hatjboss_core_services:1::el7jbcs-httpd24-mod_jk, jbcs-httpd24-mod_jk-ap24, jbcs-httpd24-mod_jk-debuginfo0:1.2.49-1.redhat_1.el7jbcsRHSA-2023:7625
Red Hatjboss_core_services:1::el7jbcs-httpd24-openssl, jbcs-httpd24-openssl-libs, jbcs-httpd24-openssl-perl and 3 more1:1.1.1k-16.el7jbcsRHSA-2023:7625
Red Hatjboss_core_services:1::el8jbcs-httpd24-curl, jbcs-httpd24-libcurl, jbcs-httpd24-libcurl-devel and 2 more0:8.4.0-2.el8jbcsRHSA-2023:7625
Red Hatjboss_core_services:1::el8jbcs-httpd24-mod_http2, jbcs-httpd24-mod_http2-debuginfo0:1.15.19-32.el8jbcsRHSA-2023:7625
Red Hatjboss_core_services:1::el8jbcs-httpd24-mod_jk, jbcs-httpd24-mod_jk-ap24, jbcs-httpd24-mod_jk-ap24-debuginfo0:1.2.49-1.redhat_1.el8jbcsRHSA-2023:7625
Red Hatjboss_core_services:1::el8jbcs-httpd24-openssl, jbcs-httpd24-openssl-libs, jbcs-httpd24-openssl-perl and 4 more1:1.1.1k-16.el8jbcsRHSA-2023:7625
Red Hatjboss_enterprise_web_server:5.7::el7jws5-tomcat, jws5-tomcat-lib, jws5-tomcat-javadoc and 9 more0:9.0.62-19.redhat_00017.1.el7jwsRHSA-2023:7622
15 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise High Performance Computing 15 SP3-ESPOS and 5 moreopenssl-1_11.1.1d-150200.11.75.1SUSE-SU-2023:3291-2
SUSELinux Enterprise High Performance Computing 15 SP1-LTSS, Linux Enterprise Server 15 SP1-LTSS, Linux Enterprise Server for SAP Applications 15 SP1openssl-1_11.1.0i-150100.14.65.6SUSE-SU-2023:3958-1
SUSELinux Enterprise Micro 5.1, Linux Enterprise Micro 5.2, Manager Proxy 4.2 and 1 moreopenssl-1_11.1.1d-150200.11.75.1SUSE-SU-2023:3291-1
SUSELinux Enterprise Micro 5.3, Linux Enterprise Micro 5.4openssl-33.0.8-150400.4.34.1SUSE-SU-2023:3244-2
SUSELinux Enterprise Micro 5.3, Linux Enterprise Micro 5.4, Linux Enterprise Module for Basesystem 15 SP4openssl-1_11.1.1l-150400.7.53.1SUSE-SU-2023:3397-1
SUSELinux Enterprise Micro 5.3, Linux Enterprise Micro 5.4, Linux Enterprise Module for Basesystem 15 SP4openssl-33.0.8-150400.4.37.1SUSE-SU-2023:4189-1
SUSELinux Enterprise Module for Basesystem 15 SP4openssl-33.0.8-150400.4.34.1SUSE-SU-2023:3244-1
SUSELinux Enterprise Module for Basesystem 15 SP5openssl-1_11.1.1l-150500.17.15.1SUSE-SU-2023:3242-1
SUSELinux Enterprise Module for Basesystem 15 SP5openssl-33.0.8-150500.5.11.1SUSE-SU-2023:3243-1
SUSELinux Enterprise Module for Basesystem 15 SP5openssl-33.0.8-150500.5.14.1SUSE-SU-2023:4190-1
SUSELinux Enterprise Module for Legacy 15 SP4, Linux Enterprise Module for Legacy 15 SP5openssl-1_0_01.0.2p-150000.3.85.1SUSE-SU-2023:3338-1
SUSELinux Enterprise Server 12 SP2-BCLopenssl1.0.2j-60.104.1SUSE-SU-2023:3308-1
2 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.4openssl-33.0.8-150400.4.34.1SUSE-SU-2023:3244-1
openSUSELeap 15.4, Leap 15.5openssl-1_0_01.0.2p-150000.3.85.1SUSE-SU-2023:3338-1
openSUSELeap 15.4, Leap Micro 5.3, Leap Micro 5.4openssl-1_11.1.1l-150400.7.53.1SUSE-SU-2023:3397-1
openSUSELeap 15.4, Leap Micro 5.3, Leap Micro 5.4openssl-33.0.8-150400.4.37.1SUSE-SU-2023:4189-1
openSUSELeap 15.5openssl-1_11.1.1l-150500.17.15.1SUSE-SU-2023:3242-1
openSUSELeap 15.5openssl-33.0.8-150500.5.11.1SUSE-SU-2023:3243-1
openSUSELeap 15.5openssl-33.0.8-150500.5.14.1SUSE-SU-2023:4190-1
openSUSELeap Micro 5.3, Leap Micro 5.4openssl-33.0.8-150400.4.34.1SUSE-SU-2023:3244-2
openSUSETumbleweedopenssl-1_0_01.0.2u-22.1openSUSE-SU-2024:13111-1
openSUSETumbleweedopenssl-1_11.1.1v-1.1openSUSE-SU-2024:13090-1
openSUSETumbleweedopenssl-33.1.2-1.1openSUSE-SU-2024:13097-1
AlmaLinux8openssl, openssl-libs, openssl-perl and 1 more1:1.1.1k-12.el8_9ALSA-2023:7877
AlmaLinux9openssl, openssl-libs, openssl-perl and 1 more1:3.0.7-27.el9ALSA-2024:2447
Rocky Linux8openssl1:1.1.1k-12.el8_9RLSA-2023:7877
Alpinev3.15, v3.16openssl1.1.1v-r0ALPINE-CVE-2023-3817
Alpinev3.15, v3.16openssl33.0.11-r0ALPINE-CVE-2023-3817
Alpinev3.17openssl3.0.10-r0ALPINE-CVE-2023-3817
Alpinev3.18, v3.19, v3.20 and 4 moreopenssl3.1.2-r0ALPINE-CVE-2023-3817
Azure Linux2edk220230301gitf80f052277c8-37AZL-31139
Azure Linux2hvloader1.0.1-9AZL-37764
Azure Linux2openssl1.1.1k-26AZL-27815
Azure Linux2rust1.68.2-5AZL-27817
Azure Linux3edk220230301gitf80f052277c8-37AZL-34669
Azure Linux3rust1.68.2-5AZL-35247

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Low.

Red Hat's statement

This vulnerability in OpenSSL is considered low severity primarily because it requires specific conditions to be exploited and has limited impact. While excessive computation time during DH parameter checks could potentially lead to denial of service (DoS) attacks, the likelihood of successful exploitation is relatively low. Additionally, the vulnerability mainly affects applications that use certain OpenSSL functions for DH parameter validation, rather than the broader SSL/TLS implementation.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
JBoss Core Services for RHEL 8jbcs-httpd24-openssl-1:1.1.1k-16.el8jbcsFixed 2023-12-07RHSA-2023:7625
JBoss Core Services on RHEL 7jbcs-httpd24-openssl-1:1.1.1k-16.el7jbcsFixed 2023-12-07RHSA-2023:7625
OSE-OSC-1.6-RHEL-9openshift-sandboxed-containers/osc-cloud-api-adaptor-rhel9:1.6.0-7Fixed 2024-06-19RHBA-2024:3964
OSE-OSC-1.6-RHEL-9openshift-sandboxed-containers/osc-cloud-api-adaptor-webhook-rhel9:1.6.0-7Fixed 2024-06-19RHBA-2024:3964
OSE-OSC-1.6-RHEL-9openshift-sandboxed-containers/osc-monitor-rhel9:1.6.0-4Fixed 2024-06-19RHBA-2024:3964
OSE-OSC-1.6-RHEL-9openshift-sandboxed-containers/osc-must-gather-rhel9:1.6.0-12Fixed 2024-06-19RHBA-2024:3964
OSE-OSC-1.6-RHEL-9openshift-sandboxed-containers/osc-operator-bundle:1.6.0-62Fixed 2024-06-19RHBA-2024:3964
OSE-OSC-1.6-RHEL-9openshift-sandboxed-containers/osc-podvm-builder-rhel9:1.6.0-13Fixed 2024-06-19RHBA-2024:3964
OSE-OSC-1.6-RHEL-9openshift-sandboxed-containers/osc-podvm-payload-rhel9:1.6.0-7Fixed 2024-06-19RHBA-2024:3964
OSE-OSC-1.6-RHEL-9openshift-sandboxed-containers/osc-rhel9-operator:1.6.0-13Fixed 2024-06-19RHBA-2024:3964
Cryostat 2opensslNot affected
Red Hat Enterprise Linux 6opensslOut of support scope
Red Hat Enterprise Linux 7opensslOut of support scope
Red Hat Enterprise Linux 8compat-openssl10Fix deferred
Red Hat Enterprise Linux 8mingw-opensslFix deferred
Red Hat Enterprise Linux 8openssl-ibmpkcs11Not affected
Red Hat Enterprise Linux 8openssl-pkcs11Not affected
Red Hat Enterprise Linux 9compat-openssl11Fix deferred
Red Hat Enterprise Linux 9openssl-ibmcaNot affected
Red Hat Enterprise Linux 9openssl-pkcs11Not affected
12 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-3817.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-24-319-08Siemens SINEC INS2024-11-12MultipleSINEC INSnone listed
ICSA-24-046-15Siemens SINEC NMS2024-02-13MultipleSINEC NMSnone listed
ICSA-23-348-10Siemens SIMATIC S7-15002023-12-12Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and FacilitiesSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0), SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0), SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) and 2 morenone listed
ICSA-23-320-13Siemens SIMATIC MV5002023-11-14MultipleSIMATIC MV500 familynone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

References

Check your stackJSON