Advisory Database
  • Advisories
  • Dependency Scanning
  1. conan
  2. ›
  3. libssh2
  4. ›
  5. CVE-2023-6918

CVE-2023-6918: Unchecked Return Value

December 19, 2023 (updated January 2, 2024)

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

  • access.redhat.com/security/cve/CVE-2023-6918
  • bugzilla.redhat.com/show_bug.cgi?id=2254997
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MKQRBF3DWMWPH36LBCOBUTSIZRTPEZXB/
  • nvd.nist.gov/vuln/detail/CVE-2023-6918
  • www.libssh.org/2023/12/18/libssh-0-10-6-and-libssh-0-9-8-security-releases/

Code Behaviors & Features

Detect and mitigate CVE-2023-6918 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions from 0.9.0 before 0.9.8, all versions from 0.10.0 before 0.10.6

Fixed versions

  • 0.9.8
  • 0.10.6

Solution

Upgrade to version 0.9.8, 0.10.6, or above.

Impact 9.1 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-252: Unchecked Return Value

Source file

conan/libssh2/CVE-2023-6918.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:20 +0000.