Skip to content
Fencer Vulns
medium 5.3

CVE-2023-3446 json

Excessive time spent checking DH keys and parameters

published 2023-07-19 3 y ago modified 2026-10-14 25 d ago also EUVD-2023-44108

cvss
5.3
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
6.5%
EPSS 6.5% chance of exploitation in 30 days, percentile 93%
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. One of those checks confirms that the modulus ('p' parameter) is not too large. Trying to use a very large modulus is slow and OpenSSL will not normally use a modulus which is over 10,000 bits in length.

However the DH_check() function checks numerous aspects of the key or parameters that have been supplied. Some of those checks use the supplied modulus value even if it has already been found to be too large.

An application that calls DH_check() and supplies a key or parameters obtained from an untrusted source could be vulernable 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

  • OpenSSL OpenSSL 1.0.2zi, 1.1.1v, 3.0.10, 3.1.2
  • Siemens SIDIS Prime V4.0.700
  • 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 SIMATIC S7-1500 TM MFP - GNU/Linux subsystem V1.1
  • 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-3446

  • 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 14.04 LTS 1.0.1f-1ubuntu2.27+esm10
  • 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

ubuntu advisories UBUNTU-CVE-2023-3446

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

  • edk2 RHEL 9 20231122-6.el9
  • edk2-ovmf RHEL 9 20231122-6.el9
  • edk2-tools RHEL 9 20231122-6.el9
  • edk2-aarch64 RHEL 9 20231122-6.el9
  • openssl RHEL 9 1:3.0.7-27.el9
  • openssl-libs RHEL 9 1:3.0.7-27.el9
  • openssl-perl RHEL 9 1:3.0.7-27.el9
  • openssl RHEL 8 1:1.1.1k-12.el8_9

red hat advisories RHSA-2024:2264RHSA-2024:1415RHSA-2024:2447RHSA-2024:0408RHSA-2023:7877RHSA-2024:0208

  • openssl-1_1 SLES for SAP 15 SP3, SLES for SAP 15 SP2, SLES 15 SP3-LTSS +11 more 1.1.1d-150200.11.72.1
  • openssl SLES 12 SP2-BCL 1.0.2j-60.101.1
  • compat-openssl098 SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLE Module for Legacy 12 0.9.8j-106.58.1
  • openssl-1_0_0 SLES for SAP 15 SP3, SLES for SAP 15 SP2, SLES for SAP 15 SP1 +11 more 1.0.2p-150000.3.82.1
  • openssl-3 SLE Module for Basesystem 15 SP4, openSUSE Leap 15.4 3.0.8-150400.4.31.2
  • openssl-1_0_0 SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 1.0.2p-3.81.1
  • openssl-3 SLE Module for Basesystem 15 SP5, openSUSE Leap 15.5 3.0.8-150500.5.8.1
  • openssl-1_1 SLE Module for Basesystem 15 SP5, openSUSE Leap 15.5 1.1.1l-150500.17.9.1

suse advisories SUSE-SU-2023:3179-1SUSE-SU-2023:3160-1SUSE-SU-2023:3096-1SUSE-SU-2023:3093-1SUSE-SU-2023:3013-1SUSE-SU-2023:3012-1

  • openssl-1_1 openSUSE Tumbleweed 1.1.1u-5.1
  • openssl-3 openSUSE Tumbleweed 3.1.1-3.1
  • openssl-1_0_0 openSUSE Tumbleweed 1.0.2u-21.1

opensuse advisories openSUSE-SU-2024:13064-1openSUSE-SU-2024:13065-1openSUSE-SU-2024:13070-1

  • edk2-ovmf AlmaLinux 9 20231122-6.el9
  • edk2-tools AlmaLinux 9 20231122-6.el9
  • edk2-aarch64 AlmaLinux 9 20231122-6.el9
  • 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
  • edk2-ovmf AlmaLinux 8 20220126gitbb1bba3d77-6.el8_9.3
  • edk2-aarch64 AlmaLinux 8 20220126gitbb1bba3d77-6.el8_9.3

almalinux advisories ALSA-2024:2264ALSA-2024:2447ALSA-2024:0888ALSA-2023:7877

  • openssl Rocky Linux 8 1:1.1.1k-12.el8_9
  • edk2 Rocky Linux 9 20231122-6.el9

rocky linux advisories RLSA-2023:7877RLSA-2024:2264

  • openssl Alpine 3.16, Alpine 3.15 1.1.1u-r2
  • openssl Alpine 3.17 3.0.9-r3
  • openssl Alpine 3.24, Alpine 3.23, Alpine 3.22 +4 more 3.1.1-r3
  • openssl3 Alpine 3.16, Alpine 3.15 3.0.9-r2
  • openssl1.1-compat Alpine 3.18, Alpine 3.17 1.1.1u-r1

alpine advisories ALPINE-CVE-2023-3446

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-28
  • hvloader CBL-Mariner 2.0 1.0.1-6

azure linux advisories AZL-42955AZL-47646

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

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-3446 updated cvss 5.3

