Bug 1218186 (CVE-2023-6918)

Summary: VUL-0: CVE-2023-6918: libssh: Missing checks for return values for digests
Product: [Novell Products] SUSE Security Incidents Reporter: SMASH SMASH <smash_bz>
Component: IncidentsAssignee: James McDonough <jmcdonough>
Status: IN_PROGRESS --- QA Contact: Security Team bot <security-team>
Severity: Normal    
Priority: P3 - Medium CC: andreas.taschner, meissner
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/388562/
Whiteboard: CVSSv3.1:SUSE:CVE-2023-6918:5.3:(AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L)
Found By: Security Response Team Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description SMASH SMASH 2023-12-19 08:20:42 UTC
A flaw was found in the libssh implements abstract layer for message digest (MD) operations implemented by different supported crypto backends. The return values from these were not properly checked, which could cause low-memory situations failures, NULL dereferences, crashes, or usage of the uninitialized memory as an input for the KDF. In this case, non-matching keys will result in decryption/integrity failures, terminating the connection.

References:
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2023-6918
Comment 1 OBSbugzilla Bot 2023-12-21 13:35:04 UTC
This is an autogenerated message for OBS integration:
This bug (1218186) was mentioned in
https://build.opensuse.org/request/show/1134431 Factory / libssh
Comment 2 OBSbugzilla Bot 2023-12-23 11:35:04 UTC
This is an autogenerated message for OBS integration:
This bug (1218186) was mentioned in
https://build.opensuse.org/request/show/1134726 Factory / libssh
Comment 4 Maintenance Automation 2024-01-18 12:30:29 UTC
SUSE-SU-2024:0140-1: An update that solves five vulnerabilities can now be installed.

Category: security (important)
Bug References: 1211188, 1211190, 1218126, 1218186, 1218209
CVE References: CVE-2023-1667, CVE-2023-2283, CVE-2023-48795, CVE-2023-6004, CVE-2023-6918
Sources used:
openSUSE Leap 15.4 (src): libssh-0.9.8-150400.3.3.1, libssh-test-0.9.8-150400.3.3.1
openSUSE Leap Micro 5.3 (src): libssh-0.9.8-150400.3.3.1
openSUSE Leap Micro 5.4 (src): libssh-0.9.8-150400.3.3.1
openSUSE Leap 15.5 (src): libssh-0.9.8-150400.3.3.1
SUSE Linux Enterprise Micro for Rancher 5.3 (src): libssh-0.9.8-150400.3.3.1
SUSE Linux Enterprise Micro 5.3 (src): libssh-0.9.8-150400.3.3.1
SUSE Linux Enterprise Micro for Rancher 5.4 (src): libssh-0.9.8-150400.3.3.1
SUSE Linux Enterprise Micro 5.4 (src): libssh-0.9.8-150400.3.3.1
SUSE Linux Enterprise Micro 5.5 (src): libssh-0.9.8-150400.3.3.1
Basesystem Module 15-SP5 (src): libssh-0.9.8-150400.3.3.1
SUSE Linux Enterprise High Performance Computing ESPOS 15 SP4 (src): libssh-0.9.8-150400.3.3.1
SUSE Linux Enterprise High Performance Computing LTSS 15 SP4 (src): libssh-0.9.8-150400.3.3.1
SUSE Linux Enterprise Real Time 15 SP4 (src): libssh-0.9.8-150400.3.3.1
SUSE Linux Enterprise Desktop 15 SP4 LTSS 15-SP4 (src): libssh-0.9.8-150400.3.3.1
SUSE Linux Enterprise Server 15 SP4 LTSS 15-SP4 (src): libssh-0.9.8-150400.3.3.1
SUSE Linux Enterprise Server for SAP Applications 15 SP4 (src): libssh-0.9.8-150400.3.3.1
SUSE Manager Proxy 4.3 (src): libssh-0.9.8-150400.3.3.1
SUSE Manager Retail Branch Server 4.3 (src): libssh-0.9.8-150400.3.3.1
SUSE Manager Server 4.3 (src): libssh-0.9.8-150400.3.3.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 12 Maintenance Automation 2024-02-19 08:30:03 UTC
SUSE-SU-2024:0525-1: An update that solves nine vulnerabilities and contains one feature can now be installed.

Category: security (important)
Bug References: 1158095, 1168699, 1174713, 1189608, 1211188, 1211190, 1218126, 1218186, 1218209
CVE References: CVE-2019-14889, CVE-2020-16135, CVE-2020-1730, CVE-2021-3634, CVE-2023-1667, CVE-2023-2283, CVE-2023-48795, CVE-2023-6004, CVE-2023-6918
Jira References: PED-7719
Sources used:
SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS 15-SP2 (src): libssh-0.9.8-150200.13.3.1
SUSE Linux Enterprise High Performance Computing LTSS 15 SP3 (src): libssh-0.9.8-150200.13.3.1
SUSE Linux Enterprise Server 15 SP2 LTSS 15-SP2 (src): libssh-0.9.8-150200.13.3.1
SUSE Linux Enterprise Server 15 SP3 LTSS 15-SP3 (src): libssh-0.9.8-150200.13.3.1
SUSE Linux Enterprise Server for SAP Applications 15 SP2 (src): libssh-0.9.8-150200.13.3.1
SUSE Linux Enterprise Server for SAP Applications 15 SP3 (src): libssh-0.9.8-150200.13.3.1
SUSE Enterprise Storage 7.1 (src): libssh-0.9.8-150200.13.3.1
SUSE Linux Enterprise Micro 5.1 (src): libssh-0.9.8-150200.13.3.1
SUSE Linux Enterprise Micro 5.2 (src): libssh-0.9.8-150200.13.3.1
SUSE Linux Enterprise Micro for Rancher 5.2 (src): libssh-0.9.8-150200.13.3.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 2024-02-20 20:36:46 UTC
SUSE-SU-2024:0539-1: An update that solves nine vulnerabilities and contains one feature can now be installed.

Category: security (important)
Bug References: 1158095, 1168699, 1174713, 1189608, 1211188, 1211190, 1218126, 1218186, 1218209
CVE References: CVE-2019-14889, CVE-2020-16135, CVE-2020-1730, CVE-2021-3634, CVE-2023-1667, CVE-2023-2283, CVE-2023-48795, CVE-2023-6004, CVE-2023-6918
Jira References: PED-7719
Sources used:
SUSE Linux Enterprise Software Development Kit 12 SP5 (src): libssh-0.9.8-3.12.2
SUSE Linux Enterprise High Performance Computing 12 SP5 (src): libssh-0.9.8-3.12.2
SUSE Linux Enterprise Server 12 SP5 (src): libssh-0.9.8-3.12.2
SUSE Linux Enterprise Server for SAP Applications 12 SP5 (src): libssh-0.9.8-3.12.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.