Vulnerability in Libssh
CVE-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 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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 3.7 (Low). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L.
EPSS exploit prediction
EPSS 0.014, 73.1th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Libssh
- Fedoraproject Fedora — versions 38, 39
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux — versions 8.0, 9.0
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (fkie-cad/nvd-json-data-feeds, OSS-SASM/RhsaCveScanner). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- access.redhat.com/errata/RHSA-2024:2504 (vendor-advisory)
- access.redhat.com/errata/RHSA-2024:3233 (vendor-advisory)
- access.redhat.com/security/cve/CVE-2023-6918 (Mailing List, vdb-entry, Vendor Advisory)
- bugzilla.redhat.com/show_bug.cgi (issue-tracking, Third Party Advisory, Issue Tracking)
- www.libssh.org/2023/12/18/libssh-0-10-6-and-libssh-0-9-8-security-releases/ (Release Notes)
- www.libssh.org/security/advisories/CVE-2023-6918.txt (Vendor Advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/…
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/…
- security.netapp.com/advisory/ntap-20250214-0009/