Excessive time spent checking DSA keys and parameters

Summary

CVECVE-2024-4603
StatePUBLISHED
Assigneropenssl
Source PriorityCVE Program / NVD first with legacy fallback
Published2024-05-16 16:15:10 UTC
Updated2026-11-09 16:20:11 UTC
DescriptionIssue 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


VersionSourceTypeScoreSeverityVector
3.1ADPDECLARED5.3MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
3.1134c704f-9b21-4f2e-91b3-4a467353bcc0Secondary5.3MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

CVSS v3.1 Breakdown

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

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
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

SourceVendorProductVersionPlatforms
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

ReferenceSourceLinkTags
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)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report