Bug 1218810 (CVE-2023-6237) - VUL-0: CVE-2023-6237: openssl-3: Excessive time spent checking invalid RSA public keys
Summary: VUL-0: CVE-2023-6237: openssl-3: Excessive time spent checking invalid RSA pu...
Status: RESOLVED FIXED
Alias: CVE-2023-6237
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents (show other bugs)
Version: unspecified
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Security Team bot
QA Contact: Security Team bot
URL: https://smash.suse.de/issue/391206/
Whiteboard: CVSSv3.1:SUSE:CVE-2023-6237:5.9:(AV:N...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-15 12:53 UTC by SMASH SMASH
Modified: 2024-05-17 09:01 UTC (History)
3 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SMASH SMASH 2024-01-15 12:53:21 UTC
https://www.openssl.org/news/secadv/20240115.txt                                                                                                                                             


Excessive time spent checking invalid RSA public keys (CVE-2023-6237)
=====================================================================

Severity: Low

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.

OpenSSL versions 3.0.0 to 3.0.12, 3.1.0 to 3.1.4 and 3.2.0 are vulnerable to
this issue.

OpenSSL versions 1.1.1 and 1.0.2 are not affected by this issue.

Due to the low severity of this issue we are not issuing new releases of
OpenSSL at this time. The fix will be included in the next releases when they
become available. The fix is also available in commit 0b0f7abf (for 3.2),
commit a830f551 (for 3.1) and commit 18c02492 (for 3.0) in the OpenSSL git
repository.

This issue was reported on 2nd November 2023 by OSS-Fuzz. The fix was
developed by Tomas Mraz.
Comment 3 OBSbugzilla Bot 2024-01-17 11:35:06 UTC
This is an autogenerated message for OBS integration:
This bug (1218810) was mentioned in
https://build.opensuse.org/request/show/1139418 Factory / openssl-3
Comment 4 Otto Hollmann 2024-01-17 12:37:40 UTC
All patches were submitted (see above comments), assigning back to security team.
Comment 6 OBSbugzilla Bot 2024-01-18 17:35:05 UTC
This is an autogenerated message for OBS integration:
This bug (1218810) was mentioned in
https://build.opensuse.org/request/show/1139767 Factory / openssl-3
Comment 7 Maintenance Automation 2024-01-22 20:30:02 UTC
SUSE-SU-2024:0172-1: An update that solves two vulnerabilities can now be installed.

Category: security (moderate)
Bug References: 1218690, 1218810
CVE References: CVE-2023-6129, CVE-2023-6237
Sources used:
openSUSE Leap 15.5 (src): openssl-3-3.0.8-150500.5.24.1
Basesystem Module 15-SP5 (src): openssl-3-3.0.8-150500.5.24.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 9 OBSbugzilla Bot 2024-01-29 17:35:06 UTC
This is an autogenerated message for OBS integration:
This bug (1218810) was mentioned in
https://build.opensuse.org/request/show/1142584 Factory / openssl-3
Comment 12 Maintenance Automation 2024-02-15 20:30:07 UTC
SUSE-SU-2024:0518-1: An update that solves three vulnerabilities can now be installed.

Category: security (moderate)
Bug References: 1218690, 1218810, 1219243
CVE References: CVE-2023-6129, CVE-2023-6237, CVE-2024-0727
Sources used:
SUSE Linux Enterprise Desktop 15 SP4 LTSS 15-SP4 (src): openssl-3-3.0.8-150400.4.49.1
SUSE Linux Enterprise Server 15 SP4 LTSS 15-SP4 (src): openssl-3-3.0.8-150400.4.49.1
SUSE Linux Enterprise Server for SAP Applications 15 SP4 (src): openssl-3-3.0.8-150400.4.49.1
SUSE Manager Proxy 4.3 (src): openssl-3-3.0.8-150400.4.49.1
SUSE Manager Retail Branch Server 4.3 (src): openssl-3-3.0.8-150400.4.49.1
SUSE Manager Server 4.3 (src): openssl-3-3.0.8-150400.4.49.1
openSUSE Leap 15.4 (src): openssl-3-3.0.8-150400.4.49.1
openSUSE Leap Micro 5.3 (src): openssl-3-3.0.8-150400.4.49.1
openSUSE Leap Micro 5.4 (src): openssl-3-3.0.8-150400.4.49.1
SUSE Linux Enterprise Micro for Rancher 5.3 (src): openssl-3-3.0.8-150400.4.49.1
SUSE Linux Enterprise Micro 5.3 (src): openssl-3-3.0.8-150400.4.49.1
SUSE Linux Enterprise Micro for Rancher 5.4 (src): openssl-3-3.0.8-150400.4.49.1
SUSE Linux Enterprise Micro 5.4 (src): openssl-3-3.0.8-150400.4.49.1
SUSE Linux Enterprise High Performance Computing ESPOS 15 SP4 (src): openssl-3-3.0.8-150400.4.49.1
SUSE Linux Enterprise High Performance Computing LTSS 15 SP4 (src): openssl-3-3.0.8-150400.4.49.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 13 Andrea Mattiazzo 2024-05-17 09:01:43 UTC
All done, closing.