CVE & CISA-KEV Catalog

CVE-2023-6918

LOW
3.7
CVSS v3
NVD

Description

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.

How to fix

Remediation Available
libsshDebian
Fixed in:0.9.8-0+deb11u1CVE-2023-6918
Fixed in:0.10.6-0+deb12u1CVE-2023-6918
Fixed in:0.10.6-1CVE-2023-6918
Fixed in:0.10.6-1CVE-2023-6918
libsshRocky
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.10.4-13.el9RHSA-2024:2504
Fixed in:0:0.10.4-13.el9RHSA-2024:2504
Fixed in:0:0.10.4-13.el9RHSA-2024:2504
Fixed in:0:0.10.4-13.el9RHSA-2024:2504
Fixed in:0:0.10.4-13.el9RHSA-2024:2504
Fixed in:0:0.10.4-13.el9RHSA-2024:2504
libsshRed Hat / RHEL
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.10.4-13.el9RHSA-2024:2504
Fixed in:0:0.10.4-13.el9RHSA-2024:2504
Fixed in:0:0.10.4-13.el9RHSA-2024:2504
Fixed in:0:0.10.4-13.el9RHSA-2024:2504
Fixed in:0:0.10.4-13.el9RHSA-2024:2504
Fixed in:0:0.10.4-13.el9RHSA-2024:2504
libssh-configRocky
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.10.4-13.el9RHSA-2024:2504
libssh-configRed Hat / RHEL
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.10.4-13.el9RHSA-2024:2504
libssh-debuginfoRed Hat / RHEL
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.10.4-13.el9RHSA-2024:2504
Fixed in:0:0.10.4-13.el9RHSA-2024:2504
Fixed in:0:0.10.4-13.el9RHSA-2024:2504
Fixed in:0:0.10.4-13.el9RHSA-2024:2504
Fixed in:0:0.10.4-13.el9RHSA-2024:2504
libssh-debuginfoRocky
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.10.4-13.el9RHSA-2024:2504
Fixed in:0:0.10.4-13.el9RHSA-2024:2504
Fixed in:0:0.10.4-13.el9RHSA-2024:2504
Fixed in:0:0.10.4-13.el9RHSA-2024:2504
Fixed in:0:0.10.4-13.el9RHSA-2024:2504
libssh-debugsourceRocky
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.10.4-13.el9RHSA-2024:2504
Fixed in:0:0.10.4-13.el9RHSA-2024:2504
Fixed in:0:0.10.4-13.el9RHSA-2024:2504
Fixed in:0:0.10.4-13.el9RHSA-2024:2504
Fixed in:0:0.10.4-13.el9RHSA-2024:2504
libssh-debugsourceRed Hat / RHEL
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.10.4-13.el9RHSA-2024:2504
Fixed in:0:0.10.4-13.el9RHSA-2024:2504
Fixed in:0:0.10.4-13.el9RHSA-2024:2504
Fixed in:0:0.10.4-13.el9RHSA-2024:2504
Fixed in:0:0.10.4-13.el9RHSA-2024:2504
libssh-develRocky
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.10.4-13.el9RHSA-2024:2504
Fixed in:0:0.10.4-13.el9RHSA-2024:2504
Fixed in:0:0.10.4-13.el9RHSA-2024:2504
Fixed in:0:0.10.4-13.el9RHSA-2024:2504
Fixed in:0:0.10.4-13.el9RHSA-2024:2504
libssh-develRed Hat / RHEL
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.9.6-14.el8RHSA-2024:3233
Fixed in:0:0.10.4-13.el9RHSA-2024:2504
Fixed in:0:0.10.4-13.el9RHSA-2024:2504
Fixed in:0:0.10.4-13.el9RHSA-2024:2504
Fixed in:0:0.10.4-13.el9RHSA-2024:2504
Fixed in:0:0.10.4-13.el9RHSA-2024:2504
libsshUbuntu
Fixed in:0.6.3-4.3ubuntu0.6+esm1USN-6592-2
Fixed in:0.8.0~20170825.94fa1e38-1ubuntu0.7+esm3USN-6592-2
Fixed in:0.9.3-2ubuntu2.5USN-6592-1
Fixed in:0.9.6-2ubuntu0.22.04.3USN-6592-1
Fixed in:0.10.4-2ubuntu0.3USN-6592-1
Fixed in:0.10.5-3ubuntu1.2USN-6592-1
libssh-4Ubuntu
Fixed in:0.6.3-4.3ubuntu0.6+esm1USN-6592-2
Fixed in:0.8.0~20170825.94fa1e38-1ubuntu0.7+esm3USN-6592-2
Fixed in:0.9.3-2ubuntu2.5USN-6592-1
Fixed in:0.9.6-2ubuntu0.22.04.3USN-6592-1
Fixed in:0.10.4-2ubuntu0.3USN-6592-1
Fixed in:0.10.5-3ubuntu1.2USN-6592-1
libssh-gcrypt-4Ubuntu
Fixed in:0.6.3-4.3ubuntu0.6+esm1USN-6592-2
Fixed in:0.8.0~20170825.94fa1e38-1ubuntu0.7+esm3USN-6592-2

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityNone
AvailabilityLow

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L

Exploit Intelligence

1.42%probability of exploitation in 30 days
70thpercentile

Moderate risk: more likely to be exploited than 70% of all known CVEs.

References

Embed a live status badge for CVE-2023-6918
CVE-2023-6918 severity badge

Markdown

[![CVE-2023-6918](https://tridentstack.com/cve/badge/CVE-2023-6918.svg)](https://tridentstack.com/cve/CVE-2023-6918)

HTML

<a href="https://tridentstack.com/cve/CVE-2023-6918"><img src="https://tridentstack.com/cve/badge/CVE-2023-6918.svg" alt="CVE-2023-6918"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-02-15.