{ "data_type": "CVE", "data_format": "MITRE", "data_version": "4.0", "CVE_data_meta": { "ID": "CVE-2023-2283", "ASSIGNER": "secalert@redhat.com", "STATE": "PUBLIC" }, "affects": { "vendor": { "vendor_data": [ { "vendor_name": "n/a", "product": { "product_data": [ { "product_name": "libssh", "version": { "version_data": [ { "version_value": "libssh-2" } ] } } ] } } ] } }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "eng", "value": "CWE-287" } ] } ] }, "references": { "reference_data": [ { "refsource": "MISC", "name": "https://access.redhat.com/security/cve/CVE-2023-2283", "url": "https://access.redhat.com/security/cve/CVE-2023-2283" }, { "refsource": "MISC", "name": "https://www.libssh.org/security/advisories/CVE-2023-2283.txt", "url": "https://www.libssh.org/security/advisories/CVE-2023-2283.txt" }, { "refsource": "MISC", "name": "https://bugzilla.redhat.com/show_bug.cgi?id=2189736", "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2189736" }, { "refsource": "FEDORA", "name": "FEDORA-2023-5fa5ca2043", "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/27PD44ALQTZXX7K6JAM3BXBUHYA6DFFN/" }, { "refsource": "MISC", "name": "http://packetstormsecurity.com/files/172861/libssh-0.9.6-0.10.4-pki_verify_data_signature-Authorization-Bypass.html", "url": "http://packetstormsecurity.com/files/172861/libssh-0.9.6-0.10.4-pki_verify_data_signature-Authorization-Bypass.html" }, { "refsource": "GENTOO", "name": "GLSA-202312-05", "url": "https://security.gentoo.org/glsa/202312-05" }, { "refsource": "CONFIRM", "name": "https://security.netapp.com/advisory/ntap-20240201-0005/", "url": "https://security.netapp.com/advisory/ntap-20240201-0005/" } ] }, "description": { "description_data": [ { "lang": "eng", "value": "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." } ] } }