Skip to content
OpenAdvisories

Description

Issue summary: Generating excessively long X9.42 DH keys or checking
excessively long X9.42 DH keys or parameters may be very slow.

Impact summary: Applications that use the functions DH_generate_key() to
generate an X9.42 DH key may experience long delays. Likewise, applications
that use DH_check_pub_key(), DH_check_pub_key_ex() or EVP_PKEY_public_check()
to check an X9.42 DH key or X9.42 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.

While DH_check() performs all the necessary checks (as of CVE-2023-3817),
DH_check_pub_key() doesn't make any of these checks, and is therefore
vulnerable for excessively large P and Q parameters.

Likewise, while DH_generate_key() performs a check for an excessively large
P, it doesn't check for an excessively large Q.

An application that calls DH_generate_key() or DH_check_pub_key() and
supplies a key or parameters obtained from an untrusted source could be
vulnerable to a Denial of Service attack.

DH_generate_key() and DH_check_pub_key() are also 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_pub_key_ex(), EVP_PKEY_public_check(), and EVP_PKEY_generate().

Also vulnerable are the OpenSSL pkey command line application when using the
"-pubcheck" option, as well as the OpenSSL genpkey command line application.

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.

Affected products

VendorProductAffectedFixed
OpenSSL OpenSSL 1.0.2 – < 1.0.2zj, 1.1.1 – < 1.1.1x, 3.0.0 – < 3.0.13, 3.1.0 – < 3.1.5 1.0.2zj

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 openssl 3.0.12-2 —
Debian 13 openssl 3.0.12-2 —
Debian 12 openssl 3.0.13-1~deb12u1 —
Debian 11 openssl 1.1.1n-0+deb11u6 DLA-3942-2, DLA-3942-1
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS edk2 2024.02-2ubuntu0.6 USN-7894-1
Ubuntu 24.04 LTS openssl 3.0.10-1ubuntu4 —
Ubuntu 22.04 LTS edk2 2022.02-3ubuntu0.22.04.4 USN-7894-1
Ubuntu 22.04 LTS openssl 3.0.2-0ubuntu1.14 USN-6622-1
Ubuntu 20.04 LTS openssl 1.1.1f-1ubuntu2.21 USN-6622-1
Show 12 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro FIPS 20.04 LTS openssl No fix yet —
Ubuntu Pro FIPS 18.04 LTS openssl No fix yet —
Ubuntu Pro FIPS 16.04 LTS openssl No fix yet —
Ubuntu Pro FIPS-updates 22.04 LTS openssl 3.0.2-0ubuntu1.14+Fips1 —
Ubuntu Pro FIPS-updates 20.04 LTS openssl 1.1.1f-1ubuntu2.fips.21 —
Ubuntu Pro FIPS-updates 18.04 LTS openssl 1.1.1-1ubuntu2.fips.2.1~18.04.23.4 —
Ubuntu Pro FIPS-updates 16.04 LTS openssl 1.0.2g-1ubuntu4.fips.4.20.11 —
Ubuntu Pro FIPS-preview 22.04 LTS openssl No fix yet —
Ubuntu Pro 22.04 LTS nodejs No fix yet —
Ubuntu Pro 20.04 LTS edk2 No fix yet —
Ubuntu Pro 18.04 LTS edk2 No fix yet —
Ubuntu Pro 18.04 LTS openssl 1.1.1-1ubuntu2.1~18.04.23+esm4 USN-6632-1
Ubuntu Pro 18.04 LTS openssl1.0 1.0.2n-1ubuntu5.13+esm1 USN-6709-1
Ubuntu Pro 16.04 LTS edk2 No fix yet —
Ubuntu Pro 16.04 LTS openssl 1.0.2g-1ubuntu4.20+esm11 USN-6632-1
ReleasePackageFixed inAdvisory
RHEL 9 openssl +3 1:3.0.7-27.el9 RHSA-2024:2447
RHEL 8 openssl +3 1:1.1.1k-12.el8_9 RHSA-2023:7877
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 8.8 EUS openssl +3 1:1.1.1k-12.el8_8 RHSA-2024:0154
RHEL 8.6 EUS openssl +3 1:1.1.1k-12.el8_6 RHSA-2024:0208
Red Hat JBoss Web Server 5 jws5-tomcat +11 9.0.62-41.redhat_00020.1.el7jws RHSA-2024:1318
Red Hat JBoss Web Server 5 jws5-tomcat-native 1.2.31-17.redhat_17.el7jws RHSA-2024:1318
Red Hat JBoss Core Services 1 jbcs-httpd24-curl +2 8.6.0-3.el7jbcs RHSA-2024:1316
Red Hat JBoss Core Services 1 jbcs-httpd24-httpd +6 2.4.57-9.el7jbcs RHSA-2024:1316
Red Hat JBoss Core Services 1 jbcs-httpd24-mod_proxy_cluster 1.3.20-3.el7jbcs RHSA-2024:1316
Red Hat JBoss Core Services 1 jbcs-httpd24-mod_ssl +1 1:2.4.57-9.el7jbcs RHSA-2024:1316
Red Hat JBoss Core Services 1 jbcs-httpd24-openssl +4 1:1.1.1k-17.el7jbcs RHSA-2024:1316

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 openssl +3 1:3.0.7-27.el9 ALSA-2024:2447
AlmaLinux 8 openssl +3 1:1.1.1k-12.el8_9 ALSA-2023:7877

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 openssl 1:1.1.1k-12.el8_9 RLSA-2023:7877
ReleasePackageFixed inAdvisory
SLES 15 SP5 openssl-1_0_0 1.0.2p-150000.3.88.1 SUSE-SU-2023:4522-1
SLES 15 SP5 openssl-1_1 1.1.1l-150500.17.22.1 SUSE-SU-2023:4518-1
SLES 15 SP5 openssl-3 3.0.8-150500.5.19.1 SUSE-SU-2023:4635-1
SLES 15 SP4 openssl-1_0_0 1.0.2p-150000.3.88.1 SUSE-SU-2023:4522-1
SLES 15 SP4 openssl-1_1 1.1.1l-150400.7.60.2 SUSE-SU-2023:4524-1
SLES 15 SP4 openssl-3 3.0.8-150400.4.42.1 SUSE-SU-2023:4649-1
SLES 15 SP3 openssl-1_0_0 1.0.2p-150000.3.88.1 SUSE-SU-2023:4522-1
SLES 15 SP3 openssl-1_1 1.1.1d-150200.11.82.1 SUSE-SU-2023:4519-1
SLES 15 SP2 openssl-1_0_0 1.0.2p-150000.3.88.1 SUSE-SU-2023:4522-1
SLES 15 SP2 openssl-1_1 1.1.1d-150200.11.82.1 SUSE-SU-2023:4519-1
SLES 15 SP1 openssl-1_0_0 1.0.2p-150000.3.88.1 SUSE-SU-2023:4522-1
SLES 15 SP1 openssl-1_1 1.1.0i-150100.14.68.1 SUSE-SU-2023:4520-1
Show 18 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP5 openssl-1_0_0 1.0.2p-3.87.1 SUSE-SU-2023:4523-1
SLES 12 SP5 openssl-1_1 1.1.1d-2.101.1 SUSE-SU-2023:4521-1
SLES 12 compat-openssl098 0.9.8j-106.61.1 SUSE-SU-2023:4593-1
SLES 11 SP4 openssl 0.9.8j-0.106.80.1 SUSE-SU-2023:4489-1
SLES 11 SP4 openssl1 1.0.1g-0.58.76.1 SUSE-SU-2023:4488-1
SLES for SAP 15 SP3 openssl-1_0_0 1.0.2p-150000.3.88.1 SUSE-SU-2023:4522-1
SLES for SAP 15 SP3 openssl-1_1 1.1.1d-150200.11.82.1 SUSE-SU-2023:4519-1
SLES for SAP 15 SP2 openssl-1_0_0 1.0.2p-150000.3.88.1 SUSE-SU-2023:4522-1
SLES for SAP 15 SP2 openssl-1_1 1.1.1d-150200.11.82.1 SUSE-SU-2023:4519-1
SLES for SAP 15 SP1 openssl-1_0_0 1.0.2p-150000.3.88.1 SUSE-SU-2023:4522-1
SLES for SAP 15 SP1 openssl-1_1 1.1.0i-150100.14.68.1 SUSE-SU-2023:4520-1
SLES for SAP 12 SP5 compat-openssl098 0.9.8j-106.61.1 SUSE-SU-2023:4593-1
SLES for SAP 12 SP5 openssl-1_0_0 1.0.2p-3.87.1 SUSE-SU-2023:4523-1
SLES for SAP 12 SP5 openssl-1_1 1.1.1d-2.101.1 SUSE-SU-2023:4521-1
SLE Micro 5.5 openssl-1_1 1.1.1l-150500.17.22.1 SUSE-SU-2023:4518-1
SLE Micro 5.4 openssl-1_1 1.1.1l-150400.7.60.2 SUSE-SU-2023:4524-1
SLE Micro 5.4 openssl-3 3.0.8-150400.4.42.1 SUSE-SU-2023:4649-1
SLE Micro 5.3 openssl-1_1 1.1.1l-150400.7.60.2 SUSE-SU-2023:4524-1
SLE Micro 5.3 openssl-3 3.0.8-150400.4.42.1 SUSE-SU-2023:4649-1
SLE Micro 5.2 openssl-1_1 1.1.1d-150200.11.82.1 SUSE-SU-2023:4519-1
SLE Micro 5.1 openssl-1_1 1.1.1d-150200.11.82.1 SUSE-SU-2023:4519-1
SLE Live Patching 15 SP5 openssl-1_1-livepatches 0.2-150500.6.3.1 SUSE-SU-2023:4918-1
SLE Live Patching 15 SP4 openssl-1_1-livepatches 0.2-150400.3.6.1 SUSE-SU-2023:4919-1
SLE HPC 15 SP3 openssl-1_0_0 1.0.2p-150000.3.88.1 SUSE-SU-2023:4522-1
SLE HPC 15 SP3 openssl-1_1 1.1.1d-150200.11.82.1 SUSE-SU-2023:4519-1
SLE HPC 15 SP2 openssl-1_1 1.1.1d-150200.11.82.1 SUSE-SU-2023:4519-1
SLE HPC 15 SP1 openssl-1_1 1.1.0i-150100.14.68.1 SUSE-SU-2023:4520-1
SUSE Enterprise Storage 7.1 openssl-1_0_0 1.0.2p-150000.3.88.1 SUSE-SU-2023:4522-1
SUSE Enterprise Storage 7.1 openssl-1_1 1.1.1d-150200.11.82.1 SUSE-SU-2023:4519-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed openssl-1_0_0 1.0.2u-23.1 openSUSE-SU-2024:13428-1
openSUSE Tumbleweed openssl-1_1 1.1.1w-4.1 openSUSE-SU-2024:13437-1
openSUSE Tumbleweed openssl-3 3.1.4-2.1 openSUSE-SU-2024:13438-1
openSUSE Leap 15.5 openssl-1_0_0 1.0.2p-150000.3.88.1 SUSE-SU-2023:4522-1
openSUSE Leap 15.5 openssl-1_1 1.1.1l-150500.17.22.1 SUSE-SU-2023:4518-1
openSUSE Leap 15.5 openssl-3 3.0.8-150500.5.19.1 SUSE-SU-2023:4635-1
openSUSE Leap 15.4 openssl-1_0_0 1.0.2p-150000.3.88.1 SUSE-SU-2023:4522-1
openSUSE Leap 15.4 openssl-1_1 1.1.1l-150400.7.60.2 SUSE-SU-2023:4524-1
openSUSE Leap 15.4 openssl-3 3.0.8-150400.4.42.1 SUSE-SU-2023:4649-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
openSUSE Leap Micro 5.4 openssl-1_1 1.1.1l-150400.7.60.2 SUSE-SU-2023:4524-1
openSUSE Leap Micro 5.4 openssl-3 3.0.8-150400.4.42.1 SUSE-SU-2023:4649-1
openSUSE Leap Micro 5.3 openssl-1_1 1.1.1l-150400.7.60.2 SUSE-SU-2023:4524-1
openSUSE Leap Micro 5.3 openssl-3 3.0.8-150400.4.42.1 SUSE-SU-2023:4649-1
ReleasePackageFixed inAdvisory
Alpine v3.24 openssl 3.1.4-r1 —
Alpine v3.23 openssl 3.1.4-r1 —
Alpine v3.22 openssl 3.1.4-r1 —
Alpine v3.21 openssl 3.1.4-r1 —
Alpine v3.20 openssl 3.1.4-r1 —
Show 5 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 openssl 3.1.4-r1 —
Alpine v3.18 openssl 3.1.4-r1 —
Alpine v3.17 openssl 3.0.12-r1 —
Alpine v3.16 openssl 1.1.1w-r1 —
Alpine v3.15 openssl 1.1.1w-r1 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 openssl +4 1:3.0.8-1.amzn2023.0.10 ALAS2023-2023-443
Amazon Linux 2 edk2-ovmf +4 20200801stable-1.amzn2.0.5 ALAS2-2024-2502
Amazon Linux 2 openssl +4 1:1.0.2k-24.amzn2.0.11 ALAS2-2023-2350
Amazon Linux 2 openssl11 +3 1:1.1.1g-12.amzn2.0.19 ALAS2-2023-2351

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 cloud-hypervisor-cvm 38.0.72.2-1 —
Azure Linux 3 edk2 20230301gitf80f052277c8-38 —
Azure Linux 3 kata-containers 3.2.0.azl1-1 —
Azure Linux 3 openssl 1.1.1k-28 —
Azure Linux 3 openssl-fips-provider No fix yet —
Azure Linux 2 (CBL-Mariner) cloud-hypervisor-cvm 38.0.72.2-1 —
Azure Linux 2 (CBL-Mariner) edk2 20230301gitf80f052277c8-38 —
Azure Linux 2 (CBL-Mariner) hvloader 1.0.1-9 —
Azure Linux 2 (CBL-Mariner) openssl 1.1.1k-28 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 openssl +3 1:3.0.7-27.0.3.el9 ELSA-2024-2447
Oracle Linux 9 openssl-fips-provider 3.0.7-2.0.1.el9 ELSA-2024-2447
Oracle Linux 8 openssl +3 1:1.1.1k-12.el8_9 ELSA-2023-7877

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling openssl 3.1.4-r1 —

Advisories 50

References