Skip to content

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

MediumCVSS 5.3 EPSS 1.2%
Published
Updated
Exploit status
No public exploit known

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.

Affected products

ProductAffected versionsFixed in
Microsoft cbl mariner < 38.0.72.2-1 38.0.72.2-1
Microsoft cbl mariner < 1.0.1-6 1.0.1-6
Microsoft cbl mariner < 18.20.2-1 18.20.2-1
Microsoft azure linux < 38.0.72.2-1 38.0.72.2-1
Microsoft azure linux < 20.14.0-1 20.14.0-1
Microsoft azure linux < 3.3.2-1 3.3.2-1
debian/openssl(Debian:12) < 3.0.14-1~deb12u1 3.0.14-1~deb12u1
debian/openssl(Debian:12) = 3.0.10-1 No fix listed
debian/openssl(Debian:12) = 3.0.10-1~deb12u1 No fix listed
debian/openssl(Debian:12) = 3.0.11-1 No fix listed
debian/openssl(Debian:12) = 3.0.11-1~deb12u1 No fix listed
debian/openssl(Debian:12) = 3.0.11-1~deb12u2 No fix listed
debian/openssl(Debian:12) = 3.0.12-1 No fix listed
debian/openssl(Debian:12) = 3.0.12-2 No fix listed
debian/openssl(Debian:12) = 3.0.13-1~deb12u1 No fix listed
debian/openssl(Debian:12) = 3.0.13-1~deb12u2 No fix listed
debian/openssl(Debian:12) = 3.0.9-1 No fix listed
debian/openssl(Debian:13) < 3.2.2-1 3.2.2-1
debian/openssl(Debian:14) < 3.2.2-1 3.2.2-1
ubuntu/openssl(Ubuntu:22.04) < 3.0.2-0ubuntu1.17 3.0.2-0ubuntu1.17
ubuntu/nodejs(Ubuntu:22.04) All versions No fix listed
OpenSSL >= 3.0.0, < 3.0.14 3.0.14
OpenSSL >= 3.1.0, < 3.1.6 3.1.6
OpenSSL >= 3.2.0, < 3.2.2 3.2.2
OpenSSL >= 3.3.0, < 3.3.1 3.3.1
Show 30 more
ProductAffected versionsFixed in
ubuntu/openssl(Ubuntu:24.04) < 3.0.13-0ubuntu3.2 3.0.13-0ubuntu3.2
netapp c400 firmware All versions No fix listed
netapp c250 firmware All versions No fix listed
netapp h300s firmware All versions No fix listed
netapp h500s firmware All versions No fix listed
netapp h700s firmware All versions No fix listed
netapp h410s firmware All versions No fix listed
netapp h410c firmware All versions No fix listed
netapp h610c firmware All versions No fix listed
netapp h610s firmware All versions No fix listed
netapp h615c firmware All versions No fix listed
netapp management services for element software and netapp hci All versions No fix listed
netapp ontap select deploy administration utility All versions No fix listed
netapp snapmanager All versions No fix listed
netapp brocade fabric operating system All versions No fix listed
netapp bootstrap os All versions No fix listed
netapp a700s firmware All versions No fix listed
netapp 8300 firmware All versions No fix listed
netapp 8700 firmware All versions No fix listed
netapp a400 firmware All versions No fix listed
netapp a250 firmware All versions No fix listed
netapp 500f firmware All versions No fix listed
alpine/openssl(Alpine:v3.17) >= 3.0.0, < 3.0.13-r0 3.0.13-r0
alpine/openssl(Alpine:v3.18) >= 3.1.0, < 3.1.5-r0 3.1.5-r0
alpine/openssl(Alpine:v3.19) >= 3.1.0, < 3.1.5-r0 3.1.5-r0
alpine/openssl(Alpine:v3.20) >= 3.3.0, < 3.3.0-r2 3.3.0-r2
alpine/openssl(Alpine:v3.21) >= 3.3.0, < 3.3.0-r2 3.3.0-r2
alpine/openssl(Alpine:v3.22) >= 3.3.0, < 3.3.0-r2 3.3.0-r2
alpine/openssl(Alpine:v3.23) >= 3.3.0, < 3.3.0-r2 3.3.0-r2
alpine/openssl(Alpine:v3.24) >= 3.3.0, < 3.3.0-r2 3.3.0-r2

References