CVEfocus › CVE database › CVE-2023-2283

CVE-2023-2283

EPSS 1.1% (higher than 65% of CVEs)Published 2023-05-26Updated 2025-11-03Assigner: redhat

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.

CWE-287

What to do

Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

18Fixed
2Fix pending
7Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04libsshFixed0.9.6-2ubuntu0.22.04.1UBUNTU-CVE-2023-2283
Ubuntu 20.04libsshFixed0.9.3-2ubuntu2.3UBUNTU-CVE-2023-2283
Ubuntu 16.04libsshFix pending
Ubuntu 14.04libsshFix pending
Debian 14libsshFixed0.10.5-1DEBIAN-CVE-2023-2283
Debian 13libsshFixed0.10.5-1DEBIAN-CVE-2023-2283
Debian 12libsshFixed0.10.5-1DEBIAN-CVE-2023-2283
Red Hat Enterprise Linux 9libsshFixed0:0.10.4-11.el9RHSA-2023:6643
Red Hat Enterprise Linux 9libssh-configFixed0:0.10.4-11.el9RHSA-2023:6643
Red Hat Enterprise Linux 9libssh-develFixed0:0.10.4-11.el9RHSA-2023:6643
Red Hat Enterprise Linux 8libsshFixed0:0.9.6-10.el8_8RHSA-2023:3839
Red Hat Enterprise Linux 8libssh-configFixed0:0.9.6-10.el8_8RHSA-2023:3839
Red Hat Enterprise Linux 8libssh-develFixed0:0.9.6-10.el8_8RHSA-2023:3839
Red Hat Enterprise Linux 7libsshWill not fix
Out of support scope
Red Hat Enterprise Linux 7libssh2Will not fix
Out of support scope
Red Hat Enterprise Linux 7libssh2-develWill not fix
Out of support scope
Red Hat Enterprise Linux 7libssh2-docsWill not fix
Out of support scope
Red Hat Enterprise Linux 6libssh2Will not fix
Out of support scope
Red Hat Enterprise Linux 6libssh2-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6libssh2-docsWill not fix
Out of support scope
AlmaLinux 9libsshFixed0.10.4-11.el9ALSA-2023:6643
AlmaLinux 9libssh-configFixed0.10.4-11.el9ALSA-2023:6643
AlmaLinux 9libssh-develFixed0.10.4-11.el9ALSA-2023:6643
AlmaLinux 8libsshFixed0.9.6-10.el8_8ALSA-2023:3839
AlmaLinux 8libssh-configFixed0.9.6-10.el8_8ALSA-2023:3839
AlmaLinux 8libssh-develFixed0.9.6-10.el8_8ALSA-2023:3839
Rocky Linux 8libsshFixed0:0.9.6-10.el8_8RLSA-2023:3839

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.