{"api_version":"1","generated_at":"2026-04-22T20:52:44+00:00","cve":"CVE-2023-2283","urls":{"html":"https://cve.report/CVE-2023-2283","api":"https://cve.report/api/cve/CVE-2023-2283.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-2283","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-2283"},"summary":{"title":"CVE-2023-2283","description":"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.","state":"PUBLIC","assigner":"secalert@redhat.com","published_at":"2023-05-26 18:15:00","updated_at":"2024-02-01 17:15:00"},"problem_types":["CWE-287"],"metrics":[],"references":[{"url":"https://security.netapp.com/advisory/ntap-20240201-0005/","name":"https://security.netapp.com/advisory/ntap-20240201-0005/","refsource":"","tags":[],"title":"January 2024 MySQL Cluster Vulnerabilities in NetApp Products | NetApp Product Security","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/27PD44ALQTZXX7K6JAM3BXBUHYA6DFFN/","name":"FEDORA-2023-5fa5ca2043","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 37 Update: libssh-0.10.5-1.fc37 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2189736","name":"https://bugzilla.redhat.com/show_bug.cgi?id=2189736","refsource":"MISC","tags":[],"title":"2189736 – (CVE-2023-2283) CVE-2023-2283 libssh: authorization bypass in pki_verify_data_signature","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"http://packetstormsecurity.com/files/172861/libssh-0.9.6-0.10.4-pki_verify_data_signature-Authorization-Bypass.html","name":"http://packetstormsecurity.com/files/172861/libssh-0.9.6-0.10.4-pki_verify_data_signature-Authorization-Bypass.html","refsource":"MISC","tags":[],"title":"libssh 0.9.6 / 0.10.4 pki_verify_data_signature Authorization Bypass ≈ Packet Storm","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://access.redhat.com/security/cve/CVE-2023-2283","name":"https://access.redhat.com/security/cve/CVE-2023-2283","refsource":"MISC","tags":[],"title":"cve-details","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.libssh.org/security/advisories/CVE-2023-2283.txt","name":"https://www.libssh.org/security/advisories/CVE-2023-2283.txt","refsource":"MISC","tags":[],"title":"","mime":"text/plain","httpstatus":"200","archivestatus":"200"},{"url":"https://security.gentoo.org/glsa/202312-05","name":"GLSA-202312-05","refsource":"","tags":[],"title":"libssh: Multiple Vulnerabilities (GLSA 202312-05) — Gentoo security","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/27PD44ALQTZXX7K6JAM3BXBUHYA6DFFN/","name":"FEDORA-2023-5fa5ca2043","refsource":"","tags":[],"title":"[SECURITY] Fedora 37 Update: libssh-0.10.5-1.fc37 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-2283","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-2283","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2023","cve_id":"2283","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"37","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2023","cve_id":"2283","vulnerable":"1","versionEndIncluding":"0.10.4","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"libssh","cpe5":"libssh","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2023","cve_id":"2283","vulnerable":"1","versionEndIncluding":"0.9.6","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"libssh","cpe5":"libssh","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2023","cve_id":"2283","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"redhat","cpe5":"enterprise_linux","cpe6":"8.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2023","cve_id":"2283","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"redhat","cpe5":"enterprise_linux","cpe6":"9.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2023-2283","qid":"160756","title":"Oracle Enterprise Linux Security Update for libssh (ELSA-2023-3839)"},{"cve":"CVE-2023-2283","qid":"161111","title":"Oracle Enterprise Linux Security Update for libssh (ELSA-2023-6643)"},{"cve":"CVE-2023-2283","qid":"181800","title":"Debian Security Update for libssh (DSA 5409-1)"},{"cve":"CVE-2023-2283","qid":"182163","title":"Debian Security Update for libssh (CVE-2023-2283)"},{"cve":"CVE-2023-2283","qid":"199393","title":"Ubuntu Security Notification for libssh Vulnerabilities (USN-6138-1)"},{"cve":"CVE-2023-2283","qid":"241759","title":"Red Hat Update for libssh (RHSA-2023:3839)"},{"cve":"CVE-2023-2283","qid":"242284","title":"Red Hat Update for libssh (RHSA-2023:6643)"},{"cve":"CVE-2023-2283","qid":"242766","title":"Red Hat Update for libssh (RHSA-2024:0538)"},{"cve":"CVE-2023-2283","qid":"284002","title":"Fedora Security Update for libssh (FEDORA-2023-5fa5ca2043)"},{"cve":"CVE-2023-2283","qid":"284140","title":"Fedora Security Update for libssh (FEDORA-2023-741d5f1fd3)"},{"cve":"CVE-2023-2283","qid":"355399","title":"Amazon Linux Security Advisory for libssh : ALAS2023-2023-186"},{"cve":"CVE-2023-2283","qid":"378712","title":"Alibaba Cloud Linux Security Update for libssh (ALINUX3-SA-2023:0077)"},{"cve":"CVE-2023-2283","qid":"379412","title":"F5 BIG-IP Advanced Firewall Manager (AFM) libssh Multiple Vulnerabilities (K000138682)"},{"cve":"CVE-2023-2283","qid":"673239","title":"EulerOS Security Update for libssh (EulerOS-SA-2023-2358)"},{"cve":"CVE-2023-2283","qid":"673258","title":"EulerOS Security Update for libssh (EulerOS-SA-2023-2384)"},{"cve":"CVE-2023-2283","qid":"673285","title":"EulerOS Security Update for libssh (EulerOS-SA-2023-2586)"},{"cve":"CVE-2023-2283","qid":"673294","title":"EulerOS Security Update for libssh (EulerOS-SA-2023-2616)"},{"cve":"CVE-2023-2283","qid":"673826","title":"EulerOS Security Update for libssh (EulerOS-SA-2023-2693)"},{"cve":"CVE-2023-2283","qid":"673847","title":"EulerOS Security Update for libssh (EulerOS-SA-2023-2651)"},{"cve":"CVE-2023-2283","qid":"710806","title":"Gentoo Linux libssh Multiple Vulnerabilities (GLSA 202312-05)"},{"cve":"CVE-2023-2283","qid":"755806","title":"SUSE Enterprise Linux Security Update for libssh (SUSE-SU-2024:0539-1)"},{"cve":"CVE-2023-2283","qid":"941161","title":"AlmaLinux Security Update for libssh (ALSA-2023:3839)"},{"cve":"CVE-2023-2283","qid":"941363","title":"AlmaLinux Security Update for libssh (ALSA-2023:6643)"},{"cve":"CVE-2023-2283","qid":"960954","title":"Rocky Linux Security Update for libssh (RLSA-2023:3839)"}]},"source_records":{"cve_program":{"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"}]},"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."}]}},"nvd":{"publishedDate":"2023-05-26 18:15:00","lastModifiedDate":"2024-02-01 17:15:00","problem_types":["CWE-287"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE","baseScore":6.5,"baseSeverity":"MEDIUM"},"exploitabilityScore":3.9,"impactScore":2.5}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:libssh:libssh:*:*:*:*:*:*:*:*","versionStartIncluding":"0.10.0","versionEndIncluding":"0.10.4","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:libssh:libssh:*:*:*:*:*:*:*:*","versionStartIncluding":"0.9.1","versionEndIncluding":"0.9.6","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}