{"schemaVersion":3,"id":"CVE-2023-2283","aliases":["UBUNTU-CVE-2023-2283","DEBIAN-CVE-2023-2283"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2023-05-26T00:00:00.000Z","modified":"2025-11-03T20:35:18.528Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.5,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","exploitability":10,"impact":4.2,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","exploitability":10,"impact":4.2,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01061,"percentile":0.64039,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.01061},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01061,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01061,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01061,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01061,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01061,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01061,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01061,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01061,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01061,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01061,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01061,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01061,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01061,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01061,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01061,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01061,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01061,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01061,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01061,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01061,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01061,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01061,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01061,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01061,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01061,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01061,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01061,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01061,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01061,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01061,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01061,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01061,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01061,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01061,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01061,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01061,"percentile":0.64039}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.01061,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01061,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01061,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01061,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01061,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01061,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01061,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01061,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01061,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01061,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01061,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01061,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01061,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01061,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01061,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01061,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01061,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01061,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01061,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01061,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01061,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01061,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01061,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01061,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01061,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01061,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01061,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01061,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01061,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01061,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01061,"percentile":0.64039}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-287","name":"Improper Authentication","description":"When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/287.html"}],"affected":[{"vendor":"debian","product":"libssh","name":"libssh","label":"libssh","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/libssh","purlType":"deb","versions":[{"text":"< 0.10.5-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.10.5-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"libssh","name":"libssh","label":"libssh","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/libssh","purlType":"deb","versions":[{"text":"< 0.9.3-2ubuntu2.3","noFixRecorded":false,"fixedIn":null},{"text":"< 0.9.6-2ubuntu0.22.04.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0.9.3-2ubuntu2.3 | < 0.9.6-2ubuntu0.22.04.1","eol":null,"hubHref":null},{"vendor":"fedoraproject","product":"fedora","name":"fedora","label":"fedora","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"37","noFixRecorded":false,"fixedIn":null}],"versionsText":"37","eol":{"isEol":true,"eolDate":"2023-12-05T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"37","label":"37","eolFrom":"2023-12-05T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"fedora","label":"Fedora Linux","category":"os"}},"hubHref":"/vendor/fedoraproject/fedora"},{"vendor":"libssh","product":"libssh","name":"libssh","label":"libssh","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 0.9.1, ≤ 0.9.6","noFixRecorded":false,"fixedIn":null},{"text":"≥ 0.10.0, ≤ 0.10.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 0.9.1, ≤ 0.9.6 | ≥ 0.10.0, ≤ 0.10.4","eol":null,"hubHref":"/vendor/libssh/libssh"},{"vendor":"redhat","product":"enterprise_linux","name":"enterprise linux","label":"enterprise_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"8.0","noFixRecorded":false,"fixedIn":null},{"text":"9.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"8.0 | 9.0","eol":{"isEol":false,"eolDate":"2029-05-31T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"8","label":"8 (Upcoming ELS)","eolFrom":"2029-05-31T00:00:00.000Z","isLts":false,"isMaintained":true,"latestVersion":"8.10"},"product":{"name":"rhel","label":"Red Hat Enterprise Linux","category":"os"}},"hubHref":"/vendor/redhat/enterprise_linux"}],"affectedCount":5,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://access.redhat.com/security/cve/CVE-2023-2283","label":"access.redhat.com/security/cve/CVE-2023-2283","hostname":"access.redhat.com","tags":["Third Party Advisory"]},{"url":"https://www.libssh.org/security/advisories/CVE-2023-2283.txt","label":"www.libssh.org/security/advisories/CVE-2023-2283.txt","hostname":"www.libssh.org","tags":["REPORT","Vendor Advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2189736","label":"bugzilla.redhat.com/show_bug.cgi?id=2189736","hostname":"bugzilla.redhat.com","tags":["Issue Tracking","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/27PD44ALQTZXX7K6JAM3BXBUHYA6DFFN/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory"]},{"url":"http://packetstormsecurity.com/files/172861/libssh-0.9.6-0.10.4-pki_verify_data_signature-Authorization-Bypass.html","label":"packetstormsecurity.com/files/…","hostname":"packetstormsecurity.com","tags":[]},{"url":"https://security.gentoo.org/glsa/202312-05","label":"security.gentoo.org/glsa/202312-05","hostname":"security.gentoo.org","tags":["Vendor Advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20240201-0005/","label":"security.netapp.com/advisory/ntap-20240201-0005/","hostname":"security.netapp.com","tags":[]},{"url":"http://seclists.org/fulldisclosure/2025/Feb/18","label":"seclists.org/fulldisclosure/2025/Feb/18","hostname":"seclists.org","tags":[]},{"url":"https://ubuntu.com/security/CVE-2023-2283","label":"ubuntu.com/security/CVE-2023-2283","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-6138-1","label":"ubuntu.com/security/notices/USN-6138-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-2283","label":"www.cve.org/CVERecord?id=CVE-2023-2283","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2023-2283","label":"security-tracker.debian.org/tracker/CVE-2023-2283","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DSA-5409-1","MGASA-2023-0184","OPENSUSE-SU-2024:12914-1","RHSA-2023:3839","RHSA-2023:6643","RHSA-2024:0538","SUSE-SU-2024:0140-1","SUSE-SU-2024:0525-1","SUSE-SU-2024:0539-1","USN-6138-1"],"duplicates":[],"related":["OPENSUSE-SU-2024:12914-1","SUSE-SU-2024:0140-1","SUSE-SU-2024:0525-1","SUSE-SU-2024:0539-1","USN-6138-1"]},"timeline":[{"kind":"published","date":"2023-05-26T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-11-03T20:35:18.528Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":26,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T05:51:00.364Z","stale":false,"partial":false}}