CVE-2023-6237

MEDIUMCVSS 5.9/10EPSS 2.30%

Last modified

CVE-2023-6237 is a medium-severity vulnerability rated 5.9/10 on the CVSS scale. 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. EPSS estimates a 2.30% chance of exploitation in the next 30 days.

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.

Metrics

EPSS Probability
2.30%

83.5th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
OpensslOpenssl>= 3.0.0, < 3.0.13
OpensslOpenssl>= 3.1.0, < 3.1.5
OpensslOpenssl>= 3.2.0, < 3.2.1
NetappManagement Services For Element Software And Netapp HciAll versions
NetappOntap Select Deploy Administration UtilityAll versions
NetappSnapmanagerAll versions
NetappBrocade Fabric Operating SystemAll versions
NetappHci Bootstrap OsAll versions
NetappE-Series Santricity Os Controller>= 11.0, < 11.80.1r2
NetappH610s FirmwareAll versions
NetappH610c FirmwareAll versions
NetappH410c FirmwareAll versions
NetappH410s FirmwareAll versions
NetappH700s FirmwareAll versions
NetappH500s FirmwareAll versions
NetappH300s FirmwareAll versions
NetappC250 FirmwareAll versions
Netapp500f FirmwareAll versions
NetappA250 FirmwareAll versions
NetappC400 FirmwareAll versions
NetappA400 FirmwareAll versions
Netapp8700 FirmwareAll versions
Netapp8300 FirmwareAll versions
NetappA700s FirmwareAll versions
SiemensSimatic S7-1500 Tm Mfp Firmware< 1.1.1
SiemensSinec Nms<= 2.0
SiemensSinec Nms3.0
SiemensScalance Wum766-1 Firmware< 3.0.0
SiemensScalance Wum763-1 Firmware< 3.0.0
SiemensScalance Wub762-1 Ifeatures Firmware< 3.0.0
SiemensScalance Wub762-1 Firmware< 3.0.0
SiemensScalance Wam766-1 Firmware< 3.0.0
SiemensScalance Wam763-1 Firmware< 3.0.0
SiemensScalance Wab762-1 Firmware< 3.0.0
SiemensSinec Ins< 1.0
SiemensSinec Ins1.0
NetappH615c FirmwareAll versions

References

Timeline

Published
Last Modified
Status
Analyzed

Frequently Asked Questions

What is CVE-2023-6237?
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.
How severe is CVE-2023-6237?
CVE-2023-6237 has a CVSS score of 5.9/10 (MEDIUM severity). The EPSS model estimates a 2.30% probability of exploitation in the next 30 days.
How do I fix CVE-2023-6237?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

How Strix Helps

Related CVEs from 2023

Are you affected by CVE-2023-6237?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST