CVE-2024-4603: Excessive time spent checking DSA keys and parameters
Vulnerability summary
CVE-2024-4603 is a medium (CVSS 5.3) Unchecked Input for Loop Condition vulnerability in openssl. EPSS estimates a 1.13% chance of exploitation in the next 30 days, higher than 66.4% of scored vulnerabilities.
Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 7 · Related 6Timeline
- 16-05-2024PublishedVulnerability first disclosed.
- 14-10-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
7 scores · 7 sources · 1 version- OSV · AlpineEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- OSV · UbuntuEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- OSV · DebianEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- OSV · WolfiEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- OSV · ChainguardEcosystem advisory · calculated5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- NVDNIST5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS trend
Probability
1.13%
Chance of exploitation in the next 30 days
Percentile
66%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.13% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-606Unchecked Input for Loop ConditionThe product does not properly check inputs that are used for loop conditions, potentially leading to a denial of service or other consequences because of excessive looping.
- CWE-834Excessive IterationThe product performs an iteration or loop without sufficiently limiting the number of times that the loop is executed.
Affected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard4 products
- openssl< 3.3.0-r8
- openssl-provider-fips< 3.4.0-r4
- openssl-provider-fips-3.1.2< 3.4.0-r4
- openssl-provider-fips-3.1.2-dbg< 3.4.0-r4
Ubuntu3 products
- nodejsAll versions (No fix recorded)
- openssl< 3.0.2-0ubuntu1.17 | All versions (No fix recorded) | < 3.0.2-0ubuntu1.17+Fips1 | < 3.0.13-0ubuntu3.2
- openssl-fipsAll versions (No fix recorded) | < 3.0.13-0ubuntu3.6+Fips1
Opensuse2 products
- openssl-3&distro=openSUSE Leap 15.5< 3.0.8-150500.5.33.1
- openssl-3&distro=openSUSE Tumbleweed< 3.1.4-8.1
Alpine1 product
- openssl< 3.0.13-r0 | < 3.1.5-r0 | < 3.3.0-r2
Debian1 product
- openssl< 3.0.14-1~deb12u1 | < 3.2.2-1
Openssl1 product
- openssl≥ 3.0.0, < 3.0.14 | ≥ 3.1.0, < 3.1.6 | ≥ 3.2.0, < 3.2.2 | ≥ 3.3.0, < 3.3.1
Suse1 product
- openssl-3&distro=SUSE Linux Enterprise Module for Basesystem 15 SP5< 3.0.8-150500.5.33.1
Wolfi1 product
- openssl< 3.3.0-r8
8 vendors · 14 products