CVE-2023-3446
openssl: Excessive time spent checking DH keys and parameters
Overview
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.
Source: OX vulnerability database
Severity
5.3 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- Low
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Weakness: CWE-606, CWE-1333
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Conan (C/C++) | openssl | =1.0.2||=1.1.1||>=3.0.0 <=3.1.1 | 1.1.1w3.1.3 |
Open a package to see all its vulnerabilities.
Operating systems · 99 fixes
Oracle Linux 2 releases · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| 8 | openssl +3 | 1:1.1.1k-12.el8_9 |
| 8 | edk2-aarch64 +1 | 20220126gitbb1bba3d77-6.el8_9.3 |
| 8 | openssl +4 | 2:1.1.1k-12.ksplice1.el8_9 |
| 9 | openssl +3 | 1:3.0.7-27.0.3.el9 |
| 9 | edk2-aarch64 +3 | 20231122-6.0.1.el9 |
| 9 | openssl-fips-provider | 3.0.7-2.0.1.el9 |
Photon OS 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | openssl +4 | 3.0.9-3.ph4 |
| 5.0 | openssl +5 | 3.0.9-3.ph5 |
Red Hat 3 releases · 11 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | aavmf +6 | eol | — |
| 7 | jbcs-httpd24-mod-http2 | 0:1.15.19-32.el7jbcs | RHSA-2023:7625 |
| 7 | jws5-tomcat-native | 0:1.2.31-16.redhat_16.el7jws | RHSA-2023:7622 |
| 7 | jbcs-httpd24-mod-jk-ap24 | 0:1.2.49-1.redhat_1.el7jbcs | RHSA-2023:7625 |
| 7 | jbcs-httpd24-curl +2 | 0:8.4.0-2.el7jbcs | RHSA-2023:7625 |
| 7 | jws5-tomcat +11 | 0:9.0.62-19.redhat_00017.1.el7jws | RHSA-2023:7622 |
19 more rows
SUSE Linux Enterprise 3 releases · 4 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 12.5 | libopenssl0-9-8 | 0.9.8j-106.58.1 | SUSE-SU-2023:3096-1 |
| 12.5 | libopenssl-1-0-0-devel +7 | 1.0.2p-3.81.1 | SUSE-SU-2023:3012-1 |
| 12.5 | libopenssl-1-1-devel +6 | 1.1.1d-2.92.1 | SUSE-SU-2023:2964-1 |
| 15.4 | libopenssl-1-0-0-devel +4 | 1.0.2p-150000.3.82.1 | SUSE-SU-2023:3093-1 |
| 15.4 | libopenssl-1-1-devel +6 | 1.1.1l-150400.7.48.1 | SUSE-SU-2023:2962-1 |
| 15.4 | libopenssl-3-devel +2 | 3.0.8-150400.4.31.2 | SUSE-SU-2023:3013-1 |
3 more rows
SUSE Linux Enterprise Micro 4 releases · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 5.1 | libopenssl-1-1-devel +3 | 1.1.1d-150200.11.72.1 | SUSE-SU-2023:3179-1 |
| 5.2 | libopenssl-1-1-devel +3 | 1.1.1d-150200.11.72.1 | SUSE-SU-2023:3179-1 |
| 5.3 | libopenssl-1-1-devel +3 | 1.1.1l-150400.7.48.1 | SUSE-SU-2023:2962-1 |
| 5.4 | libopenssl-1-1-devel +3 | 1.1.1l-150400.7.48.1 | SUSE-SU-2023:2962-1 |
alma 2 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 8 | openssl +3 | 1:1.1.1k-12.el8_9 |
| 8 | edk2-aarch64 +1 | 20220126gitbb1bba3d77-6.el8_9.3 |
| 9 | openssl +3 | 1:3.0.7-27.el9 |
| 9 | edk2-aarch64 +3 | 20231122-6.el9 |
alpine 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | openssl | 3.1.1-r3 |
| 3.23 | openssl | 3.1.1-r3 |
| 3.24 | openssl | 3.1.1-r3 |
| edge | openssl | 3.1.1-r3 |
amazon linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 2023 | openssl +6 | 1:3.0.8-1.amzn2023.0.4 |
chainguard 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| openssl-provider-fips +1 | not affected | |
| openssl | 3.1.1-r3 |
debian 5 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 10 | openssl | 1.1.1n-0+deb10u6 |
| 11 | openssl | 1.1.1v-0~deb11u1 |
| 12 | openssl | 3.0.10-1~deb12u1 |
| 13 | openssl | 3.0.10-1 |
| 14 | openssl | 3.0.10-1 |
echo 1 release · 6 packages
| Release | Package | Fixed in |
|---|---|---|
| openssl-1-1-1c | 1.1.1c+e1 | |
| openssl-1-1-1g | 1.1.1g+e1 | |
| openssl-1-1-1k | 1.1.1k+e1 | |
| openssl | 3.0.10-1~deb12u1 | |
| openssl-3-0-9 | 3.0.9+e1 | |
| openssl-3-1-0 | 3.1.0+e1 |
openSUSE 1 release · 3 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | libopenssl-1-0-0-devel +9 | 1.0.2u-21.1 | openSUSE-SU-2024:13070-1 |
| Tumbleweed | libopenssl-1-1-devel +5 | 1.1.1u-5.1 | openSUSE-SU-2024:13064-1 |
| Tumbleweed | libopenssl-3-devel +6 | 3.1.1-3.1 | openSUSE-SU-2024:13065-1 |
openSUSE Leap Micro 2 releases · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 5.3 | libopenssl-1-1-devel +3 | 1.1.1l-150400.7.48.1 | SUSE-SU-2023:2962-1 |
| 5.4 | libopenssl-1-1-devel +3 | 1.1.1l-150400.7.48.1 | SUSE-SU-2023:2962-1 |
rocky 2 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 8 | openssl +3 | 1:1.1.1k-12.el8_9 |
| 9 | edk2-aarch64 +1 | 20231122-6.el9 |
root.io alpine 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.23 | rootio-openssl | 3.1.1-r3 |
| 3.24 | rootio-openssl | 3.1.1-r3 |
root.io debian 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | rootio-openssl | 1.1.1v-0~deb11u1 |
| 12 | rootio-openssl | 3.0.10-1~deb12u1 |
| 13 | rootio-openssl | 3.0.10-1 |
seal Red Hat 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | openssl +1 | 1:1.0.2k-25.el7_9+sp999 |
| 7 | openssl +1 | 1:1.0.2k-26.el7_9+sp2 |
| 8 | openssl +1 | 1:1.1.1k-14.el8_6+sp999 |
| 8 | openssl +1 | 1:1.1.1k-6.el8_5+sp999 |
| 9 | openssl +1 | 1:3.2.2-6.el9_5+sp999 |
seal alpine 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| openssl | 1.1.1t-r003 | |
| seal-openssl | 1.1.1t-r353412 |
seal debian 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| openssl +1 | 1.1.1w-0+deb11u2+sp999 |
ubuntu 5 releases · 4 packages
| Release | Package | Fixed in |
|---|---|---|
| 18.04-ESM | openssl1-0 | 1.0.2n-1ubuntu5.13+esm1 |
| 18.04-ESM | openssl | 1.1.1-1ubuntu2.1~18.04.23+esm3 |
| 20.04 | openssl | 1.1.1f-1ubuntu2.20 |
| 20.04-ESM | edk2 | affected |
| 20.04-ESM | openssl | 1.1.1f-1ubuntu2.20 |
| 22.04 | nodejs | affected |
3 more rows
wolfi 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| openssl | 3.1.1-r3 |
root.io ubuntu 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 20.04 | rootio-openssl | 1.1.1f-1ubuntu2.20 |
References
- www.openwall.com http://www.openwall.com/lists/oss-security/2023/07/19/4
- www.openwall.com http://www.openwall.com/lists/oss-security/2023/07/19/5
- www.openwall.com http://www.openwall.com/lists/oss-security/2023/07/19/6
- www.openwall.com http://www.openwall.com/lists/oss-security/2023/07/31/1
- www.openwall.com http://www.openwall.com/lists/oss-security/2024/05/16/1
- access.redhat.com https://access.redhat.com/errata/RHSA-2023:7877
- access.redhat.com https://access.redhat.com/errata/RHSA-2024:2447
- access.redhat.com https://access.redhat.com/security/cve/CVE-2023-3446
- bugzilla.redhat.com https://bugzilla.redhat.com/2223016
- bugzilla.redhat.com https://bugzilla.redhat.com/2224962
Show all 53 references
- bugzilla.redhat.com https://bugzilla.redhat.com/2227852
- bugzilla.redhat.com https://bugzilla.redhat.com/2248616
- bugzilla.redhat.com https://bugzilla.redhat.com/2257571
- bugzilla.redhat.com https://bugzilla.redhat.com/2258502
- bugzilla.redhat.com https://bugzilla.redhat.com/2259944
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2224962
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2227852
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2248616
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2270358
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-099606.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-277137.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-341067.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-556635.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-769027.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-794697.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-915275.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-943925.html
- creativecommons.org https://creativecommons.org/licenses/by/4.0/
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-3446
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-3817
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-5678
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-2408
- errata.almalinux.org https://errata.almalinux.org/9/ALSA-2024-2447.html
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2023:7877
- git.openssl.org https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=1fa20cf2f506113c761777127a38bce5068740eb
- git.openssl.org https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=8780a896543a654e757db1b9396383f9d8095528
- git.openssl.org https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=9a0a4d3c1e7138915563c0df4fe6a3f9377b839c
- git.openssl.org https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=fc9867c1e03c22ebf56943be205202e576aabf23
- linux.oracle.com https://linux.oracle.com/cve/CVE-2023-3446.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2024-2447.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2023/08/msg00019.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2023-3446
- security.gentoo.org https://security.gentoo.org/glsa/202402-08
- security.netapp.com https://security.netapp.com/advisory/ntap-20230803-0011/
- ubuntu.com https://ubuntu.com/security/notices/USN-6435-1
- ubuntu.com https://ubuntu.com/security/notices/USN-6435-2
- ubuntu.com https://ubuntu.com/security/notices/USN-6450-1
- ubuntu.com https://ubuntu.com/security/notices/USN-6709-1
- ubuntu.com https://ubuntu.com/security/notices/USN-7018-1
- ubuntu.com https://ubuntu.com/security/notices/USN-7894-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2023-3446
- www.openssl.org https://www.openssl.org/news/secadv/20230719.txt
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.