Inappropriate coding practices In libssh
Description
A flaw was found in libssh when using the ChaCha20 cipher with the OpenSSL library. If an attacker manages to exhaust the heap space, this error is not detected and may lead to libssh using a partially initialized cipher context. This occurs because the OpenSSL error code returned aliases with the SSH_OK code, resulting in libssh not properly detecting the error returned by the OpenSSL library. This issue can lead to undefined behavior, including compromised data confidentiality and integrity or crashes.
Mitigation
Update Impact
Minimal update. May introduce new vulnerabilities or breaking changes.
Ecosystem | Package | Affected version | Patched versions |
|---|---|---|---|
debian 12 | 0.10.6-0+deb12u2 | ||
debian 13 | 0.11.2-1 | ||
debian 14 | 0.11.2-1 | ||
rpm rhel6 | - | - | |
rpm rhel9.4 | 0:0.10.4-13.el9_4.2 | ||
rpm rhel7 | - | - | |
rpm rhel9.6 | 0:0.10.4-15.el9_6.1 | ||
rpm rhel10 | 0:0.11.1-5.el10_1 | ||
rpm rhel10.0 | 0:0.11.1-4.el10_0.1 | ||
rpm rhel9 | 0:0.10.4-17.el9_7 |
Aliases