CVE-2023-6237
openssl: Excessive time spent checking invalid RSA public keys
Overview
Description
Issue summary: Checking excessively long invalid RSA public keys may take
a long time.
Impact summary: Applications that use the function EVP_PKEY_public_check()
to check RSA public keys may experience long delays. Where the key that
is being checked has been obtained from an untrusted source this may lead
to a Denial of Service.
When function EVP_PKEY_public_check() is called on RSA public keys,
a computation is done to confirm that the RSA modulus, n, is composite.
For valid RSA keys, n is a product of two or more large primes and this
computation completes quickly. However, if n is an overly large prime,
then this computation would take a long time.
An application that calls EVP_PKEY_public_check() and supplies an RSA key
obtained from an untrusted source could be vulnerable to a Denial of Service
attack.
The function EVP_PKEY_public_check() is not called from other OpenSSL
functions however it is called from the OpenSSL pkey command line
application. For that reason that application is also vulnerable if used
with the '-pubin' and '-check' options on untrusted data.
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.9 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- High
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness: CWE-606
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Julia | OpenSSL_jll | >=3.0.8+0, <3.0.13+0 | 3.0.13+0 |
Open a package to see all its vulnerabilities.
Operating systems · 46 fixes
Azure Linux 1 release · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| 3.0 | nodejs | 0:20.14.0-1.azl3 |
| 3.0 | openssl | 0:3.3.0-1.azl3 |
| 3.0 | cloud-hypervisor-cvm | 0:38.0.72.2-1.azl3 |
Oracle Linux 1 release · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| 9 | openssl +3 | 1:3.0.7-27.0.3.el9 |
| 9 | edk2-aarch64 +3 | 20240524-6.0.1.el9_5 |
| 9 | openssl-fips-provider | 3.0.7-2.0.1.el9 |
Photon OS 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 5.0 | openssl +5 | 3.5.7-2.ph5 |
Red Hat 1 release · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 9 | edk2-aarch64 +3 | 0:20240524-6.el9_5 | RHSA-2024:9088 |
| 9 | openssl +3 | 1:3.0.7-27.el9 | RHSA-2024:2447 |
SUSE Linux Enterprise 2 releases · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 15.4 | libopenssl-3-devel +2 | 3.0.8-150400.4.49.1 | SUSE-SU-2024:0518-1 |
| 15.5 | libopenssl-3-devel +2 | 3.0.8-150500.5.24.1 | SUSE-SU-2024:0172-1 |
SUSE Linux Enterprise Micro 2 releases · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 5.3 | libopenssl3 | 3.0.8-150400.4.49.1 | SUSE-SU-2024:0518-1 |
| 5.4 | libopenssl3 | 3.0.8-150400.4.49.1 | SUSE-SU-2024:0518-1 |
alma 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 9 | openssl +3 | 1:3.0.7-27.el9 |
| 9 | edk2-aarch64 +3 | 20240524-6.el9_5 |
alpine 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | openssl | 3.1.4-r4 |
| 3.23 | openssl | 3.1.4-r4 |
| 3.24 | openssl | 3.1.4-r4 |
| edge | openssl | 3.1.4-r4 |
amazon linux 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 2023 | openssl +8 | 1:3.0.8-1.amzn2023.0.11 |
chainguard 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| openssl | 3.3.0-r5 | |
| openssl-provider-fips +1 | 3.4.0-r4 |
debian 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 12 | openssl | 3.0.13-1~deb12u1 |
| 13 | openssl | 3.1.5-1 |
| 14 | openssl | 3.1.5-1 |
echo 1 release · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| openssl | 3.0.13-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 +7 | 3.1.4-3.1 | openSUSE-SU-2024:13633-1 |
openSUSE Leap Micro 2 releases · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 5.3 | libopenssl3 | 3.0.8-150400.4.49.1 | SUSE-SU-2024:0518-1 |
| 5.4 | libopenssl3 | 3.0.8-150400.4.49.1 | SUSE-SU-2024:0518-1 |
rocky 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 9 | edk2-aarch64 +1 | 20240524-6.el9_5.3 |
root.io alpine 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.23 | rootio-openssl | 3.1.4-r4 |
root.io debian 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 12 | rootio-openssl | 3.0.13-1~deb12u1 |
seal Red Hat 2 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 |
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 · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 22.04 | openssl | 3.0.2-0ubuntu1.14 |
| 24.04 | edk2 | 2024.02-2ubuntu0.6 |
| 24.04 | openssl | 3.0.10-1ubuntu4 |
| 26.04 | openssl | 3.0.10-1ubuntu4 |
wolfi 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| openssl | 3.3.0-r5 |
References
- www.openwall.com http://www.openwall.com/lists/oss-security/2024/03/11/1
- access.redhat.com https://access.redhat.com/errata/RHSA-2024:9088
- access.redhat.com https://access.redhat.com/security/cve/CVE-2023-6237
- bugzilla.redhat.com https://bugzilla.redhat.com/2257571
- bugzilla.redhat.com https://bugzilla.redhat.com/2258502
- bugzilla.redhat.com https://bugzilla.redhat.com/2259944
- bugzilla.redhat.com https://bugzilla.redhat.com/2284243
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2257571
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2258502
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2259944
Show all 36 references
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2284243
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-265688.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-331112.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-769027.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-915275.html
- creativecommons.org https://creativecommons.org/licenses/by/4.0/
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-6129
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-6237
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-0727
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-1298
- errata.almalinux.org https://errata.almalinux.org/9/ALSA-2024-9088.html
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2024:9088
- github.com https://github.com/advisories/GHSA-hvc4-mjv4-5mw6
- github.com https://github.com/openssl/openssl/commit/0b0f7abfb37350794a4b8960fafc292cd5d1b84d
- github.com https://github.com/openssl/openssl/commit/18c02492138d1eb8b6548cb26e7b625fb2414a2a
- github.com https://github.com/openssl/openssl/commit/a830f551557d3d66a84bbb18a5b889c640c36294
- linux.oracle.com https://linux.oracle.com/cve/CVE-2023-6237.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2024-9088.html
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2023-6237
- security.netapp.com https://security.netapp.com/advisory/ntap-20240531-0007
- security.netapp.com https://security.netapp.com/advisory/ntap-20240531-0007/
- ubuntu.com https://ubuntu.com/security/notices/USN-6622-1
- ubuntu.com https://ubuntu.com/security/notices/USN-7894-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2023-6237
- www.openssl.org https://www.openssl.org/news/secadv/20240115.txt
- www.openwall.com https://www.openwall.com/lists/oss-security/2024/01/15/2
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.