First published: Wed Apr 26 2023(Updated: )
A vulnerability was found in libssh, where the authentication check of the connecting client can be bypassed in the`pki_verify_data_signature` function in memory allocation problems. This issue may happen if there is insufficient memory or the memory usage is limited. The problem is caused by the return value `rc,` which is initialized to SSH_ERROR and later rewritten to save the return value of the function call `pki_key_check_hash_compatible.` The value of the variable is not changed between this point and the cryptographic verification. Therefore any error between them calls `goto error` returning SSH_OK.
Credit: secalert@redhat.com secalert@redhat.com
Affected Software | Affected Version | How to fix |
---|---|---|
redhat/libssh | <0:0.9.6-10.el8_8 | 0:0.9.6-10.el8_8 |
Libssh Libssh | >=0.9.1<=0.9.6 | |
Libssh Libssh | >=0.10.0<=0.10.4 | |
Fedoraproject Fedora | =37 | |
Redhat Enterprise Linux | =8.0 | |
Redhat Enterprise Linux | =9.0 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2023-2283 is a vulnerability found in libssh that allows the authentication check of the connecting client to be bypassed.
The severity of CVE-2023-2283 is medium with a CVSS score of 6.5.
CVE-2023-2283 affects Libssh versions 0.9.1 to 0.9.6 and versions 0.10.0 to 0.10.4.
To fix CVE-2023-2283, update to libssh version 0.9.6-10.el8_8 or apply the necessary patches from the official sources.
You can find more information about CVE-2023-2283 on the official Red Hat and libssh websites.