CVSS 3.1
5.3 mediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LMedium (5.3). EPSS 1.4% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LExplain CVE-2023-6918 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-6918?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-6918?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-6918 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Fixed in |
|---|---|
| Red Hat Enterprise Linux 8 | 0:0.9.6-14.el8 |
| Red Hat Enterprise Linux 9 | 0:0.10.4-13.el9 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 11 | libssh | 0.9.8-0+deb11u1 | DSA-5591-1 |
| Debian | 12 | libssh | 0.10.6-0+deb12u1 | DEBIAN-CVE-2023-6918 DSA-5591-1 |
| Debian | 13, 14 | libssh | 0.10.6-1 | DEBIAN-CVE-2023-6918 |
| Ubuntu | 20.04:LTS | libssh | 0.9.3-2ubuntu2.5 | UBUNTU-CVE-2023-6918 USN-6592-1 |
| Ubuntu | 22.04:LTS | libssh | 0.9.6-2ubuntu0.22.04.3 | UBUNTU-CVE-2023-6918 USN-6592-1 |
| Ubuntu | Pro:16.04:LTS | libssh | 0.6.3-4.3ubuntu0.6+esm1 | UBUNTU-CVE-2023-6918 USN-6592-2 |
| Ubuntu | Pro:18.04:LTS | libssh | 0.8.0~20170825.94fa1e38-1ubuntu0.7+esm3 | UBUNTU-CVE-2023-6918 USN-6592-2 |
| Red Hat | enterprise_linux:8::appstream | libssh-devel, libssh-debuginfo, libssh-debugsource | 0:0.9.6-14.el8 | RHSA-2024:3233 |
| Red Hat | enterprise_linux:8::baseos | libssh, libssh-config, libssh-debuginfo and 1 more | 0:0.9.6-14.el8 | RHSA-2024:3233 |
| Red Hat | enterprise_linux:9::appstream | libssh-devel, libssh-debuginfo, libssh-debugsource | 0:0.10.4-13.el9 | RHSA-2024:2504 |
| Red Hat | enterprise_linux:9::baseos | libssh, libssh-config, libssh-debuginfo and 1 more | 0:0.10.4-13.el9 | RHSA-2024:2504 |
| SUSE | Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 6 more | libssh | 0.9.8-150200.13.3.1 | SUSE-SU-2024:0525-1 |
| SUSE | Linux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Micro 5.3 and 8 more | libssh | 0.9.8-150400.3.3.1 | SUSE-SU-2024:0140-1 |
| SUSE | Linux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5 | libssh | 0.9.8-3.12.2 | SUSE-SU-2024:0539-1 |
| openSUSE | Leap 15.5, Leap Micro 5.3, Leap Micro 5.4 | libssh | 0.9.8-150400.3.3.1 | SUSE-SU-2024:0140-1 |
| openSUSE | Tumbleweed | libssh | 0.10.6-1.1 | openSUSE-SU-2024:13638-1 |
| AlmaLinux | 8 | libssh, libssh-devel, libssh-config | 0.9.6-14.el8 | ALSA-2024:3233 |
| AlmaLinux | 9 | libssh, libssh-devel, libssh-config | 0.10.4-13.el9 | ALSA-2024:2504 |
| Rocky Linux | 8 | libssh | 0:0.9.6-14.el8 | RLSA-2024:3233 |
| Rocky Linux | 9 | libssh | 0:0.10.4-13.el9 | RLSA-2024:2504 |
| Alpine | v3.19, v3.20, v3.21 and 3 more | libssh | 0.10.6-r0 | ALPINE-CVE-2023-6918 |
| Azure Linux | 2 | libssh | 0.10.6-1 | AZL-32199 |
| Azure Linux | 3 | libssh | 0.10.6-1 | AZL-34943 |
| Alpaquita | 23, stream | libssh | 0.10.6-r0 | BELL-CVE-2023-6918 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita.
Red Hat rates this Low.
This vulnerability in the libssh abstract layer for message digest operations is deemed to have a low impact due to several mitigating factors. Primarily, the absence of proper checks on return values from supported crypto backends may lead to low-memory situations, failures, NULL dereferences, crashes, or the utilization of uninitialized memory in the Key Derivation Function (KDF). While these potential consequences could disrupt the system, their likelihood is considered low, contributing to the low impact classification.
The maintainers of libssh, in conjunction with Red Hat, have assigned a CVSS3.1 score of 3.7 to this vulnerability. While the score acknowledges the existence of a vulnerability, the assigned value falls within the lower range of the scale, indicating a relatively modest level of risk.
Moreover, the practical exploitability of this vulnerability is characterized as theoretical and highly unlikely to yield tangible results. The difficulty in successfully exploiting the flaw adds a layer of security, further diminishing the potential impact. While acknowledging the risk of non-matching keys leading to decryption/integrity failures and connection termination, the combination of the low likelihood of exploitation and the relatively lower severity score results in an overall assessment of low impact.
Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | libssh-0:0.9.6-14.el8 | Fixed 2024-05-22 | RHSA-2024:3233 |
| Red Hat Enterprise Linux 9 | libssh-0:0.10.4-13.el9 | Fixed 2024-04-30 | RHSA-2024:2504 |
| Red Hat Enterprise Linux 6 | libssh2 | Out of support scope | |
| Red Hat Enterprise Linux 7 | libssh | Out of support scope | |
| Red Hat Enterprise Linux 7 | libssh2 | Out of support scope |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-6918.