Bug 1216922 (CVE-2023-5678) - VUL-0: CVE-2023-5678: openssl: Generating excessively long X9.42 DH keys or checking excessively long X9.42 DH keys or parameters may be very slow
Summary: VUL-0: CVE-2023-5678: openssl: Generating excessively long X9.42 DH keys or c...
Status: IN_PROGRESS
Alias: CVE-2023-5678
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/384240/
Whiteboard: CVSSv3.1:SUSE:CVE-2023-5678:7.5:(AV:N...
Keywords:
Depends on:
Blocks: 1217151
  Show dependency treegraph
 
Reported: 2023-11-07 04:00 UTC by SMASH SMASH
Modified: 2024-02-05 09:30 UTC (History)
4 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 2023-11-07 04:00:25 UTC
Issue summary: Generating excessively long X9.42 DH keys or checking
excessively long X9.42 DH keys or parameters may be very slow.

Impact summary: Applications that use the functions DH_generate_key() to
generate an X9.42 DH key may experience long delays.  Likewise, applications
that use DH_check_pub_key(), DH_check_pub_key_ex() or EVP_PKEY_public_check()
to check an X9.42 DH key or X9.42 DH parameters may experience long delays.
Where the key or parameters that are being checked have been obtained from
an untrusted source this may lead to a Denial of Service.

While DH_check() performs all the necessary checks (as of CVE-2023-3817),
DH_check_pub_key() doesn't make any of these checks, and is therefore
vulnerable for excessively large P and Q parameters.

Likewise, while DH_generate_key() performs a check for an excessively large
P, it doesn't check for an excessively large Q.

An application that calls DH_generate_key() or DH_check_pub_key() and
supplies a key or parameters obtained from an untrusted source could be
vulnerable to a Denial of Service attack.

DH_generate_key() and DH_check_pub_key() are also called by a number of
other OpenSSL functions.  An application calling any of those other
functions may similarly be affected.  The other functions affected by this
are DH_check_pub_key_ex(), EVP_PKEY_public_check(), and EVP_PKEY_generate().

Also vulnerable are the OpenSSL pkey command line application when using the
"-pubcheck" option, as well as the OpenSSL genpkey command line application.

The OpenSSL SSL/TLS implementation is not affected by this issue.

The OpenSSL 3.0 and 3.1 FIPS providers are not affected by this issue.



References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2023-5678
Comment 2 Marcus Meissner 2023-11-15 08:02:08 UTC
can you please submit fixed packages?
Comment 3 Otto Hollmann 2023-11-15 10:22:54 UTC
All codestreams were affected so it took me some time to backport/fix it. Most codestreams were submitted today. I will share a list of submissions once everything is done.
Comment 6 Otto Hollmann 2023-11-16 10:45:36 UTC
All affected codestreams fixed, assigning back to security team.

> Codestream              Package            Request
> ------------------------------------------------------------------------------------
> SUSE:SLE-15-SP5:Update  openssl-3          https://build.suse.de/request/show/312744
> SUSE:SLE-15-SP4:Update  openssl-3          https://build.suse.de/request/show/312748
> SUSE:ALP:Source:Std:1.0 openssl-3          https://build.suse.de/request/show/312870
> openSUSE:Factory        openssl-3          https://build.opensuse.org/request/show/1126784
> ------------------------------------------------------------------------------------
> SUSE:SLE-15-SP5:Update  openssl-1_1        https://build.suse.de/request/show/312750
> SUSE:SLE-15-SP4:Update  openssl-1_1        https://build.suse.de/request/show/312789
> SUSE:SLE-15-SP2:Update  openssl-1_1        https://build.suse.de/request/show/312773
> SUSE:SLE-15-SP1:Update  openssl-1_1        https://build.suse.de/request/show/312774
> SUSE:SLE-12-SP4:Update  openssl-1_1        https://build.suse.de/request/show/312777
> SUSE:ALP:Source:Std:1.0 openssl-1_1        https://build.suse.de/request/show/312871
> openSUSE:Factory        openssl-1_1        https://build.opensuse.org/request/show/1126787
> ------------------------------------------------------------------------------------
> SUSE:SLE-15:Update      openssl-1_0_0      https://build.suse.de/request/show/312779
> SUSE:SLE-12-SP4:Update  openssl-1_0_0      https://build.suse.de/request/show/312782
> SUSE:SLE-11-SP3:Update  openssl1           https://build.suse.de/request/show/312784
> openSUSE:Factory        openssl-1_0_0      https://build.opensuse.org/request/show/1126788
> ------------------------------------------------------------------------------------
> SUSE:SLE-12:Update      compat-openssl098  https://build.suse.de/request/show/312785
> SUSE:SLE-11-SP1:Update  openssl            https://build.suse.de/request/show/312788
Comment 7 Maintenance Automation 2023-11-20 16:30:06 UTC
SUSE-SU-2023:4489-1: An update that solves one vulnerability can now be installed.

Category: security (important)
Bug References: 1216922
CVE References: CVE-2023-5678
Sources used:
SUSE Linux Enterprise Server 11 SP4 LTSS EXTREME CORE 11-SP4 (src): openssl-0.9.8j-0.106.80.1
SUSE Linux Enterprise Server 11 SP4 (src): openssl-0.9.8j-0.106.80.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 8 Maintenance Automation 2023-11-20 16:30:08 UTC
SUSE-SU-2023:4488-1: An update that solves one vulnerability can now be installed.

Category: security (important)
Bug References: 1216922
CVE References: CVE-2023-5678
Sources used:
SUSE Linux Enterprise Server 11 SP4 LTSS EXTREME CORE 11-SP4 (src): openssl1-1.0.1g-0.58.76.1
SUSE Linux Enterprise Server 11 SP4 (src): openssl1-1.0.1g-0.58.76.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 Maintenance Automation 2023-11-21 20:30:04 UTC
SUSE-SU-2023:4524-1: An update that solves one vulnerability can now be installed.

Category: security (important)
Bug References: 1216922
CVE References: CVE-2023-5678
Sources used:
openSUSE Leap 15.4 (src): openssl-1_1-1.1.1l-150400.7.60.2
openSUSE Leap Micro 5.3 (src): openssl-1_1-1.1.1l-150400.7.60.2
openSUSE Leap Micro 5.4 (src): openssl-1_1-1.1.1l-150400.7.60.2
SUSE Linux Enterprise Micro for Rancher 5.3 (src): openssl-1_1-1.1.1l-150400.7.60.2
SUSE Linux Enterprise Micro 5.3 (src): openssl-1_1-1.1.1l-150400.7.60.2
SUSE Linux Enterprise Micro for Rancher 5.4 (src): openssl-1_1-1.1.1l-150400.7.60.2
SUSE Linux Enterprise Micro 5.4 (src): openssl-1_1-1.1.1l-150400.7.60.2
Basesystem Module 15-SP4 (src): openssl-1_1-1.1.1l-150400.7.60.2

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 14 Maintenance Automation 2023-11-21 20:30:06 UTC
SUSE-SU-2023:4523-1: An update that solves one vulnerability can now be installed.

Category: security (important)
Bug References: 1216922
CVE References: CVE-2023-5678
Sources used:
SUSE Linux Enterprise Software Development Kit 12 SP5 (src): openssl-1_0_0-1.0.2p-3.87.1
SUSE Linux Enterprise High Performance Computing 12 SP5 (src): openssl-1_0_0-1.0.2p-3.87.1
SUSE Linux Enterprise Server 12 SP5 (src): openssl-1_0_0-1.0.2p-3.87.1
SUSE Linux Enterprise Server for SAP Applications 12 SP5 (src): openssl-1_0_0-1.0.2p-3.87.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 15 Maintenance Automation 2023-11-21 20:30:08 UTC
SUSE-SU-2023:4522-1: An update that solves one vulnerability can now be installed.

Category: security (important)
Bug References: 1216922
CVE References: CVE-2023-5678
Sources used:
openSUSE Leap 15.4 (src): openssl-1_0_0-1.0.2p-150000.3.88.1
openSUSE Leap 15.5 (src): openssl-1_0_0-1.0.2p-150000.3.88.1
Legacy Module 15-SP4 (src): openssl-1_0_0-1.0.2p-150000.3.88.1
Legacy Module 15-SP5 (src): openssl-1_0_0-1.0.2p-150000.3.88.1
SUSE Linux Enterprise High Performance Computing ESPOS 15 SP3 (src): openssl-1_0_0-1.0.2p-150000.3.88.1
SUSE Linux Enterprise High Performance Computing LTSS 15 SP3 (src): openssl-1_0_0-1.0.2p-150000.3.88.1
SUSE Linux Enterprise Server 15 SP1 LTSS 15-SP1 (src): openssl-1_0_0-1.0.2p-150000.3.88.1
SUSE Linux Enterprise Server 15 SP2 LTSS 15-SP2 (src): openssl-1_0_0-1.0.2p-150000.3.88.1
SUSE Linux Enterprise Server 15 SP3 LTSS 15-SP3 (src): openssl-1_0_0-1.0.2p-150000.3.88.1
SUSE Linux Enterprise Server for SAP Applications 15 SP1 (src): openssl-1_0_0-1.0.2p-150000.3.88.1
SUSE Linux Enterprise Server for SAP Applications 15 SP2 (src): openssl-1_0_0-1.0.2p-150000.3.88.1
SUSE Linux Enterprise Server for SAP Applications 15 SP3 (src): openssl-1_0_0-1.0.2p-150000.3.88.1
SUSE Enterprise Storage 7.1 (src): openssl-1_0_0-1.0.2p-150000.3.88.1
SUSE CaaS Platform 4.0 (src): openssl-1_0_0-1.0.2p-150000.3.88.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 16 Maintenance Automation 2023-11-21 20:30:11 UTC
SUSE-SU-2023:4521-1: An update that solves one vulnerability can now be installed.

Category: security (important)
Bug References: 1216922
CVE References: CVE-2023-5678
Sources used:
SUSE Linux Enterprise Software Development Kit 12 SP5 (src): openssl-1_1-1.1.1d-2.101.1
SUSE Linux Enterprise High Performance Computing 12 SP5 (src): openssl-1_1-1.1.1d-2.101.1
SUSE Linux Enterprise Server 12 SP5 (src): openssl-1_1-1.1.1d-2.101.1
SUSE Linux Enterprise Server for SAP Applications 12 SP5 (src): openssl-1_1-1.1.1d-2.101.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 17 Maintenance Automation 2023-11-21 20:30:13 UTC
SUSE-SU-2023:4520-1: An update that solves one vulnerability can now be installed.

Category: security (important)
Bug References: 1216922
CVE References: CVE-2023-5678
Sources used:
SUSE Linux Enterprise High Performance Computing 15 SP1 LTSS 15-SP1 (src): openssl-1_1-1.1.0i-150100.14.68.1
SUSE Linux Enterprise Server 15 SP1 LTSS 15-SP1 (src): openssl-1_1-1.1.0i-150100.14.68.1
SUSE Linux Enterprise Server for SAP Applications 15 SP1 (src): openssl-1_1-1.1.0i-150100.14.68.1
SUSE CaaS Platform 4.0 (src): openssl-1_1-1.1.0i-150100.14.68.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 18 Maintenance Automation 2023-11-21 20:30:15 UTC
SUSE-SU-2023:4519-1: An update that solves one vulnerability can now be installed.

Category: security (important)
Bug References: 1216922
CVE References: CVE-2023-5678
Sources used:
SUSE Linux Enterprise Micro 5.2 (src): openssl-1_1-1.1.1d-150200.11.82.1
SUSE Linux Enterprise Micro for Rancher 5.2 (src): openssl-1_1-1.1.1d-150200.11.82.1
SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS 15-SP2 (src): openssl-1_1-1.1.1d-150200.11.82.1
SUSE Linux Enterprise High Performance Computing ESPOS 15 SP3 (src): openssl-1_1-1.1.1d-150200.11.82.1
SUSE Linux Enterprise High Performance Computing LTSS 15 SP3 (src): openssl-1_1-1.1.1d-150200.11.82.1
SUSE Linux Enterprise Server 15 SP2 LTSS 15-SP2 (src): openssl-1_1-1.1.1d-150200.11.82.1
SUSE Linux Enterprise Server 15 SP3 LTSS 15-SP3 (src): openssl-1_1-1.1.1d-150200.11.82.1
SUSE Linux Enterprise Server for SAP Applications 15 SP2 (src): openssl-1_1-1.1.1d-150200.11.82.1
SUSE Linux Enterprise Server for SAP Applications 15 SP3 (src): openssl-1_1-1.1.1d-150200.11.82.1
SUSE Enterprise Storage 7.1 (src): openssl-1_1-1.1.1d-150200.11.82.1
SUSE Linux Enterprise Micro 5.1 (src): openssl-1_1-1.1.1d-150200.11.82.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 19 Maintenance Automation 2023-11-21 20:30:17 UTC
SUSE-SU-2023:4518-1: An update that solves one vulnerability can now be installed.

Category: security (important)
Bug References: 1216922
CVE References: CVE-2023-5678
Sources used:
openSUSE Leap 15.5 (src): openssl-1_1-1.1.1l-150500.17.22.1
SUSE Linux Enterprise Micro 5.5 (src): openssl-1_1-1.1.1l-150500.17.22.1
Basesystem Module 15-SP5 (src): openssl-1_1-1.1.1l-150500.17.22.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 20 Maintenance Automation 2023-11-28 12:30:27 UTC
SUSE-SU-2023:4593-1: An update that solves one vulnerability can now be installed.

Category: security (important)
Bug References: 1216922
CVE References: CVE-2023-5678
Sources used:
Legacy Module 12 (src): compat-openssl098-0.9.8j-106.61.1
SUSE Linux Enterprise Server for SAP Applications 12 SP5 (src): compat-openssl098-0.9.8j-106.61.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 21 Maintenance Automation 2023-12-04 08:36:06 UTC
SUSE-SU-2023:4635-1: An update that solves one vulnerability and has two security fixes can now be installed.

Category: security (important)
Bug References: 1194187, 1207472, 1216922
CVE References: CVE-2023-5678
Sources used:
openSUSE Leap 15.5 (src): openssl-3-3.0.8-150500.5.19.1
Basesystem Module 15-SP5 (src): openssl-3-3.0.8-150500.5.19.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 22 Maintenance Automation 2023-12-06 16:30:57 UTC
SUSE-SU-2023:4649-1: An update that solves one vulnerability and has two security fixes can now be installed.

Category: security (important)
Bug References: 1194187, 1207472, 1216922
CVE References: CVE-2023-5678
Sources used:
openSUSE Leap 15.4 (src): openssl-3-3.0.8-150400.4.42.1
SUSE Linux Enterprise Micro for Rancher 5.3 (src): openssl-3-3.0.8-150400.4.42.1
SUSE Linux Enterprise Micro 5.3 (src): openssl-3-3.0.8-150400.4.42.1
SUSE Linux Enterprise Micro for Rancher 5.4 (src): openssl-3-3.0.8-150400.4.42.1
SUSE Linux Enterprise Micro 5.4 (src): openssl-3-3.0.8-150400.4.42.1
Basesystem Module 15-SP4 (src): openssl-3-3.0.8-150400.4.42.1
openSUSE Leap Micro 5.3 (src): openssl-3-3.0.8-150400.4.42.1
openSUSE Leap Micro 5.4 (src): openssl-3-3.0.8-150400.4.42.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.