cve.bz

CVE-2023-6237 Unchecked Input for Loop Condition

5.9 mediumEPSS 2.5%Fix available

Medium (5.9). EPSS 2.5% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

5.9 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
2.5% (unchanged from 2.3% a week ago; 2.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 85th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-08-20. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-606 Unchecked Input for Loop Condition
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-6237 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-6237?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-6237?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-6237 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2023-6237

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2023-6237](https://cve.bz/cve/badge/CVE-2023-6237.svg)](https://cve.bz/cve/CVE-2023-6237)

HTML:

<a href="https://cve.bz/cve/CVE-2023-6237"><img src="https://cve.bz/cve/badge/CVE-2023-6237.svg" alt="CVE-2023-6237"></a>

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
OpenSSLfrom 3.0.0 before 3.0.13
OpenSSLfrom 3.1.0 before 3.1.5
OpenSSLfrom 3.2.0 before 3.2.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12openssl3.0.13-1~deb12u1DEBIAN-CVE-2023-6237
Debian13, 14openssl3.1.5-1DEBIAN-CVE-2023-6237
Ubuntu20.04:LTSopenssl1.1.1f-1ubuntu2.21USN-6622-1
Ubuntu22.04:LTSedk22022.02-3ubuntu0.22.04.4USN-7894-1
Ubuntu22.04:LTSopenssl3.0.2-0ubuntu1.14UBUNTU-CVE-2023-6237 USN-6622-1
Ubuntu24.04:LTSedk22024.02-2ubuntu0.6UBUNTU-CVE-2023-6237 USN-7894-1
Ubuntu24.04:LTSopenssl3.0.10-1ubuntu4UBUNTU-CVE-2023-6237
UbuntuPro:22.04:LTSnodejsno fix listedUBUNTU-CVE-2023-6237
UbuntuPro:FIPS-preview:22.04:LTSopensslno fix listedUBUNTU-CVE-2023-6237
UbuntuPro:FIPS-updates:22.04:LTSopenssl3.0.2-0ubuntu1.14+Fips1UBUNTU-CVE-2023-6237
Red Hatenterprise_linux:9::appstreamedk2, edk2-ovmf, edk2-aarch640:20240524-6.el9_5RHSA-2024:9088
Red Hatenterprise_linux:9::appstreamopenssl-perl, openssl-devel, openssl-debuginfo and 2 more1:3.0.7-27.el9RHSA-2024:2447
Red Hatenterprise_linux:9::baseosopenssl, openssl-libs, openssl-debuginfo and 2 more1:3.0.7-27.el9RHSA-2024:2447
Red Hatenterprise_linux:9::crbedk2-ovmf, edk2-tools, edk2-aarch64 and 3 more0:20240524-6.el9_5RHSA-2024:9088
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Micro 5.3 and 5 moreopenssl-33.0.8-150400.4.49.1SUSE-SU-2024:0518-1
SUSELinux Enterprise Module for Basesystem 15 SP5openssl-33.0.8-150500.5.24.1SUSE-SU-2024:0172-1
openSUSELeap 15.5openssl-33.0.8-150500.5.24.1SUSE-SU-2024:0172-1
openSUSELeap Micro 5.3, Leap Micro 5.4openssl-33.0.8-150400.4.49.1SUSE-SU-2024:0518-1
openSUSETumbleweedopenssl-33.1.4-3.1openSUSE-SU-2024:13633-1
AlmaLinux9edk2-ovmf, edk2-tools, edk2-aarch64 and 1 more20240524-6.el9_5ALSA-2024:9088
AlmaLinux9openssl, openssl-libs, openssl-perl and 1 more1:3.0.7-27.el9ALSA-2024:2447
Rocky Linux9edk20:20240524-6.el9_5.3RLSA-2024:9088
Alpinev3.17openssl3.0.12-r3ALPINE-CVE-2023-6237
Alpinev3.18, v3.19, v3.20 and 4 moreopenssl3.1.4-r4ALPINE-CVE-2023-6237
Azure Linux2cloud-hypervisor-cvm38.0.72.2-1AZL-42688
Azure Linux2hvloader1.0.1-6AZL-47670
Azure Linux2nodejs1818.20.2-1AZL-39968
Azure Linux3cloud-hypervisor-cvm38.0.72.2-1AZL-42727
Azure Linux3nodejs20.14.0-1AZL-39961
Azure Linux3openssl3.3.0-1AZL-39946
Azure Linux3openssl-fips-providerno fix listedAZL-78561
Alpaquita23openssl3.0.12-r3BELL-CVE-2023-6237
Alpaquitastreamopenssl3.1.4-r3BELL-CVE-2023-6237
BellSoft Hardened Containers23openssl3.0.12-r3BELL-CVE-2023-6237
BellSoft Hardened Containersstreamopenssl3.1.4-r3BELL-CVE-2023-6237

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita · BellSoft Hardened Containers.

Red Hat

Red Hat rates this Low.

Red Hat's statement

Red Hat Product Security rates the severity of this flaw as determined by the upstream OpenSSL security team.

The marked moderate issue in OpenSSL involves a flaw in the EVP_PKEY_public_check() function used for RSA public keys. When verifying keys, the computation to confirm the composite nature of the RSA modulus may take an extended time if the modulus is a large prime. This vulnerability could be exploited for a Denial of Service attack in applications using this function with RSA keys from untrusted sources. The severity is moderate as it requires specific conditions for exploitation and may not pose an immediate widespread threat.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 9openssl-1:3.0.7-27.el9Fixed 2024-04-30RHSA-2024:2447
Red Hat Enterprise Linux 9edk2-0:20240524-6.el9_5Fixed 2024-11-12RHSA-2024:9088
Red Hat Enterprise Linux 6opensslNot affected
Red Hat Enterprise Linux 7opensslNot affected
Red Hat Enterprise Linux 7ovmfNot affected
Red Hat Enterprise Linux 8compat-openssl10Not affected
Red Hat Enterprise Linux 8edk2Not affected
Red Hat Enterprise Linux 8opensslNot affected
Red Hat Enterprise Linux 8shimNot affected
Red Hat Enterprise Linux 9compat-openssl11Not affected
Red Hat Enterprise Linux 9shimNot affected
Red Hat JBoss Core ServicesopensslNot affected
Red Hat JBoss Web Server 5opensslNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-6237.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-25-044-09Siemens SCALANCE W700 IEEE 802.11ax2025-02-11Chemical, Critical Manufacturing, Energy, Food and Agriculture, Water and Wastewater SystemsSCALANCE WAB762-1 (6GK5762-1AJ00-6AA0), SCALANCE WAM763-1 (6GK5763-1AL00-7DA0), SCALANCE WAM763-1 (ME) (6GK5763-1AL00-7DC0) and 16 morenone listed
ICSA-24-319-04Siemens SINEC NMS2024-11-12MultipleSINEC NMSnone listed
ICSA-24-319-08Siemens SINEC INS2024-11-12MultipleSINEC INSnone listed
ICSA-24-102-01Siemens SIMATIC S7-1500 TM MFP2024-04-09Critical ManufacturingSIMATIC S7-1500 TM MFP - GNU/Linux subsystemnone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

History

  1. Analyzed by the NVD

Changes since this site first stored the record. The same for every record: /api/public/changes.

References

Check your stackJSON