CVE-2023-3446Excessive time spent checking DH keys and parameters
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.
What to do
Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | edk2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 26.04 | nodejs | Not affected vulnerable_code_not_present | ||
| Ubuntu 26.04 | openssl | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | edk2 | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | nodejs | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | openssl | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | edk2 | Fixed | 2024.02-2ubuntu0.6 | UBUNTU-CVE-2023-3446 |
| Ubuntu 24.04 | nodejs | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | openssl | Not affected vulnerable_code_not_present | ||
| Ubuntu 22.04 | edk2 | Fixed | 2022.02-3ubuntu0.22.04.4 | UBUNTU-CVE-2023-3446 |
| Ubuntu 22.04 | nodejs | Fix pending | UBUNTU-CVE-2023-3446 | |
| Ubuntu 22.04 | openssl | Fixed | 3.0.2-0ubuntu1.12 | UBUNTU-CVE-2023-3446 |
| Ubuntu 20.04 | edk2 | Fix pending | UBUNTU-CVE-2023-3446 | |
| Ubuntu 20.04 | openssl | Fixed | 1.1.1f-1ubuntu2.20 | UBUNTU-CVE-2023-3446 |
| Ubuntu 18.04 | edk2 | Fix pending | UBUNTU-CVE-2023-3446 | |
| Ubuntu 18.04 | openssl | Fix pending | 1.1.1-1ubuntu2.1~18.04.23+esm3 (Ubuntu Pro) | UBUNTU-CVE-2023-3446 |
| Ubuntu 18.04 | openssl1.0 | Fix pending | 1.0.2n-1ubuntu5.13+esm1 (Ubuntu Pro) | UBUNTU-CVE-2023-3446 |
| Ubuntu 16.04 | edk2 | Fix pending | UBUNTU-CVE-2023-3446 | |
| Ubuntu 16.04 | nodejs | Not affected vulnerable_code_not_present | ||
| Ubuntu 16.04 | openssl | Fix pending | 1.0.2g-1ubuntu4.20+esm10 (Ubuntu Pro) | UBUNTU-CVE-2023-3446 |
| Ubuntu 14.04 | edk2 | Fix pending | ||
| Ubuntu 14.04 | openssl | Fix pending | 1.0.1f-1ubuntu2.27+esm10 (Ubuntu Pro) | UBUNTU-CVE-2023-3446 |
| Debian 14 | openssl | Fixed | 3.0.10-1 | DEBIAN-CVE-2023-3446 |
| Debian 13 | openssl | Fixed | 3.0.10-1 | DEBIAN-CVE-2023-3446 |
| Debian 12 | openssl | Fixed | 3.0.10-1~deb12u1 | DEBIAN-CVE-2023-3446 |
| Red Hat Enterprise Linux 9 | compat-openssl11 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | edk2 | Fixed | 0:20231122-6.el9 | RHSA-2024:2264 |
| Red Hat Enterprise Linux 9 | edk2-aarch64 | Fixed | 0:20231122-6.el9 | RHSA-2024:2264 |
| Red Hat Enterprise Linux 9 | edk2-ovmf | Fixed | 0:20231122-6.el9 | RHSA-2024:2264 |
| Red Hat Enterprise Linux 9 | edk2-tools | Fixed | 0:20231122-6.el9 | RHSA-2024:2264 |
| Red Hat Enterprise Linux 9 | edk2-tools-doc | Fixed | 0:20231122-6.el9 | RHSA-2024:2264 |
| Red Hat Enterprise Linux 9 | openssl | Fixed | 1:3.0.7-27.el9 | RHSA-2024:2447 |
| Red Hat Enterprise Linux 9 | openssl-devel | Fixed | 1:3.0.7-27.el9 | RHSA-2024:2447 |
| Red Hat Enterprise Linux 9 | openssl-libs | Fixed | 1:3.0.7-27.el9 | RHSA-2024:2447 |
| Red Hat Enterprise Linux 9 | openssl-perl | Fixed | 1:3.0.7-27.el9 | RHSA-2024:2447 |
| Red Hat Enterprise Linux 9 | shim | Not affected | ||
| Red Hat Enterprise Linux 9 | shim-aa64 | Not affected | ||
| Red Hat Enterprise Linux 9 | shim-x64 | Not affected | ||
| Red Hat Enterprise Linux 8 | compat-openssl10 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | edk2 | Fixed | 0:20220126gitbb1bba3d77-6.el8_9.3 | RHSA-2024:0888 |
| Red Hat Enterprise Linux 8 | edk2-aarch64 | Fixed | 0:20220126gitbb1bba3d77-6.el8_9.3 | RHSA-2024:0888 |
| Red Hat Enterprise Linux 8 | edk2-ovmf | Fixed | 0:20220126gitbb1bba3d77-6.el8_9.3 | RHSA-2024:0888 |
| Red Hat Enterprise Linux 8 | mingw-openssl | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | mingw32-openssl | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | mingw64-openssl | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 8 | openssl | Fixed | 1:1.1.1k-12.el8_9 | RHSA-2023:7877 |
| Red Hat Enterprise Linux 8 | openssl-devel | Fixed | 1:1.1.1k-12.el8_9 | RHSA-2023:7877 |
| Red Hat Enterprise Linux 8 | openssl-libs | Fixed | 1:1.1.1k-12.el8_9 | RHSA-2023:7877 |
| Red Hat Enterprise Linux 8 | openssl-perl | Fixed | 1:1.1.1k-12.el8_9 | RHSA-2023:7877 |
| Red Hat Enterprise Linux 8 | shim | Not affected | ||
| Red Hat Enterprise Linux 8 | shim-aa64 | Not affected | ||
| Red Hat Enterprise Linux 8 | shim-ia32 | Not affected | ||
| Red Hat Enterprise Linux 8 | shim-unsigned-x64 | Not affected | ||
| Red Hat Enterprise Linux 8 | shim-x64 | Not affected | ||
| Red Hat Enterprise Linux 7 | AAVMF | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | OVMF | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | openssl | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | openssl-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | openssl-libs | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | openssl-perl | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | openssl-static | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 7 | ovmf | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | openssl | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | openssl-devel | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | openssl-perl | Will not fix Out of support scope | ||
| Red Hat Enterprise Linux 6 | openssl-static | Will not fix Out of support scope | ||
| AlmaLinux 9 | edk2-aarch64 | Fixed | 20231122-6.el9 | ALSA-2024:2264 |
| AlmaLinux 9 | edk2-ovmf | Fixed | 20231122-6.el9 | ALSA-2024:2264 |
| AlmaLinux 9 | edk2-tools | Fixed | 20231122-6.el9 | ALSA-2024:2264 |
| AlmaLinux 9 | edk2-tools-doc | Fixed | 20231122-6.el9 | ALSA-2024:2264 |
| AlmaLinux 9 | openssl | Fixed | 1:3.0.7-27.el9 | ALSA-2024:2447 |
| AlmaLinux 9 | openssl-devel | Fixed | 1:3.0.7-27.el9 | ALSA-2024:2447 |
| AlmaLinux 9 | openssl-libs | Fixed | 1:3.0.7-27.el9 | ALSA-2024:2447 |
| AlmaLinux 9 | openssl-perl | Fixed | 1:3.0.7-27.el9 | ALSA-2024:2447 |
| AlmaLinux 8 | edk2-aarch64 | Fixed | 20220126gitbb1bba3d77-6.el8_9.3 | ALSA-2024:0888 |
| AlmaLinux 8 | edk2-ovmf | Fixed | 20220126gitbb1bba3d77-6.el8_9.3 | ALSA-2024:0888 |
| AlmaLinux 8 | openssl | Fixed | 1:1.1.1k-12.el8_9 | ALSA-2023:7877 |
| AlmaLinux 8 | openssl-devel | Fixed | 1:1.1.1k-12.el8_9 | ALSA-2023:7877 |
| AlmaLinux 8 | openssl-libs | Fixed | 1:1.1.1k-12.el8_9 | ALSA-2023:7877 |
| AlmaLinux 8 | openssl-perl | Fixed | 1:1.1.1k-12.el8_9 | ALSA-2023:7877 |
| Rocky Linux 9 | edk2 | Fixed | 0:20231122-6.el9 | RLSA-2024:2264 |
| Rocky Linux 8 | openssl | Fixed | 1:1.1.1k-12.el8_9 | RLSA-2023:7877 |
| Alpine Linux 3.24 | openssl | Fixed | 3.1.1-r3 | ALPINE-CVE-2023-3446 |
| Alpine Linux 3.23 | openssl | Fixed | 3.1.1-r3 | ALPINE-CVE-2023-3446 |
| Alpine Linux 3.22 | openssl | Fixed | 3.1.1-r3 | ALPINE-CVE-2023-3446 |
| Alpine Linux 3.21 | openssl | Fixed | 3.1.1-r3 | ALPINE-CVE-2023-3446 |
| Alpine Linux 3.20 | openssl | Fixed | 3.1.1-r3 | ALPINE-CVE-2023-3446 |
| Alpine Linux 3.19 | openssl | Fixed | 3.1.1-r3 | ALPINE-CVE-2023-3446 |
| Alpine Linux 3.18 | openssl | Fixed | 3.1.1-r3 | ALPINE-CVE-2023-3446 |
| Alpine Linux 3.18 | openssl1.1-compat | Fixed | 1.1.1u-r1 | ALPINE-CVE-2023-3446 |
| Alpine Linux 3.17 | openssl | Fixed | 3.0.9-r3 | ALPINE-CVE-2023-3446 |
| Alpine Linux 3.17 | openssl1.1-compat | Fixed | 1.1.1u-r1 | ALPINE-CVE-2023-3446 |
| Alpine Linux 3.16 | openssl | Fixed | 1.1.1u-r2 | ALPINE-CVE-2023-3446 |
| Alpine Linux 3.16 | openssl3 | Fixed | 3.0.9-r2 | ALPINE-CVE-2023-3446 |
| Alpine Linux 3.15 | openssl | Fixed | 1.1.1u-r2 | ALPINE-CVE-2023-3446 |
| Alpine Linux 3.15 | openssl3 | Fixed | 3.0.9-r2 | ALPINE-CVE-2023-3446 |
What the vendor says
As published in the CVE record by openssl, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- OpenSSL: affected: 3.1.0 to before 3.1.2, 3.0.0 to before 3.0.10, 1.1.1 to before 1.1.1v, 1.0.2 to before 1.0.2zi; fixed in
3.1.2,3.0.10,1.1.1v,1.0.2zi
Vendor advisories:
- https://www.openssl.org/news/secadv/20230719.txt (vendor-advisory)
- https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=fc9867c1e03c22ebf56943be2052… (patch)
- https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=1fa20cf2f506113c761777127a38… (patch)
- https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=8780a896543a654e757db1b93963… (patch)
- https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=9a0a4d3c1e7138915563c0df4fe6… (patch)
References
- https://www.openssl.org/news/secadv/20230719.txt
- https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=fc9867c1e03c22ebf56943be205202e576aabf23
- https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=1fa20cf2f506113c761777127a38bce5068740eb
- https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=8780a896543a654e757db1b9396383f9d8095528
- https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=9a0a4d3c1e7138915563c0df4fe6a3f9377b839c
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.