Menu

Star on GitHub · 3.2k

CVE-2023-6237

5.9 · MEDIUM

Issue summary: Checking excessively long invalid RSA public keys may take a long time.

Published Apr 25, 2024CWE-606EPSS 2.30%

Overview

CVE-2023-6237 is a medium-severity vulnerability. It was published on April 25, 2024 and has a CVSS 3.1 base score of 5.9 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.9, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical 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 applic

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2023-6237?

CVE-2023-6237 is a medium-severity vulnerability. It was published on April 25, 2024 and has a CVSS 3.1 base score of 5.9 (MEDIUM).

How severe is CVE-2023-6237?

This vulnerability has a CVSS 3.1 base score of 5.9, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2023-6237?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2023-6237?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2023-6237 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related MEDIUM CVEs from 2023

View all