Unchecked Return Value Affecting libssh2 package, versions *


0.0
low

Snyk CVSS

    Attack Complexity High

    Threat Intelligence

    EPSS 0.06% (25th percentile)
Expand this section
NVD
5.3 medium
Expand this section
SUSE
5.3 medium
Expand this section
Red Hat
3.7 low

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-CENTOS7-LIBSSH2-6131682
  • published 19 Dec 2023
  • disclosed 18 Dec 2023

How to fix?

There is no fixed version for Centos:7 libssh2.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libssh2 package and not the libssh2 package as distributed by Centos. See How to fix? for Centos:7 relevant fixed versions and status.

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.