CVE-2023-6918
published 2023-12-19CVE-2023-6918: A flaw was found in the libssh implements abstract layer for message digest (MD) operations implemented by different supported crypto backends. The return…
PriorityP427medium5.3CVSS 3.1
AVNACLPRNUINSUCNINAL
EPSS
1.42%
69.9th percentile
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.
Affected
18 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | libssh | < libssh 0.10.6-0+deb12u1 (bookworm) | libssh 0.10.6-0+deb12u1 (bookworm) |
| fedoraproject | fedora | — | — |
| fedoraproject | fedora | — | — |
| libssh | libssh | >= 0 < 0.9.8-0+deb11u1 | 0.9.8-0+deb11u1 |
| libssh | libssh | >= 0 < 0.10.6-0+deb12u1 | 0.10.6-0+deb12u1 |
| libssh | libssh | >= 0 < 0.10.6-1 | 0.10.6-1 |
| libssh | libssh | >= 0 < 0.10.6-1 | 0.10.6-1 |
| libssh | libssh | >= 0 < 0.9.3-2ubuntu2.5 | 0.9.3-2ubuntu2.5 |
| libssh | libssh | >= 0 < 0.9.6-2ubuntu0.22.04.3 | 0.9.6-2ubuntu0.22.04.3 |
| libssh | libssh | >= 0 < 0.6.3-4.3ubuntu0.6+esm1 | 0.6.3-4.3ubuntu0.6+esm1 |
| libssh | libssh | >= 0 < 0.8.0~20170825.94fa1e38-1ubuntu0.7+esm3 | 0.8.0~20170825.94fa1e38-1ubuntu0.7+esm3 |
| libssh | libssh | >= 0.10.0 < 0.10.6 | 0.10.6 |
| libssh | libssh | >= 0.9.0 < 0.9.8 | 0.9.8 |
| msrc | azl3_libssh_0.10.5-2_on_azure_linux_3.0 | — | — |
| msrc | azl3_libssh_0.10.6-1_on_azure_linux_3.0 | — | — |
| msrc | cbl2_libssh_0.10.6-1_on_cbl_mariner_2.0 | — | — |
| redhat | enterprise_linux | — | — |
| redhat | enterprise_linux | — | — |
CVSS provenance
nvdv3.15.3MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
osv5.3MEDIUM
vendor_ubuntu4.8MEDIUM
vendor_debian3.7LOW
vendor_msrc3.7LOW
vendor_redhat3.7LOW
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
libssh vulnerabilities
osv·2024-02-05·CVSS 4.8
CVE-2023-6004 [MEDIUM] libssh vulnerabilities
libssh vulnerabilities
USN-6592-1 fixed vulnerabilities in libssh. This update provides the
corresponding updates for Ubuntu 16.04 LTS and Ubuntu 18.04 LTS.
Original advisory details:
It was discovered that libssh incorrectly handled the ProxyCommand and the
ProxyJump features. A remote attacker could possibly use this issue to
inject malicious code into the command of the features mentioned through
the hostname parameter. (CVE-2023-6004)
It was discovered that libssh incorrectly handled return codes when
performing message digest operations. A remote attacker could possibly use
this issue to cause libssh to crash, obtain sensitive information, or
execute arbitrary code. (CVE-2023-6918)
OSV
libssh vulnerabilities
osv·2024-01-22·CVSS 4.8
CVE-2023-6004 [MEDIUM] libssh vulnerabilities
libssh vulnerabilities
It was discovered that libssh incorrectly handled the ProxyCommand and the
ProxyJump features. A remote attacker could possibly use this issue to
inject malicious code into the command of the features mentioned through
the hostname parameter. (CVE-2023-6004)
It was discovered that libssh incorrectly handled return codes when
performing message digest operations. A remote attacker could possibly use
this issue to cause libssh to crash, obtain sensitive information, or
execute arbitrary code. (CVE-2023-6918)
GHSA
GHSA-gpcj-wh2f-rr23: A flaw was found in the libssh implements abstract layer for message digest (MD) operations implemented by different supported crypto backends
ghsa_unreviewed·2023-12-19
CVE-2023-6918 [LOW] CWE-252 GHSA-gpcj-wh2f-rr23: A flaw was found in the libssh implements abstract layer for message digest (MD) operations implemented by different supported crypto backends
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.
OSV
CVE-2023-6918: A flaw was found in the libssh implements abstract layer for message digest (MD) operations implemented by different supported crypto backends
osv·2023-12-19·CVSS 5.3
CVE-2023-6918 [MEDIUM] CVE-2023-6918: A flaw was found in the libssh implements abstract layer for message digest (MD) operations implemented by different supported crypto backends
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.
Ubuntu
libssh vulnerabilities
vendor_ubuntu·2024-02-05·CVSS 4.8
CVE-2023-6918 [MEDIUM] libssh vulnerabilities
Title: libssh vulnerabilities
Summary: Several security issues were fixed in libssh.
USN-6592-1 fixed vulnerabilities in libssh. This update provides the
corresponding updates for Ubuntu 16.04 LTS and Ubuntu 18.04 LTS.
Original advisory details:
It was discovered that libssh incorrectly handled the ProxyCommand and the
ProxyJump features. A remote attacker could possibly use this issue to
inject malicious code into the command of the features mentioned through
the hostname parameter. (CVE-2023-6004)
It was discovered that libssh incorrectly handled return codes when
performing message digest operations. A remote attacker could possibly use
this issue to cause libssh to crash, obtain sensitive information, or
execute arbitrary code. (CVE-2023-6918)
Instructions: In general, a standard
Ubuntu
libssh vulnerabilities
vendor_ubuntu·2024-01-22·CVSS 4.8
CVE-2023-6918 [MEDIUM] libssh vulnerabilities
Title: libssh vulnerabilities
Summary: Several security issues were fixed in libssh.
It was discovered that libssh incorrectly handled the ProxyCommand and the
ProxyJump features. A remote attacker could possibly use this issue to
inject malicious code into the command of the features mentioned through
the hostname parameter. (CVE-2023-6004)
It was discovered that libssh incorrectly handled return codes when
performing message digest operations. A remote attacker could possibly use
this issue to cause libssh to crash, obtain sensitive information, or
execute arbitrary code. (CVE-2023-6918)
Instructions: In general, a standard system update will make all the necessary changes.
Red Hat
libssh: Missing checks for return values for digests
vendor_redhat·2023-12-18·CVSS 3.7
CVE-2023-6918 [LOW] CWE-252 libssh: Missing checks for return values for digests
libssh: Missing checks for return values for digests
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.
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 unini
Microsoft
Libssh: missing checks for return values for digests
vendor_msrc·2023-12-12·CVSS 3.7
CVE-2023-6918 [LOW] CWE-252 Libssh: missing checks for return values for digests
Libssh: missing checks for return values for digests
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
redhat: redhat
Customer Action Required: Yes
Remediation: CBL-Mariner Releases
Reference: https://learn.
Debian
CVE-2023-6918: libssh - A flaw was found in the libssh implements abstract layer for message digest (MD)...
vendor_debian·2023·CVSS 3.7
CVE-2023-6918 [LOW] CVE-2023-6918: libssh - A flaw was found in the libssh implements abstract layer for message digest (MD)...
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.
Scope: local
bookworm: resolved (fixed in 0.10.6-0+deb12u1)
bullseye: resolved (fixed in 0.9.8-0+deb11u1)
forky: resolved (fixed in 0.10.6-1)
sid: resolved (fixed in 0.10.6-1)
trixie: resolved (fixed in 0.10.6-1)
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://access.redhat.com/errata/RHSA-2024:2504https://access.redhat.com/errata/RHSA-2024:3233https://access.redhat.com/security/cve/CVE-2023-6918https://bugzilla.redhat.com/show_bug.cgi?id=2254997https://www.libssh.org/2023/12/18/libssh-0-10-6-and-libssh-0-9-8-security-releases/https://www.libssh.org/security/advisories/CVE-2023-6918.txthttps://access.redhat.com/errata/RHSA-2024:2504https://access.redhat.com/errata/RHSA-2024:3233https://access.redhat.com/security/cve/CVE-2023-6918https://bugzilla.redhat.com/show_bug.cgi?id=2254997https://lists.fedoraproject.org/archives/list/[email protected]/message/LZQVUHWVWRH73YBXUQJOD6CKHDQBU3DM/https://lists.fedoraproject.org/archives/list/[email protected]/message/MKQRBF3DWMWPH36LBCOBUTSIZRTPEZXB/https://security.netapp.com/advisory/ntap-20250214-0009/https://www.libssh.org/2023/12/18/libssh-0-10-6-and-libssh-0-9-8-security-releases/https://www.libssh.org/security/advisories/CVE-2023-6918.txt
2023-12-19
Published