CVE-2023-3446 Excessive time spent checking DH keys and parameters
- Published
- Updated
- Exploit status
- No public exploit known
Description
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Microsoft cbl mariner | < 1.0.1-6 | 1.0.1-6 |
| Microsoft cbl mariner | < 1.1.1k-28 | 1.1.1k-28 |
| debian/openssl(Debian:12) | < 3.0.10-1~deb12u1 | 3.0.10-1~deb12u1 |
| debian/openssl(Debian:12) | = 3.0.9-1 | No fix listed |
| debian/openssl(Debian:13) | < 3.0.10-1 | 3.0.10-1 |
| debian/openssl(Debian:14) | < 3.0.10-1 | 3.0.10-1 |
| OpenSSL | >= 3.1.0, < 3.1.2 | 3.1.2 |
| OpenSSL | >= 3.0.0, < 3.0.10 | 3.0.10 |
| OpenSSL | >= 1.1.1, < 1.1.1v | 1.1.1v |
| OpenSSL | >= 1.0.2, < 1.0.2zi | 1.0.2zi |
| Siemens SIDIS Prime | < V4.0.700 | V4.0.700 |
| Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | >= V3.1.0, < V3.1.5 | V3.1.5 |
| Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | >= V3.1.0, < V3.1.5 | V3.1.5 |
| Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem | < V1.1 | V1.1 |
| Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | >= V3.1.0, < V3.1.5 | V3.1.5 |
| ubuntu/edk2(Ubuntu:22.04) | < 2022.02-3ubuntu0.22.04.4 | 2022.02-3ubuntu0.22.04.4 |
| ubuntu/openssl(Ubuntu:22.04) | < 3.0.2-0ubuntu1.12 | 3.0.2-0ubuntu1.12 |
| ubuntu/nodejs(Ubuntu:22.04) | All versions | No fix listed |
| alpine/openssl(Alpine:v3.15) | < 1.1.1u-r2 | 1.1.1u-r2 |
| alpine/openssl(Alpine:v3.16) | < 1.1.1u-r2 | 1.1.1u-r2 |
| alpine/openssl(Alpine:v3.17) | < 3.0.9-r3 | 3.0.9-r3 |
| alpine/openssl(Alpine:v3.18) | < 3.1.1-r3 | 3.1.1-r3 |
| alpine/openssl(Alpine:v3.19) | < 3.1.1-r3 | 3.1.1-r3 |
| alpine/openssl(Alpine:v3.20) | < 3.1.1-r3 | 3.1.1-r3 |
| alpine/openssl(Alpine:v3.21) | < 3.1.1-r3 | 3.1.1-r3 |
Show 13 more
| Product | Affected versions | Fixed in |
|---|---|---|
| alpine/openssl(Alpine:v3.22) | < 3.1.1-r3 | 3.1.1-r3 |
| alpine/openssl(Alpine:v3.23) | < 3.1.1-r3 | 3.1.1-r3 |
| alpine/openssl(Alpine:v3.24) | < 3.1.1-r3 | 3.1.1-r3 |
| alpine/openssl1.1-compat(Alpine:v3.17) | < 1.1.1u-r1 | 1.1.1u-r1 |
| alpine/openssl1.1-compat(Alpine:v3.18) | < 1.1.1u-r1 | 1.1.1u-r1 |
| alpine/openssl3(Alpine:v3.15) | < 3.0.9-r2 | 3.0.9-r2 |
| alpine/openssl3(Alpine:v3.16) | < 3.0.9-r2 | 3.0.9-r2 |
| ubuntu/edk2(Ubuntu:24.04) | < 2024.02-2ubuntu0.6 | 2024.02-2ubuntu0.6 |
| OpenSSL | = 1.0.2 | No fix listed |
| OpenSSL | = 1.1.1 | No fix listed |
| OpenSSL | = 3.0.0 | No fix listed |
| OpenSSL | = 3.1.0 | No fix listed |
| OpenSSL | = 3.1.1 | No fix listed |
References
- MSRC Security Update Guide vendor-advisory
- hvloader vendor-advisory
- Debian Security Tracker CVE-2023-3446 vendor-advisory
- OpenSSL Advisory vendor-advisory
- 3.1.2 git commit mailing-list patch vendor-advisory
- 3.0.10 git commit mailing-list patch vendor-advisory
- 1.1.1v git commit mailing-list patch vendor-advisory
- 1.0.2zi patch (premium) broken-link patch vendor-advisory
- www.openwall.com
- www.openwall.com
- www.openwall.com
- www.openwall.com
- security.netapp.com
- lists.debian.org
- security.gentoo.org
- www.openwall.com
- cert-portal.siemens.com
- cert-portal.siemens.com
- cert-portal.siemens.com
- cert-portal.siemens.com
- cert-portal.siemens.com
- cert-portal.siemens.com
- cert-portal.siemens.com
- cert-portal.siemens.com
- cert-portal.siemens.com
- Ubuntu CVE tracker vendor-advisory
- USN-6435-1 vendor-advisory
- USN-6450-1 vendor-advisory
- USN-6435-2 vendor-advisory
- USN-6709-1 vendor-advisory
- USN-7018-1 vendor-advisory
- USN-7894-1 vendor-advisory
- www.cve.org
- security.alpinelinux.org vendor-advisory
- bugs.debian.org issue-tracking