CWE
252
EPSS
0.060%
Advisory Published
CVE Published
Updated

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

First published: Mon Dec 18 2023(Updated: )

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.

Credit: secalert@redhat.com secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
Libssh Libssh>=0.9.0<0.9.8
Libssh Libssh>=0.10.0<0.10.6
Fedoraproject Fedora=38
Fedoraproject Fedora=39
Redhat Enterprise Linux=8.0
Redhat Enterprise Linux=9.0
redhat/libssh<0.9.8
0.9.8
redhat/libssh<0.10.6
0.10.6
ubuntu/libssh<0.6.3-4.3ubuntu0.6+
0.6.3-4.3ubuntu0.6+
ubuntu/libssh<0.8.0~20170825.94
0.8.0~20170825.94
ubuntu/libssh<0.9.3-2ubuntu2.5
0.9.3-2ubuntu2.5
ubuntu/libssh<0.9.6-2ubuntu0.22.04.3
0.9.6-2ubuntu0.22.04.3
ubuntu/libssh<0.10.4-2ubuntu0.3
0.10.4-2ubuntu0.3
ubuntu/libssh<0.10.5-3ubuntu1.2
0.10.5-3ubuntu1.2
ubuntu/libssh<0.10.6-1
0.10.6-1
debian/libssh<=0.8.7-1+deb10u1<=0.8.7-1+deb10u2
0.9.8-0+deb11u1
0.10.6-0+deb12u1
0.10.6-2

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Parent vulnerabilities

(Appears in the following advisories)

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203