CVE-2023-3817Excessive time spent checking DH q parameter value
- 5.3MediumCVSS base score
- 3.0%Exploitation in 30 daysEPSS · top 12% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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. After fixing CVE-2023-3446 it was discovered that a large q parameter value can also trigger an overly long computation during some of these checks. A correct q value, if present, cannot be larger than the modulus p parameter, thus it is unnecessary to perform these checks if q is larger than p. An application that calls DH_check() and supplies a key or parameters obtained from an untrusted source could be vulnerable 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.
Timeline
ID reserved
By openssl
- 10 days later
· 10 days later
Published
- 3 years later
· 3 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
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)
- 3.0% · top 12% of all CVEs (15 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.
Affected products
References
References19
- 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://seclists.org/fulldisclosure/2023/Jul/43 (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://lists.debian.org/debian-lts-announce/2023/08/msg00019.html (opens in a new tab)x_transferred
- https://security.netapp.com/advisory/ntap-20230818-0014/ (opens in a new tab)x_transferred
- http://www.openwall.com/lists/oss-security/2023/09/22/9 (opens in a new tab)x_transferred
- http://www.openwall.com/lists/oss-security/2023/09/22/11 (opens in a new tab)x_transferred
- https://security.netapp.com/advisory/ntap-20231027-0008/ (opens in a new tab)x_transferred
- http://www.openwall.com/lists/oss-security/2023/11/06/2 (opens in a new tab)x_transferred
- https://security.gentoo.org/glsa/202402-08 (opens in a new tab)x_transferred
- https://security.netapp.com/advisory/ntap-20240621-0006/ (opens in a new tab)x_transferred
- 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-915275.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)
- EUVD EUVD-2023-44449 (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://cveledger.app/cve/CVE-2023-3817)Record last updated .