openssl: Excessive time spent checking DH keys and parameters

  • Red Hat Enterprise Linux 6 openssl, openssl-perl Red Hat Enterprise Linux 7 ovmf, OVMF, AAVMF, openssl, openssl-libs, openssl-perl
    affected: 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-openssl11
    affected: workaround, no fix planned “Will not fix”
  • Red Hat Enterprise Linux AppStream (v. 8) edk2 20220126gitbb1bba3d77-6.el8_9.3, edk2-ovmf 20220126gitbb1bba3d77-6.el8_9.3, edk2-aarch64 20220126gitbb1bba3d77-6.el8_9.3
    fixed: vendor fix RHSA-2024:0888
  • Red Hat Enterprise Linux AppStream (v. 9) edk2 20231122-6.el9, edk2-ovmf 20231122-6.el9, openssl-perl 3.0.7-27.el9, edk2-aarch64 20231122-6.el9
    fixed: vendor fix RHSA-2024:2264
  • Red Hat Enterprise Linux AppStream EUS (v.8.6) edk2 20220126gitbb1bba3d77-2.el8_6.2, edk2-ovmf 20220126gitbb1bba3d77-2.el8_6.2, edk2-aarch64 20220126gitbb1bba3d77-2.el8_6.2
    fixed: vendor fix RHSA-2024:0408
  • Red Hat Enterprise Linux AppStream EUS (v.8.8) edk2 20220126gitbb1bba3d77-4.el8_8.3, edk2-ovmf 20220126gitbb1bba3d77-4.el8_8.3, edk2-aarch64 20220126gitbb1bba3d77-4.el8_8.3
    fixed: vendor fix RHSA-2024:1415
  • 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_9
    fixed: vendor fix RHSA-2023:7877
  • Red Hat Enterprise Linux BaseOS (v. 9) openssl 3.0.7-27.el9, openssl-libs 3.0.7-27.el9
    fixed: vendor fix RHSA-2024:2447
show 8 more
  • 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_6
    fixed: 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_8
    fixed: vendor fix RHSA-2024:0154
  • Red Hat Enterprise Linux CRB (v. 9) edk2-ovmf 20231122-6.el9, edk2-tools 20231122-6.el9, edk2-aarch64 20231122-6.el9
    fixed: vendor fix RHSA-2024:2264
  • Red Hat JBoss Core Services
    fixed: 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.el8jbcs
    fixed: vendor fix RHSA-2023:7625
  • Red Hat JBoss Web Server 5
    fixed: 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.el9jws
    fixed: vendor fix RHSA-2023:7622
  • Red Hat Enterprise Linux 8 shim, shim-x64, shim-aa64, shim-ia32, shim-unsigned-x64 Red Hat Enterprise Linux 9 shim, shim-x64, shim-aa64 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 more 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
    +2 more products
    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
    not affected: vulnerable code not present

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.5
    affected: 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-25-044-09 updated cvss 5.3

Siemens SCALANCE W700 IEEE 802.11ax

  • Siemens SCALANCE WAB762-1 (6GK5762-1AJ00-6AA0) <V3.0.0 Siemens SCALANCE WAM763-1 (6GK5763-1AL00-7DA0) <V3.0.0 Siemens SCALANCE WAM763-1 (ME) (6GK5763-1AL00-7DC0) <V3.0.0 Siemens SCALANCE WAM763-1 (US) (6GK5763-1AL00-7DB0) <V3.0.0 Siemens SCALANCE WAM766-1 (6GK5766-1GE00-7DA0) <V3.0.0 Siemens SCALANCE WAM766-1 (ME) (6GK5766-1GE00-7DC0) <V3.0.0
    +13 more products
    Siemens SCALANCE WAM766-1 (US) (6GK5766-1GE00-7DB0) <V3.0.0 Siemens SCALANCE WAM766-1 EEC (6GK5766-1GE00-7TA0) <V3.0.0 Siemens SCALANCE WAM766-1 EEC (ME) (6GK5766-1GE00-7TC0) <V3.0.0 Siemens SCALANCE WAM766-1 EEC (US) (6GK5766-1GE00-7TB0) <V3.0.0 Siemens SCALANCE WUB762-1 (6GK5762-1AJ00-1AA0) <V3.0.0 Siemens SCALANCE WUB762-1 iFeatures (6GK5762-1AJ00-2AA0) <V3.0.0 Siemens SCALANCE WUM763-1 (6GK5763-1AL00-3AA0) <V3.0.0 Siemens SCALANCE WUM763-1 (6GK5763-1AL00-3DA0) <V3.0.0 Siemens SCALANCE WUM763-1 (US) (6GK5763-1AL00-3AB0) <V3.0.0 Siemens SCALANCE WUM763-1 (US) (6GK5763-1AL00-3DB0) <V3.0.0 Siemens SCALANCE WUM766-1 (6GK5766-1GE00-3DA0) <V3.0.0 Siemens SCALANCE WUM766-1 (ME) (6GK5766-1GE00-3DC0) <V3.0.0 Siemens SCALANCE WUM766-1 (USA) (6GK5766-1GE00-3DB0) <V3.0.0
    affected: fixed in V3.0.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-25-100-02 updated cvss 5.3

Siemens SIDIS Prime

  • Siemens SIDIS Prime <V4.0.700
    affected: fixed in V4.0.700

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-165-04 updated cvss 5.3

Siemens ST7 ScadaConnect

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-166-11 updated cvss 5.3

Siemens SIMATIC S7-1500 TM MFP Linux Kernel

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

6.53% chance of exploitation in the next 30 days, higher than 93% 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

Affected products

  • OpenSSL OpenSSL
  • Siemens SIDIS Prime
  • Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP
  • Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP
  • Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem
  • Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP

Classification

Weakness
  • CWE-606 Unchecked Input for Loop Condition
  • CWE-1333 Inefficient Regular Expression Complexity
Technology feeds

References

Sources

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.

CPEs and fixed versions use Anchore's correction of NVD's data: Improve version ranges to indicate fix.