Uncontrolled Resource Consumption
CVE-2024-4603
Summary
In openssl 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. This affects versions openssl-3.0.0-alpha1 through openssl-3.0.13 , openssl-3.1.0-alpha1 through openssl-3.1.5, openssl-3.2.0-alpha1 through openssl-3.2.1 and openssl-3.3.0-alpha1 through openssl-3.3.0.
- LOW
- NETWORK
- NONE
- UNCHANGED
- NONE
- NONE
- NONE
- LOW
CWE-400 - Uncontrolled resource consumption
An uncontrolled resource allocation attack (also known as resource exhaustion attack) triggers unauthorized overconsumption of the limited resources in an application, such as memory, file system storage, database connection pool entries, and CPU. This may lead to denial of service for valid users and degradation of the application's functionality as well as that of the host operating system.
References
Advisory Timeline
- Published