« List of all CVEs

CVE-2023-6918

Libssh: missing checks for return values for digests

Published: 12/18/2023 Last updated: 2/15/2025 Reserved: 12/18/2023

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.

CNA assigner: redhat (53f830b8-0a3f-465b-8143-3b8a9948e749) Requested by: n/a

Metrics

Version Score Severity Vector String
3.1 3.7 Low CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L

Opam packages affected (1)

libssh

Products affected (7)

Product Vendor Version
Red Hat Enterprise Linux 9 Red Hat <= 7.0.13
Red Hat Enterprise Linux 8 Red Hat n/a
Red Hat Enterprise Linux 9 Red Hat 3.6.0E
Red Hat Enterprise Linux 8 Red Hat n/a
Red Hat Enterprise Linux 7 Red Hat 6.9
Red Hat Enterprise Linux 7 Red Hat 3.6.2E
Red Hat Enterprise Linux 6 Red Hat FortiSandbox 3.2.2, 3.2.1, 3.2.0, 3.1.4, 3.1.3, 3.1.2, 3.1.1, 3.1.0, 3.0.6, 3.0.5, 3.0.4, 3.0.3, 3.0.2, 3.0.1, 3.0.0, FortiAuthenticator before 6.0.6

References (15)

Credits (1)