{"id":"CVE-2023-2283","aliases":["CVE-2023-2283"],"related":[],"kind":"vulnerability","state":"published","title":"A vulnerability was found in libssh, where the authentication check of the connecting client can be bypassed in thepkiverifydatasignature f…","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2023-05-26T00:00:00.000Z","modified":"2026-06-17T05:52:11.247Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-287"],"affected":[{"ranges":[{"version":"libssh-2","status":"affected"}],"product":"libssh","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"0.9.1","lastAffected":"0.9.6"},{"status":"affected","introduced":"0.10.0","lastAffected":"0.10.4"}],"vendor":"libssh","product":"libssh","cpe":"cpe:2.3:a:libssh:libssh:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"37"}],"vendor":"fedoraproject","product":"fedora","cpe":"cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"8.0"},{"status":"affected","version":"9.0"}],"vendor":"redhat","product":"enterprise_linux","cpe":"cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2023-2283","tags":["third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://www.libssh.org/security/advisories/CVE-2023-2283.txt","tags":["vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2189736","tags":["issue-tracking","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/27PD44ALQTZXX7K6JAM3BXBUHYA6DFFN/","tags":["vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"http://packetstormsecurity.com/files/172861/libssh-0.9.6-0.10.4-pki_verify_data_signature-Authorization-Bypass.html","tags":["x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://security.gentoo.org/glsa/202312-05","tags":["vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://security.netapp.com/advisory/ntap-20240201-0005/","tags":["x-transferred"],"sources":["cvelist","nvd"]},{"url":"http://seclists.org/fulldisclosure/2025/Feb/18","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"redhat","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-2283","url":"https://www.cve.org/CVERecord?id=CVE-2023-2283","licence":"CVE Terms of Use","modified":"2025-11-03T20:35:18.528Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-2283","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-2283","licence":"Public domain","modified":"2026-06-17T05:52:11.247Z"}],"updatedAt":"2026-11-25T22:58:24.398Z","epss":{"score":0.0107,"percentile":0.65832,"date":"2026-12-02T12:00:21.000Z"}}