CVE-2024-4603
openssl: Excessive time spent checking DSA keys and parameters
Overview
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.
Source: OX vulnerability database
Severity
5.3 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- Low
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Weakness: CWE-606, CWE-834
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Julia | OpenSSL_jll | >=3.0.8+0, <3.0.14+0 | 3.0.14+0 |
Open a package to see all its vulnerabilities.
Operating systems · 47 fixes
Azure Linux 1 release · 4 packages
| Release | Package | Fixed in |
|---|---|---|
| 3.0 | nodejs | 0:20.14.0-1.azl3 |
| 3.0 | edk2 | 0:20240524git3e722403cd16-8.azl3 |
| 3.0 | openssl | 0:3.3.2-1.azl3 |
| 3.0 | cloud-hypervisor-cvm | 0:38.0.72.2-1.azl3 |
Oracle Linux 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 9 | openssl +3 | 1:3.2.2-6.0.1.el9_5 |
| 9 | openssl-fips-provider +1 | 3.0.7-6.0.1.el9_5 |
Red Hat 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 9 | openssl +3 | 1:3.2.2-6.el9_5 | RHSA-2024:9333 |
SUSE Linux Enterprise 3 releases · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 15.4 | libopenssl-3-devel +2 | 3.0.8-150400.4.54.1 | SUSE-SU-2024:1947-1 |
| 15.5 | libopenssl-3-devel +2 | 3.0.8-150500.5.33.1 | SUSE-SU-2024:1789-1 |
| 15.6 | libopenssl-3-devel +5 | 3.1.4-150600.5.7.1 | SUSE-SU-2024:2066-1 |
SUSE Linux Enterprise Micro 3 releases · 4 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 5.3 | libopenssl3 | 3.0.8-150400.4.54.1 | SUSE-SU-2024:1947-1 |
| 5.4 | libopenssl3 | 3.0.8-150400.4.54.1 | SUSE-SU-2024:1947-1 |
| 6.0 | libpulp-tools +1 | 0.3.5-1.1 | SUSE-SU-2025:20014-1 |
| 6.0 | libopenssl-3-devel +3 | 3.1.4-6.1 | SUSE-SU-2025:20014-1 |
| 6.0 | jitterentropy-devel +1 | 3.4.1-3.1 | SUSE-SU-2025:20014-1 |
alma 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 9 | openssl +3 | 1:3.2.2-6.el9_5 |
alpine 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | openssl | 3.3.0-r2 |
| 3.23 | openssl | 3.3.0-r2 |
| 3.24 | openssl | 3.3.0-r2 |
| edge | openssl | 3.3.0-r2 |
amazon linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 2023 | openssl +8 | 1:3.0.8-1.amzn2023.0.14 |
chainguard 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| openssl | 3.3.0-r8 | |
| openssl-provider-fips +1 | 3.4.0-r4 |
debian 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 12 | openssl | 3.0.14-1~deb12u1 |
| 13 | openssl | 3.2.2-1 |
| 14 | openssl | 3.2.2-1 |
echo 1 release · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| openssl | 3.0.14-1~deb12u1 | |
| openssl-3-0-9 | 3.0.9+e1 | |
| openssl-3-1-0 | 3.1.0+e1 |
openSUSE 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | libopenssl-3-devel +9 | 3.1.4-8.1 | openSUSE-SU-2024:13992-1 |
openSUSE Leap Micro 2 releases · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 5.3 | libopenssl3 | 3.0.8-150400.4.54.1 | SUSE-SU-2024:1947-1 |
| 5.4 | libopenssl3 | 3.0.8-150400.4.54.1 | SUSE-SU-2024:1947-1 |
rocky 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 9 | openssl +3 | 1:3.2.2-6.el9_5.1 |
root.io alpine 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.23 | rootio-openssl | 3.3.0-r2 |
root.io debian 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 12 | rootio-openssl | 3.0.14-1~deb12u1 |
seal Red Hat 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | openssl +1 | 1:1.0.2k-25.el7_9+sp999 |
| 7 | openssl +1 | 1:1.0.2k-26.el7_9+sp999 |
| 8 | openssl +1 | 1:1.1.1k-14.el8_6+sp999 |
| 8 | openssl +1 | 1:1.1.1k-6.el8_5+sp999 |
| 9 | openssl +1 | 1:3.2.2-6.el9_5+sp999 |
seal debian 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| openssl +1 | 1.1.1w-0+deb11u2+sp999 | |
| openssl +1 | 3.0.11-1~deb12u2+sp999 | |
| openssl +1 | 3.0.16-1~deb12u1+sp999 |
ubuntu 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 22.04 | openssl | 3.0.2-0ubuntu1.17 |
| 24.04 | openssl | 3.0.13-0ubuntu3.2 |
| 26.04 | openssl | 3.2.2-1ubuntu1 |
wolfi 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| openssl | 3.3.0-r8 |
References
- www.openwall.com http://www.openwall.com/lists/oss-security/2024/05/16/2
- access.redhat.com https://access.redhat.com/errata/RHSA-2024:9333
- access.redhat.com https://access.redhat.com/security/cve/CVE-2024-4603
- bugzilla.redhat.com https://bugzilla.redhat.com/2274020
- bugzilla.redhat.com https://bugzilla.redhat.com/2281029
- bugzilla.redhat.com https://bugzilla.redhat.com/2283757
- bugzilla.redhat.com https://bugzilla.redhat.com/2294581
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2274020
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2281029
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2283757
Show all 31 references
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2294581
- creativecommons.org https://creativecommons.org/licenses/by/4.0/
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-2511
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-4603
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-4741
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-5535
- errata.almalinux.org https://errata.almalinux.org/9/ALSA-2024-9333.html
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2024:9333
- github.com https://github.com/advisories/GHSA-85xr-ghj6-6m46
- github.com https://github.com/openssl/openssl/commit/3559e868e58005d15c6013a0c1fd832e51c73397
- github.com https://github.com/openssl/openssl/commit/53ea06486d296b890d565fb971b2764fcd826e7e
- github.com https://github.com/openssl/openssl/commit/9c39b3858091c152f52513c066ff2c5a47969f0d
- github.com https://github.com/openssl/openssl/commit/da343d0605c826ef197aceedc67e8e04f065f740
- linux.oracle.com https://linux.oracle.com/cve/CVE-2024-4603.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2024-9333.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2024-4603
- security.netapp.com https://security.netapp.com/advisory/ntap-20240621-0001
- security.netapp.com https://security.netapp.com/advisory/ntap-20240621-0001/
- ubuntu.com https://ubuntu.com/security/notices/USN-6937-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2024-4603
- www.openssl.org https://www.openssl.org/news/secadv/20240516.txt
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.