OpenSSL up to 1.0.2zi/1.1.1w/3.0.12/3.1.4 X9.42 DH Keys crypto/dh/dh_check.c DH_generate_key iteration
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.2 | $0-$5k | 0.00 |
Summary
A vulnerability was found in OpenSSL up to 1.0.2zi/1.1.1w/3.0.12/3.1.4. It has been classified as critical. Impacted is the function DH_generate_key of the file crypto/dh/dh_check.c of the component X9.42 DH Keys Handler. Performing a manipulation results in iteration.
This vulnerability is reported as CVE-2023-5678. The attack is possible to be carried out remotely. No exploit exists.
Upgrading the affected component is recommended.
Details
A vulnerability classified as critical has been found in OpenSSL up to 1.0.2zi/1.1.1w/3.0.12/3.1.4 (Network Encryption Software). This affects the function DH_generate_key of the file crypto/dh/dh_check.c of the component X9.42 DH Keys Handler. The manipulation with an unknown input leads to a iteration vulnerability. CWE is classifying the issue as CWE-834. The product performs an iteration or loop without sufficiently limiting the number of times that the loop is executed. This is going to have an impact on availability. The summary by CVE is:
Issue summary: Generating excessively long X9.42 DH keys or checking excessively long X9.42 DH keys or parameters may be very slow. Impact summary: Applications that use the functions DH_generate_key() to generate an X9.42 DH key may experience long delays. Likewise, applications that use DH_check_pub_key(), DH_check_pub_key_ex() or EVP_PKEY_public_check() to check an X9.42 DH key or X9.42 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. While DH_check() performs all the necessary checks (as of CVE-2023-3817), DH_check_pub_key() doesn't make any of these checks, and is therefore vulnerable for excessively large P and Q parameters. Likewise, while DH_generate_key() performs a check for an excessively large P, it doesn't check for an excessively large Q. An application that calls DH_generate_key() or DH_check_pub_key() and supplies a key or parameters obtained from an untrusted source could be vulnerable to a Denial of Service attack. DH_generate_key() and DH_check_pub_key() are also 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_pub_key_ex(), EVP_PKEY_public_check(), and EVP_PKEY_generate(). Also vulnerable are the OpenSSL pkey command line application when using the "-pubcheck" option, as well as the OpenSSL genpkey command line application. 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.
The weakness was disclosed 11/06/2023 by David Benjamin as 20231106.txt. The advisory is shared at openssl.org. This vulnerability is uniquely identified as CVE-2023-5678 since 10/20/2023. Technical details are known, but no exploit is available. MITRE ATT&CK project uses the attack technique T1499 for this issue.
The vulnerability scanner Nessus provides a plugin with the ID 209978 (Debian dla-3942 : libcrypto1.1-udeb - security update), which helps to determine the existence of the flaw in a target environment.
Upgrading to version 1.0.2zj-dev, 1.1.1x-dev, 3.0.13-dev or 3.1.5-dev eliminates this vulnerability. Applying a patch is able to eliminate this problem. The bugfix is ready for download at git.openssl.org. The best possible mitigation is suggested to be upgrading to the latest version.
The vulnerability is also documented in the databases at Tenable (209978) and CERT Bund (WID-SEC-2025-1854). If you want to get the best quality for vulnerability data then you always have to consider VulDB.
Affected
- HCL BigFix
Product
Type
Name
Version
- 1.0.2za
- 1.0.2zb
- 1.0.2zc
- 1.0.2zd
- 1.0.2ze
- 1.0.2zf
- 1.0.2zg
- 1.0.2zh
- 1.0.2zi
- 1.1.1
- 1.1.1a
- 1.1.1b
- 1.1.1c
- 1.1.1d
- 1.1.1e
- 1.1.1f
- 1.1.1g
- 1.1.1h
- 1.1.1i
- 1.1.1j
- 1.1.1k
- 1.1.1l
- 1.1.1m
- 1.1.1n
- 1.1.1o
- 1.1.1p
- 1.1.1q
- 1.1.1r
- 1.1.1s
- 1.1.1t
- 1.1.1u
- 1.1.1v
- 1.1.1w
- 3.0.0
- 3.0.1
- 3.0.2
- 3.0.3
- 3.0.4
- 3.0.5
- 3.0.6
- 3.0.7
- 3.0.8
- 3.0.9
- 3.0.10
- 3.0.11
- 3.0.12
- 3.1.0
- 3.1.1
- 3.1.2
- 3.1.3
- 3.1.4
License
Website
- Product: https://www.openssl.org/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.3VulDB Meta Temp Score: 5.2
VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 5.3
NVD Vector: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: IterationCWE: CWE-834 / CWE-404
CAPEC: 🔍
ATT&CK: 🔍
Physical: No
Local: No
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 209978
Nessus Name: Debian dla-3942 : libcrypto1.1-udeb - security update
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔍
Upgrade: OpenSSL 1.0.2zj-dev/1.1.1x-dev/3.0.13-dev/3.1.5-dev
Patch: 34efaef6c103d636ab507a0cc34dca4d3aecc055
Timeline
10/20/2023 🔍11/06/2023 🔍
11/06/2023 🔍
08/18/2025 🔍
Sources
Product: openssl.orgAdvisory: 20231106.txt
Researcher: David Benjamin
Status: Confirmed
CVE: CVE-2023-5678 (🔍)
GCVE (CVE): GCVE-0-2023-5678
GCVE (VulDB): GCVE-100-244557
CERT Bund: WID-SEC-2025-1854 - HCL BigFix Komponente: Mehrere Schwachstellen
Entry
Created: 11/06/2023 17:13Updated: 08/18/2025 10:53
Changes: 11/06/2023 17:13 (45), 12/02/2023 14:37 (1), 12/02/2023 14:39 (10), 10/14/2024 19:11 (16), 10/31/2024 12:13 (2), 08/18/2025 10:53 (7)
Complete: 🔍
Cache ID: 216::103
If you want to get the best quality for vulnerability data then you always have to consider VulDB.
No comments yet. Languages: en.
Please log in to comment.