CVE-2023-3817 json
Excessive time spent checking DH q parameter value
published 2023-07-31 3 y ago modified 2026-10-14 25 d ago also EUVD-2023-44449 , GHSA-c945-cqj5-wfv6 , JLSEC-2026-241
- cvss
- 5.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.0%
- EPSS 3.0% chance of exploitation in 30 days, percentile 87%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- julia OpenSSL_jll 1.1.22+0, 3.0.10+0
- julia Openresty_jll 1.27.1+0
- OpenSSL OpenSSL 1.0.2zi, 1.1.1v, 3.0.10, 3.1.2
- Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP V3.1.5
- Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP V3.1.5
- Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP V3.1.5
- openssl Debian 12 3.0.10-1~deb12u1
- openssl Debian 14, Debian 13 3.0.10-1
debian advisories DEBIAN-CVE-2023-3817
- edk2 Ubuntu 22.04 LTS 2022.02-3ubuntu0.22.04.4
- edk2 Ubuntu 24.04 LTS 2024.02-2ubuntu0.6
- openssl Ubuntu 20.04 LTS 1.1.1f-1ubuntu2.20
- openssl Ubuntu 22.04 LTS 3.0.2-0ubuntu1.12
- openssl Ubuntu Pro 16.04 LTS 1.0.2g-1ubuntu4.20+esm10
- openssl Ubuntu Pro FIPS-updates 16.04 LTS 1.0.2g-1ubuntu4.fips.4.20.10
- openssl Ubuntu Pro 18.04 LTS 1.1.1-1ubuntu2.1~18.04.23+esm3
- openssl Ubuntu Pro FIPS-updates 18.04 LTS 1.1.1-1ubuntu2.fips.2.1~18.04.23.3
ubuntu advisories UBUNTU-CVE-2023-3817
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- foreman satellite utils 6.13, satellite capsule 6.13, satellite 6.13 3.5.1.23-1.el8sat
- foreman-cli satellite utils 6.13, satellite 6.13 3.5.1.23-1.el8sat
- foreman-ec2 satellite 6.13 3.5.1.23-1.el8sat
- rubygem-git satellite 6.13 1.18.0-1.el8sat
- puppet-agent satellite capsule 6.13, satellite 6.13 7.26.0-3.el8sat
- foreman-ovirt satellite 6.13 3.5.1.23-1.el8sat
- python-django satellite capsule 6.13, satellite 6.13 3.2.21-1.el8pc
- foreman-vmware satellite 6.13 3.5.1.23-1.el8sat
red hat advisories RHSA-2023:5931RHSA-2024:2447RHSA-2023:7877RHSA-2024:0208RHSA-2024:0154RHSA-2023:7625
- openssl-3 SLE Module for Basesystem 15 SP5, openSUSE Leap 15.5 3.0.8-150500.5.14.1
- openssl-3 SLE Module for Basesystem 15 SP4, SLE Micro 5.4, SLE Micro 5.3 +3 more 3.0.8-150400.4.37.1
- openssl-1_1 SLE Micro 5.2, SLE Micro 5.1, SLE High Performance Computing 15 SP3-ESPOS +9 more 1.1.1d-150200.11.75.1
- openssl-3 SLE Module for Basesystem 15 SP4, SLE Micro 5.4, SLE Micro 5.3 +3 more 3.0.8-150400.4.34.1
- openssl-1_1 SLE Module for Basesystem 15 SP4, SLE Micro 5.4, SLE Micro 5.3 +3 more 1.1.1l-150400.7.53.1
- openssl-1_0_0 SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 1.0.2p-3.84.1
- openssl-1_0_0 SLE Module for Legacy 15 SP5, SLE Module for Legacy 15 SP4, openSUSE Leap 15.5 +1 more 1.0.2p-150000.3.85.1
- openssl SLES 12 SP2-BCL 1.0.2j-60.104.1
suse advisories SUSE-SU-2023:4190-1SUSE-SU-2023:4189-1SUSE-SU-2023:3291-2SUSE-SU-2023:3958-1SUSE-SU-2023:3244-2SUSE-SU-2023:3397-1
- openssl-1_1 openSUSE Tumbleweed 1.1.1v-1.1
- openssl-3 openSUSE Tumbleweed 3.1.2-1.1
- openssl-1_0_0 openSUSE Tumbleweed 1.0.2u-22.1
opensuse advisories openSUSE-SU-2024:13090-1openSUSE-SU-2024:13097-1openSUSE-SU-2024:13111-1
- openssl AlmaLinux 9 1:3.0.7-27.el9
- openssl-libs AlmaLinux 9 1:3.0.7-27.el9
- openssl-perl AlmaLinux 9 1:3.0.7-27.el9
- openssl AlmaLinux 8 1:1.1.1k-12.el8_9
- openssl-libs AlmaLinux 8 1:1.1.1k-12.el8_9
- openssl-perl AlmaLinux 8 1:1.1.1k-12.el8_9
almalinux advisories ALSA-2024:2447ALSA-2023:7877
- openssl Rocky Linux 8 1:1.1.1k-12.el8_9
rocky linux advisories RLSA-2023:7877
- openssl Alpine 3.16, Alpine 3.15 1.1.1v-r0
- openssl Alpine 3.17 3.0.10-r0
- openssl Alpine 3.24, Alpine 3.23, Alpine 3.22 +4 more 3.1.2-r0
- openssl3 Alpine 3.16, Alpine 3.15 3.0.11-r0
alpine advisories ALPINE-CVE-2023-3817
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- openssl CBL-Mariner 2.0 1.1.1k-26
- rust CBL-Mariner 2.0, Azure Linux 3.0 1.68.2-5
- edk2 CBL-Mariner 2.0, Azure Linux 3.0 20230301gitf80f052277c8-37
- hvloader CBL-Mariner 2.0 1.0.1-9
azure linux advisories AZL-27815AZL-27817AZL-31139AZL-34669AZL-35247AZL-37764
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
- git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=6a1eb62c29db6cb5eec70… patch
- git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=9002fd07327a91f35ba6c… patch
- git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=91ddeba0f2269b017dc06… patch
- git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=869ad69aadd985c7b8ca6… patch
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-3817 updated cvss 5.3
OpenSSL: Excessive time spent checking DH q parameter value
-
Red Hat Enterprise Linux 6 openssl, openssl-perl Red Hat Enterprise Linux 7 openssl, openssl-libs, openssl-perlaffected: workaround, no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 8 mingw-openssl, mingw32-openssl, mingw64-openssl, compat-openssl10 Red Hat Enterprise Linux 9 compat-openssl11affected: workaround, no fix available “Fix deferred”
-
Red Hat JBoss Core Services jbcs-httpd24-openssl-chil jbcs-httpd24-openssl-chil, jbcs-httpd24-openssl-pkcs11 jbcs-httpd24-openssl-pkcs11affected: workaround, no fix available
-
Red Hat Enterprise Linux AppStream (v. 9) openssl-perl 3.0.7-27.el9fixed: vendor fix RHSA-2024:2447
-
Red Hat Enterprise Linux BaseOS (v. 8) openssl 1.1.1k-12.el8_9, openssl-libs 1.1.1k-12.el8_9, openssl-perl 1.1.1k-12.el8_9fixed: vendor fix RHSA-2023:7877
-
Red Hat Enterprise Linux BaseOS (v. 9) openssl 3.0.7-27.el9, openssl-libs 3.0.7-27.el9fixed: vendor fix RHSA-2024:2447
-
Red Hat Enterprise Linux BaseOS EUS (v.8.6) openssl 1.1.1k-12.el8_6, openssl-libs 1.1.1k-12.el8_6, openssl-perl 1.1.1k-12.el8_6fixed: vendor fix RHSA-2024:0208
-
Red Hat Enterprise Linux BaseOS EUS (v.8.8) openssl 1.1.1k-12.el8_8, openssl-libs 1.1.1k-12.el8_8, openssl-perl 1.1.1k-12.el8_8fixed: vendor fix RHSA-2024:0154
show 6 moreshow fewer
-
Red Hat JBoss Core Servicesfixed: vendor fix RHSA-2023:7626
-
Red Hat JBoss Core Services on RHEL 7 Server jbcs-httpd24-openssl 1.1.1k-16.el7jbcs, jbcs-httpd24-openssl-libs 1.1.1k-16.el7jbcs, jbcs-httpd24-openssl-perl 1.1.1k-16.el7jbcs Red Hat JBoss Core Services on RHEL 8 jbcs-httpd24-openssl 1.1.1k-16.el8jbcs, jbcs-httpd24-openssl-libs 1.1.1k-16.el8jbcs, jbcs-httpd24-openssl-perl 1.1.1k-16.el8jbcsfixed: vendor fix RHSA-2023:7625
-
Red Hat JBoss Web Server 5fixed: vendor fix RHSA-2023:7623
-
Red Hat JBoss Web Server 5.7 for RHEL 7 Server jws5-tomcat-native 1.2.31-16.redhat_16.el7jws Red Hat JBoss Web Server 5.7 for RHEL 8 jws5-tomcat-native 1.2.31-16.redhat_16.el8jws Red Hat JBoss Web Server 5.7 for RHEL 9 jws5-tomcat-native 1.2.31-16.redhat_16.el9jwsfixed: vendor fix RHSA-2023:7622
-
Red Hat Satellite 6.13 for RHEL 8 puppet-agent 7.26.0-3.el8satfixed: vendor fix RHSA-2023:5931
-
Red Hat Cryostat 2 openssl Red Hat Enterprise Linux 8 openssl-pkcs11, openssl-ibmpkcs11 Red Hat Enterprise Linux 9 openssl-ibmca, openssl-pkcs11 Red Hat Enterprise Linux BaseOS (v. 9) openssl-fips-provider 3.0.7-2.el9 Red Hat JBoss Core Services on RHEL 7 Server jbcs-httpd24-curl 8.4.0-2.el7jbcs, jbcs-httpd24-httpd 2.4.57-7.el7jbcs, jbcs-httpd24-libcurl 8.4.0-2.el7jbcs, jbcs-httpd24-mod_md 2.4.24-2.el7jbcs, jbcs-httpd24-mod_ssl 2.4.57-7.el7jbcs, jbcs-httpd24-mod_ldap 2.4.57-7.el7jbcs, +20 more Red Hat JBoss Core Services on RHEL 8 jbcs-httpd24-curl 8.4.0-2.el8jbcs, jbcs-httpd24-httpd 2.4.57-7.el8jbcs, jbcs-httpd24-libcurl 8.4.0-2.el8jbcs, jbcs-httpd24-mod_md 2.4.24-2.el8jbcs, jbcs-httpd24-mod_ssl 2.4.57-7.el8jbcs, jbcs-httpd24-mod_ldap 2.4.57-7.el8jbcs, +20 morenot affected: vulnerable code not present
+4 more productsfewer
Red Hat JBoss Web Server 5.7 for RHEL 7 Server jws5-tomcat 9.0.62-19.redhat_00017.1.el7jws, jws5-tomcat-lib 9.0.62-19.redhat_00017.1.el7jws, jws5-tomcat-javadoc 9.0.62-19.redhat_00017.1.el7jws, jws5-tomcat-selinux 9.0.62-19.redhat_00017.1.el7jws, jws5-tomcat-webapps 9.0.62-19.redhat_00017.1.el7jws, jws5-tomcat-java-jdk8 9.0.62-19.redhat_00017.1.el7jws, +6 more Red Hat JBoss Web Server 5.7 for RHEL 8 jws5-tomcat 9.0.62-19.redhat_00017.1.el8jws, jws5-tomcat-lib 9.0.62-19.redhat_00017.1.el8jws, jws5-tomcat-javadoc 9.0.62-19.redhat_00017.1.el8jws, jws5-tomcat-selinux 9.0.62-19.redhat_00017.1.el8jws, jws5-tomcat-webapps 9.0.62-19.redhat_00017.1.el8jws, jws5-tomcat-el-3.0-api 9.0.62-19.redhat_00017.1.el8jws, +4 more Red Hat JBoss Web Server 5.7 for RHEL 9 jws5-tomcat 9.0.62-19.redhat_00017.1.el9jws, jws5-tomcat-lib 9.0.62-19.redhat_00017.1.el9jws, jws5-tomcat-javadoc 9.0.62-19.redhat_00017.1.el9jws, jws5-tomcat-selinux 9.0.62-19.redhat_00017.1.el9jws, jws5-tomcat-webapps 9.0.62-19.redhat_00017.1.el9jws, jws5-tomcat-el-3.0-api 9.0.62-19.redhat_00017.1.el9jws, +4 more Red Hat Satellite 6.13 for RHEL 8 foreman 3.5.1.23-1.el8sat, satellite 6.13.5-1.el8sat, rubygem-git 1.18.0-1.el8sat, python-django 3.2.21-1.el8pc, foreman-cli 3.5.1.23-1.el8sat, foreman-ec2 3.5.1.23-1.el8sat, +25 more
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
cisa ICSA-23-348-10 updated cvss 5.3
Siemens SIMATIC S7-1500
-
Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= 3.1.0, < 3.1.5 Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= 3.1.0, < 3.1.5 Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= 3.1.0, < 3.1.5 Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0) >= 3.1.0, < 3.1.5 Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0) >= 3.1.0, < 3.1.5affected: fixed in V3.1.5, mitigation support.industry.siemens.com
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
cisa ICSA-24-319-08 updated cvss 5.3
Siemens SINEC INS
-
Siemens SINEC INS <V1.0_SP2_Update_3affected: fixed in V1.0 support.industry.siemens.com
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
cisa ICSA-24-046-15 updated cvss 5.3
Siemens SINEC NMS
-
Siemens SINEC NMS <V2.0_SP1affected: fixed in V2.0 support.industry.siemens.com
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
cisa ICSA-23-320-13 updated cvss 5.3
Siemens SIMATIC MV500
-
Siemens SIMATIC MV500 family <V3.3.5affected: fixed in V3.3.5 support.industry.siemens.com
Facts from CISA's republication of the vendor's own advisory (CSAF); the linked advisory is the authoritative source. CISA notification · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 18 mo ago
Exploit prediction
3.05% chance of exploitation in the next 30 days, higher than 87% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| NVD | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| CNA | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| OSV | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| julia | OpenSSL_jll | <1.1.22+0 >=3.0.8+0, <3.0.10+0 |
1.1.22+0 3.0.10+0 |
| julia | Openresty_jll | <1.27.1+0 |
1.27.1+0 |
Affected products
- OpenSSL OpenSSL
- Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP
- Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP
- Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP
Classification
- Weakness
- Technology feeds
References
-
git.openssl.org
/gitweb/?p=openssl.git;a=commitdiff;h=6a1eb62c29db6cb5eec707f9338aee00f44e26f5
patch, mailing-list, web
-
git.openssl.org
/gitweb/?p=openssl.git;a=commitdiff;h=9002fd07327a91f35ba6c1307e71fa6fd4409b7f
patch, mailing-list, web
-
git.openssl.org
/gitweb/?p=openssl.git;a=commitdiff;h=91ddeba0f2269b017dc06c46c993a788974b1aa5
patch, mailing-list, web
-
git.openssl.org
/gitweb/?p=openssl.git;a=commitdiff;h=869ad69aadd985c7b8ca6f4e5dd0eb274c9f3644
patch, broken-link, web
-
openssl.org
/news/secadv/20230731.txt
vendor-advisory, web
-
seclists.org
/fulldisclosure/2023/Jul/43
web
-
openwall.com
/lists/oss-security/2023/07/31/1
web
-
lists.debian.org
/debian-lts-announce/2023/08/msg00019.html
web
-
security.netapp.com
/advisory/ntap-20230818-0014/
web
-
openwall.com
/lists/oss-security/2023/09/22/9
web
-
openwall.com
/lists/oss-security/2023/09/22/11
web
-
security.netapp.com
/advisory/ntap-20231027-0008/
web
-
openwall.com
/lists/oss-security/2023/11/06/2
web
-
security.gentoo.org
/glsa/202402-08
web
-
security.netapp.com
/advisory/ntap-20240621-0006/
web
- cert-portal.siemens.com /productcert/html/ssa-099606.html
- cert-portal.siemens.com /productcert/html/ssa-398330.html
- cert-portal.siemens.com /productcert/html/ssa-943925.html
- cert-portal.siemens.com /productcert/html/ssa-915275.html
-
github.com
/advisories/GHSA-c945-cqj5-wfv6
web
-
nvd.nist.gov
/vuln/detail/CVE-2023-3817
web
-
security.netapp.com
/advisory/ntap-20230818-0014
web
-
security.netapp.com
/advisory/ntap-20231027-0008
web
-
security.netapp.com
/advisory/ntap-20240621-0006
web
Sources
- CVE List CVE-2023-3817
- NVD CVE-2023-3817
- OSV JLSEC-2026-241
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.