CVE-2023-3446
Excessive time spent checking DH keys and parameters
- Published
- Updated
- Reserved
- Assigned by
- openssl
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | Medium5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| NVDNVD · Modified | 3.1 | Medium5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
- EPSS (exploitation in 30 days)
- 6.5% · top 6.2% of all CVEs (6 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: yes · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.3.
Weakness
Affected products
References (22)
- OpenSSL Advisory (opens in a new tab)vendor-advisoryx_transferred
- 3.1.2 git commit (opens in a new tab)patchx_transferred
- 3.0.10 git commit (opens in a new tab)patchx_transferred
- 1.1.1v git commit (opens in a new tab)patchx_transferred
- 1.0.2zi patch (premium) (opens in a new tab)patchx_transferred
- http://www.openwall.com/lists/oss-security/2023/07/19/4 (opens in a new tab)x_transferred
- http://www.openwall.com/lists/oss-security/2023/07/19/5 (opens in a new tab)x_transferred
- http://www.openwall.com/lists/oss-security/2023/07/19/6 (opens in a new tab)x_transferred
- http://www.openwall.com/lists/oss-security/2023/07/31/1 (opens in a new tab)x_transferred
- https://security.netapp.com/advisory/ntap-20230803-0011/ (opens in a new tab)x_transferred
- https://lists.debian.org/debian-lts-announce/2023/08/msg00019.html (opens in a new tab)x_transferred
- https://security.gentoo.org/glsa/202402-08 (opens in a new tab)x_transferred
- http://www.openwall.com/lists/oss-security/2024/05/16/1 (opens in a new tab)x_transferred
- https://cert-portal.siemens.com/productcert/html/ssa-794697.html (opens in a new tab)
- https://cert-portal.siemens.com/productcert/html/ssa-099606.html (opens in a new tab)
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html (opens in a new tab)
- https://cert-portal.siemens.com/productcert/html/ssa-943925.html (opens in a new tab)
- https://cert-portal.siemens.com/productcert/html/ssa-556635.html (opens in a new tab)
- https://cert-portal.siemens.com/productcert/html/ssa-341067.html (opens in a new tab)
- https://cert-portal.siemens.com/productcert/html/ssa-915275.html (opens in a new tab)
- https://cert-portal.siemens.com/productcert/html/ssa-769027.html (opens in a new tab)
- https://cert-portal.siemens.com/productcert/html/ssa-277137.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2023-3446)Record last updated .