VDB

CVE-2024-4603

CVE-2024-4603 PUBLISHED CVSS 5.3 MEDIUM

Excessive time spent checking DSA keys and parameters

Reported by openssl · Published May 16, 2024

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
opensslAlpine3.3.0-r2, 3.1.5-r0, 3.0.13-r0
openssl-provider-fipsChainguard3.4.0-r4
openssl-provider-fips-3.1.2Chainguard3.4.0-r4
openssl-develAmazon Linux1:3.0.8-1.amzn2023.0.14
openssl-perlAmazon Linux1:3.0.8-1.amzn2023.0.14
opensslAmazon Linux1:3.0.8-1.amzn2023.0.14
openssl-snapsafe-libsAmazon Linux1:3.0.8-1.amzn2023.0.14
openssl-libsAmazon Linux1:3.0.8-1.amzn2023.0.14
opensslChainguard3.3.0-r8
opensslWolfi3.3.0-r8
opensslopenssl3.3.1, 3.2.2, 3.1.6, 3.0.14

Risk scores

CVSS 3.1
5.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Affected products

VendorProductVersions
OpenSSLOpenSSL3.0.0, 3.1.0, 3.2.0
alpineopenssl0, 0, 0
opensslopenssl3.0.0, 3.1.0, 3.2.0
chainguardopenssl-provider-fips0
chainguardopenssl-provider-fips-3.1.20
amazon:2023openssl-devel0
amazon:2023openssl-perl0
amazon:2023openssl0
amazon:2023openssl-snapsafe-libs0
OpenSSLOpenSSL3.3.0, 3.0.0, 3.1.0
amazon:2023openssl-libs0
chainguardopenssl0
wolfiopenssl0

Timeline

  • May 16, 2024 CVE Published
  • May 17, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 5, 2024 Coalition ESS Score (16 in total, the first dated here)
  • Oct 14, 2024 CVE Updated
  • Mar 17, 2026 Security Advisory (8 in total, the first dated here)
  • Nov 22, 2026 Distribution Patch (4 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-4603
vulnetix vdb fixes CVE-2024-4603

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-4603/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›