{"id":"CVE-2023-2283","published":"2023-05-26T00:00:00Z","modified":"2025-11-03T20:35:18Z","title":"A vulnerability was found in libssh, where the authentication check of the connecting client can be bypassed in…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01061,"percentile":0.65389,"provenance":"source"},"cwes":[{"id":"CWE-287","name":"Improper Authentication"}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2023-2283","tags":[]},{"url":"https://www.libssh.org/security/advisories/CVE-2023-2283.txt","tags":[]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2189736","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/27PD44ALQTZXX7K6JAM3BXBUHYA6DFFN/","tags":["vendor-advisory"]},{"url":"http://packetstormsecurity.com/files/172861/libssh-0.9.6-0.10.4-pki_verify_data_signature-Authorization-Bypass.html","tags":[]},{"url":"https://security.gentoo.org/glsa/202312-05","tags":["vendor-advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20240201-0005/","tags":[]},{"url":"http://seclists.org/fulldisclosure/2025/Feb/18","tags":[]}],"priority":{"score":18.1,"factors":[{"name":"EPSS percentile","points":13.08},{"name":"Public exploit code","points":5.0}]},"affectedVersions":[{"vendor":"n/a","product":"libssh","versions":["libssh-2"]}],"euvd":{"id":"EUVD-2023-33789","exploited":false,"provenance":"source"},"exploitRefs":["http://packetstormsecurity.com/files/172861/libssh-0.9.6-0.10.4-pki_verify_data_signature-Authorization-Bypass.html"],"detections":{"cveRules":[{"title":"Potential CVE-2023-2283 Exploitation","id":"8b244735-5833-4517-a45b-28d8c63924c0","level":"medium","status":"test","path":"rules-emerging-threats/2023/Exploits/CVE-2023-2283/lnx_sshd_exploit_cve_2023_2283_libssh_authentication_bypass.yml","url":"https://github.com/SigmaHQ/sigma/blob/master/rules-emerging-threats/2023/Exploits/CVE-2023-2283/lnx_sshd_exploit_cve_2023_2283_libssh_authentication_bypass.yml","techniques":["T1190"]}]}}