CVEfocus › CVE database › CVE-2024-4603

CVE-2024-4603Excessive time spent checking DSA keys and parameters

CVSS 5.3 MediumEPSS 1.2% (higher than 69% of CVEs)Published 2024-05-16Updated 2024-10-14Assigner: openssl

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.

CWE-606CWE-834

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Red Hat, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

23Fixed
7Fix pending
4Will not fix
51Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04edk2Not affected
vulnerable_code_not_present
Ubuntu 26.04nodejsNot affected
vulnerable_code_not_present
Ubuntu 25.10edk2Not affected
vulnerable_code_not_present
Ubuntu 25.10nodejsNot affected
vulnerable_code_not_present
Ubuntu 24.04edk2Not affected
vulnerable_code_not_present
Ubuntu 24.04nodejsNot affected
vulnerable_code_not_present
Ubuntu 24.04opensslFixed3.0.13-0ubuntu3.2UBUNTU-CVE-2024-4603
Ubuntu 22.04edk2Not affected
vulnerable_code_not_present
Ubuntu 22.04nodejsFix pendingUBUNTU-CVE-2024-4603
Ubuntu 22.04opensslFixed3.0.2-0ubuntu1.17UBUNTU-CVE-2024-4603
Ubuntu 18.04nodejsFix pendingUBUNTU-CVE-2024-4603
Ubuntu 16.04nodejsFix pendingUBUNTU-CVE-2024-4603
Debian 14opensslFixed3.2.2-1DEBIAN-CVE-2024-4603
Debian 13opensslFixed3.2.2-1DEBIAN-CVE-2024-4603
Debian 12opensslFixed3.0.14-1~deb12u1DEBIAN-CVE-2024-4603
Red Hat Enterprise Linux 10edk2Not affected
Red Hat Enterprise Linux 10edk2-aarch64Not affected
Red Hat Enterprise Linux 10edk2-ovmfNot affected
Red Hat Enterprise Linux 10edk2-toolsNot affected
Red Hat Enterprise Linux 10edk2-tools-docNot affected
Red Hat Enterprise Linux 10mokutilNot affected
Red Hat Enterprise Linux 10opensslFix pending
Affected
Red Hat Enterprise Linux 10openssl-develFix pending
Affected
Red Hat Enterprise Linux 10openssl-libsFix pending
Affected
Red Hat Enterprise Linux 10openssl-perlFix pending
Affected
Red Hat Enterprise Linux 10shim-aa64Not affected
Red Hat Enterprise Linux 10shim-x64Not affected
Red Hat Enterprise Linux 9compat-openssl11Not affected
Red Hat Enterprise Linux 9edk2Not affected
Red Hat Enterprise Linux 9edk2-aarch64Not affected
Red Hat Enterprise Linux 9edk2-ovmfNot affected
Red Hat Enterprise Linux 9edk2-toolsNot affected
Red Hat Enterprise Linux 9edk2-tools-docNot affected
Red Hat Enterprise Linux 9opensslFixed1:3.2.2-6.el9_5RHSA-2024:9333
Red Hat Enterprise Linux 9openssl-develFixed1:3.2.2-6.el9_5RHSA-2024:9333
Red Hat Enterprise Linux 9openssl-libsFixed1:3.2.2-6.el9_5RHSA-2024:9333
Red Hat Enterprise Linux 9openssl-perlFixed1:3.2.2-6.el9_5RHSA-2024:9333
Red Hat Enterprise Linux 9shimNot affected
Red Hat Enterprise Linux 9shim-aa64Not affected
Red Hat Enterprise Linux 9shim-unsigned-aarch64Not affected
Red Hat Enterprise Linux 9shim-unsigned-x64Not affected
Red Hat Enterprise Linux 9shim-x64Not affected
Red Hat Enterprise Linux 8compat-openssl10Not affected
Red Hat Enterprise Linux 8edk2Not affected
Red Hat Enterprise Linux 8edk2-aarch64Not affected
Red Hat Enterprise Linux 8edk2-ovmfNot affected
Red Hat Enterprise Linux 8mingw-opensslNot affected
Red Hat Enterprise Linux 8mingw32-opensslNot affected
Red Hat Enterprise Linux 8mingw64-opensslNot affected
Red Hat Enterprise Linux 8opensslNot affected
Red Hat Enterprise Linux 8openssl-develNot affected
Red Hat Enterprise Linux 8openssl-libsNot affected
Red Hat Enterprise Linux 8openssl-perlNot affected
Red Hat Enterprise Linux 8openssl-staticNot affected
Red Hat Enterprise Linux 8shimNot affected
Red Hat Enterprise Linux 8shim-aa64Not affected
Red Hat Enterprise Linux 8shim-ia32Not affected
Red Hat Enterprise Linux 8shim-unsigned-x64Not affected
Red Hat Enterprise Linux 8shim-x64Not affected
Red Hat Enterprise Linux 7AAVMFNot affected
Red Hat Enterprise Linux 7OVMFNot affected
Red Hat Enterprise Linux 7opensslNot affected
Red Hat Enterprise Linux 7openssl-develNot affected
Red Hat Enterprise Linux 7openssl-libsNot affected
Red Hat Enterprise Linux 7openssl-perlNot affected
Red Hat Enterprise Linux 7openssl-staticNot affected
Red Hat Enterprise Linux 7ovmfNot affected
Red Hat Enterprise Linux 6opensslWill not fix
Out of support scope
Red Hat Enterprise Linux 6openssl-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6openssl-perlWill not fix
Out of support scope
Red Hat Enterprise Linux 6openssl-staticWill not fix
Out of support scope
AlmaLinux 9opensslFixed1:3.2.2-6.el9_5ALSA-2024:9333
AlmaLinux 9openssl-develFixed1:3.2.2-6.el9_5ALSA-2024:9333
AlmaLinux 9openssl-libsFixed1:3.2.2-6.el9_5ALSA-2024:9333
AlmaLinux 9openssl-perlFixed1:3.2.2-6.el9_5ALSA-2024:9333
Rocky Linux 9opensslFixed1:3.2.2-6.el9_5.1RLSA-2024:9333
Rocky Linux 9openssl-fips-providerFixed0:3.0.7-6.el9_5RLSA-2024:9333
Alpine Linux 3.24opensslFixed3.3.0-r2ALPINE-CVE-2024-4603
Alpine Linux 3.23opensslFixed3.3.0-r2ALPINE-CVE-2024-4603
Alpine Linux 3.22opensslFixed3.3.0-r2ALPINE-CVE-2024-4603
Alpine Linux 3.21opensslFixed3.3.0-r2ALPINE-CVE-2024-4603
Alpine Linux 3.20opensslFixed3.3.0-r2ALPINE-CVE-2024-4603
Alpine Linux 3.19opensslFixed3.1.5-r0ALPINE-CVE-2024-4603
Alpine Linux 3.18opensslFixed3.1.5-r0ALPINE-CVE-2024-4603
Alpine Linux 3.17opensslFixed3.0.13-r0ALPINE-CVE-2024-4603

What the vendor says

As published in the CVE record by openssl, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.