Excessive time spent checking DSA keys and parameters
Summary
| CVE | CVE-2024-4603 |
|---|---|
| State | PUBLISHED |
| Assigner | openssl |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2024-05-16 16:15:10 UTC |
| Updated | 2026-11-09 16:20:11 UTC |
| Description | Issue summary: Checking excessively long DSA keys or parameters may be very slow. Impact summary: Applications that use the functions EVP_PKEY_param_check() or EVP_PKEY_public_check() to check a DSA public key or DSA 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 functions EVP_PKEY_param_check() or EVP_PKEY_public_check() perform various checks on DSA parameters. Some of those computations take a long time if the modulus (`p` parameter) is too large. Trying to use a very large modulus is slow and OpenSSL will not allow using public keys with a modulus which is over 10,000 bits in length for signature verification. However the key and parameter check functions do not limit the modulus size when performing the checks. An application that calls EVP_PKEY_param_check() or EVP_PKEY_public_check() and supplies a key or parameters obtained from an untrusted source could be vulnerable to a Denial of Service attack. These functions are not called by OpenSSL itself on untrusted DSA keys so only applications that directly call these functions may be vulnerable. Also vulnerable are the OpenSSL pkey 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 affected by this issue. |
Risk And Classification
Primary CVSS: v3.1 5.3 MEDIUM from ADP
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS: 0.011310000 probability, percentile 0.666390000 (date 2026-11-08)
Problem Types: CWE-606 | CWE-834 | CWE-606 CWE-606 Unchecked Input for Loop Condition | CWE-834 CWE-834 Excessive Iteration
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | ADP | DECLARED | 5.3 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| 3.1 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | Secondary | 5.3 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
LowCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Hardware | Netapp | C250 | - | All | All | All |
| Operating System | Netapp | C250 Firmware | - | All | All | All |
| Hardware | Netapp | C400 | - | All | All | All |
| Operating System | Netapp | C400 Firmware | - | All | All | All |
| Hardware | Netapp | H300s | - | All | All | All |
| Operating System | Netapp | H300s Firmware | - | All | All | All |
| Hardware | Netapp | H410c | - | All | All | All |
| Operating System | Netapp | H410c Firmware | - | All | All | All |
| Hardware | Netapp | H410s | - | All | All | All |
| Operating System | Netapp | H410s Firmware | - | All | All | All |
| Hardware | Netapp | H500s | - | All | All | All |
| Operating System | Netapp | H500s Firmware | - | All | All | All |
| Hardware | Netapp | H610c | - | All | All | All |
| Operating System | Netapp | H610c Firmware | - | All | All | All |
| Hardware | Netapp | H610s | - | All | All | All |
| Operating System | Netapp | H610s Firmware | - | All | All | All |
| Hardware | Netapp | H615c | - | All | All | All |
| Operating System | Netapp | H615c Firmware | - | All | All | All |
| Hardware | Netapp | H700s | - | All | All | All |
| Operating System | Netapp | H700s Firmware | - | All | All | All |
| Application | Openssl | Openssl | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | OpenSSL | OpenSSL | affected 3.0.0 3.0.14 semver | Not specified |
| CNA | OpenSSL | OpenSSL | affected 3.1.0 3.1.6 semver | Not specified |
| CNA | OpenSSL | OpenSSL | affected 3.2.0 3.2.2 semver | Not specified |
| CNA | OpenSSL | OpenSSL | affected 3.3.0 3.3.1 semver | Not specified |
| ADP | Openssl | Openssl | affected 3.0.0 3.0.14 semver | Not specified |
| ADP | Openssl | Openssl | affected 3.1.0 3.1.6 semver | Not specified |
| ADP | Openssl | Openssl | affected 3.2.0 3.2.2 semver | Not specified |
| ADP | Openssl | Openssl | affected 3.3.0 3.3.1 semver | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/openssl/openssl/commit/3559e868e58005d15c6013a0c1fd832e51c73397 | af854a3a-2127-422b-91ae-364da2661108 | github.com | Patch |
| github.com/openssl/openssl/commit/9c39b3858091c152f52513c066ff2c5a47969f0d | af854a3a-2127-422b-91ae-364da2661108 | github.com | Patch |
| www.openwall.com/lists/oss-security/2024/05/16/2 | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | Mailing List, Third Party Advisory |
| github.com/openssl/openssl/commit/53ea06486d296b890d565fb971b2764fcd826e7e | af854a3a-2127-422b-91ae-364da2661108 | github.com | Patch |
| security.netapp.com/advisory/ntap-20240621-0001 | af854a3a-2127-422b-91ae-364da2661108 | security.netapp.com | Third Party Advisory |
| github.com/openssl/openssl/commit/da343d0605c826ef197aceedc67e8e04f065f740 | af854a3a-2127-422b-91ae-364da2661108 | github.com | Patch |
| www.openssl.org/news/secadv/20240516.txt | af854a3a-2127-422b-91ae-364da2661108 | www.openssl.org | Vendor Advisory |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: OSS-Fuzz (en)
CNA: Tomas Mraz (en)
There are currently no legacy QID mappings associated with this CVE.