What’s Vulnerable › Vulnerabilities

CVE-2023-6918: Libssh: missing checks for return values for digests

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.

Affected products

How to fix

Upgrade to a fixed version: libssh 0.10.6, 0.9.8. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-6918 or the next vulnerability affects your stack