CVE-2023-2283
publishedlibssh: authorization bypass in pki_verify_data_signature
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | libsshlibssh-2 | Affected | Not stated | redhat |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2023-186 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | libssh | Advisory build | 0.9.6-10.el8_8 | ALSA-2023:3839 |
| Debian | bullseye | libssh | Advisory build | 0.9.7-0+deb11u1 | DSA-5409-1 |
| Oracle Linux | 8 | libsshaarch64 | Advisory build | 0:0.9.6-10.el8_8 | ELSA-2023-3839 |
| Red Hat Enterprise Linux | RHEL-8 | libsshaarch64 | Advisory build | 0.9.6-10.el8_8 | RHSA-2023:3839 |
| Ubuntu | focal | libssh | Advisory build | 0.9.3-2ubuntu2.3 | USN-6138-1 |
| SUSE / openSUSE | SLE-12-SP5 | libssh-configaarch64 | Advisory build | 0.9.8-3.12.2 | SUSE-SU-2024:0539-1 |
Show 94 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 9 | libssh | Advisory build | 0.10.4-11.el9 | ALSA-2023:6643 |
| Oracle Linux | 8 | libsshx86_64 | Advisory build | 0:0.9.6-10.el8_8 | ELSA-2023-3839 |
| Oracle Linux | 9 | libsshaarch64 | Advisory build | 0:0.10.4-11.el9 | ELSA-2023-6643 |
| Oracle Linux | 9 | libsshx86_64 | Advisory build | 0:0.10.4-11.el9 | ELSA-2023-6643 |
| Red Hat Enterprise Linux | RHEL-8 | libsshaarch64 | Advisory build | 0.9.6-4.el8_6 | RHSA-2024:0538 |
| Red Hat Enterprise Linux | RHEL-8 | libsshi686 | Advisory build | 0.9.6-10.el8_8 | RHSA-2023:3839 |
| Red Hat Enterprise Linux | RHEL-8 | libsshi686 | Advisory build | 0.9.6-4.el8_6 | RHSA-2024:0538 |
| Red Hat Enterprise Linux | RHEL-8 | libsshppc64le | Advisory build | 0.9.6-10.el8_8 | RHSA-2023:3839 |
| Red Hat Enterprise Linux | RHEL-8 | libsshppc64le | Advisory build | 0.9.6-4.el8_6 | RHSA-2024:0538 |
| Red Hat Enterprise Linux | RHEL-8 | libsshs390x | Advisory build | 0.9.6-10.el8_8 | RHSA-2023:3839 |
| Red Hat Enterprise Linux | RHEL-8 | libsshs390x | Advisory build | 0.9.6-4.el8_6 | RHSA-2024:0538 |
| Red Hat Enterprise Linux | RHEL-8 | libsshsrc | Advisory build | 0.9.6-10.el8_8 | RHSA-2023:3839 |
| Red Hat Enterprise Linux | RHEL-8 | libsshsrc | Advisory build | 0.9.6-4.el8_6 | RHSA-2024:0538 |
| Red Hat Enterprise Linux | RHEL-8 | libsshx86_64 | Advisory build | 0.9.6-10.el8_8 | RHSA-2023:3839 |
| Red Hat Enterprise Linux | RHEL-8 | libsshx86_64 | Advisory build | 0.9.6-4.el8_6 | RHSA-2024:0538 |
| Red Hat Enterprise Linux | RHEL-9 | libsshaarch64 | Advisory build | 0.10.4-11.el9 | RHSA-2023:6643 |
| Red Hat Enterprise Linux | RHEL-9 | libsshi686 | Advisory build | 0.10.4-11.el9 | RHSA-2023:6643 |
| Red Hat Enterprise Linux | RHEL-9 | libsshppc64le | Advisory build | 0.10.4-11.el9 | RHSA-2023:6643 |
| Red Hat Enterprise Linux | RHEL-9 | libsshs390x | Advisory build | 0.10.4-11.el9 | RHSA-2023:6643 |
| Red Hat Enterprise Linux | RHEL-9 | libsshsrc | Advisory build | 0.10.4-11.el9 | RHSA-2023:6643 |
| Red Hat Enterprise Linux | RHEL-9 | libsshx86_64 | Advisory build | 0.10.4-11.el9 | RHSA-2023:6643 |
| Ubuntu | jammy | libssh | Advisory build | 0.9.6-2ubuntu0.22.04.1 | USN-6138-1 |
| AlmaLinux | 8 | libssh-config | Advisory build | 0.9.6-10.el8_8 | ALSA-2023:3839 |
| AlmaLinux | 8 | libssh-devel | Advisory build | 0.9.6-10.el8_8 | ALSA-2023:3839 |
| AlmaLinux | 9 | libssh-config | Advisory build | 0.10.4-11.el9 | ALSA-2023:6643 |
| AlmaLinux | 9 | libssh-devel | Advisory build | 0.10.4-11.el9 | ALSA-2023:6643 |
| Oracle Linux | 8 | libssh-configaarch64 | Advisory build | 0:0.9.6-10.el8_8 | ELSA-2023-3839 |
| Oracle Linux | 8 | libssh-configx86_64 | Advisory build | 0:0.9.6-10.el8_8 | ELSA-2023-3839 |
| Oracle Linux | 8 | libssh-develaarch64 | Advisory build | 0:0.9.6-10.el8_8 | ELSA-2023-3839 |
| Oracle Linux | 8 | libssh-develx86_64 | Advisory build | 0:0.9.6-10.el8_8 | ELSA-2023-3839 |
| Oracle Linux | 9 | libssh-configaarch64 | Advisory build | 0:0.10.4-11.el9 | ELSA-2023-6643 |
| Oracle Linux | 9 | libssh-configx86_64 | Advisory build | 0:0.10.4-11.el9 | ELSA-2023-6643 |
| Oracle Linux | 9 | libssh-develaarch64 | Advisory build | 0:0.10.4-11.el9 | ELSA-2023-6643 |
| Oracle Linux | 9 | libssh-develx86_64 | Advisory build | 0:0.10.4-11.el9 | ELSA-2023-6643 |
| Red Hat Enterprise Linux | RHEL-8 | libssh-confignoarch | Advisory build | 0.9.6-10.el8_8 | RHSA-2023:3839 |
| Red Hat Enterprise Linux | RHEL-8 | libssh-confignoarch | Advisory build | 0.9.6-4.el8_6 | RHSA-2024:0538 |
| Red Hat Enterprise Linux | RHEL-8 | libssh-debuginfoaarch64 | Advisory build | 0.9.6-10.el8_8 | RHSA-2023:3839 |
| Red Hat Enterprise Linux | RHEL-8 | libssh-debuginfoaarch64 | Advisory build | 0.9.6-4.el8_6 | RHSA-2024:0538 |
| Red Hat Enterprise Linux | RHEL-8 | libssh-debuginfoi686 | Advisory build | 0.9.6-10.el8_8 | RHSA-2023:3839 |
| Red Hat Enterprise Linux | RHEL-8 | libssh-debuginfoi686 | Advisory build | 0.9.6-4.el8_6 | RHSA-2024:0538 |
| Red Hat Enterprise Linux | RHEL-8 | libssh-debuginfoppc64le | Advisory build | 0.9.6-10.el8_8 | RHSA-2023:3839 |
| Red Hat Enterprise Linux | RHEL-8 | libssh-debuginfoppc64le | Advisory build | 0.9.6-4.el8_6 | RHSA-2024:0538 |
| Red Hat Enterprise Linux | RHEL-8 | libssh-debuginfos390x | Advisory build | 0.9.6-10.el8_8 | RHSA-2023:3839 |
| Red Hat Enterprise Linux | RHEL-8 | libssh-debuginfos390x | Advisory build | 0.9.6-4.el8_6 | RHSA-2024:0538 |
| Red Hat Enterprise Linux | RHEL-8 | libssh-debuginfox86_64 | Advisory build | 0.9.6-10.el8_8 | RHSA-2023:3839 |
| Red Hat Enterprise Linux | RHEL-8 | libssh-debuginfox86_64 | Advisory build | 0.9.6-4.el8_6 | RHSA-2024:0538 |
| Red Hat Enterprise Linux | RHEL-8 | libssh-debugsourceaarch64 | Advisory build | 0.9.6-10.el8_8 | RHSA-2023:3839 |
| Red Hat Enterprise Linux | RHEL-8 | libssh-debugsourceaarch64 | Advisory build | 0.9.6-4.el8_6 | RHSA-2024:0538 |
| Red Hat Enterprise Linux | RHEL-8 | libssh-debugsourcei686 | Advisory build | 0.9.6-10.el8_8 | RHSA-2023:3839 |
| Red Hat Enterprise Linux | RHEL-8 | libssh-debugsourcei686 | Advisory build | 0.9.6-4.el8_6 | RHSA-2024:0538 |
| Red Hat Enterprise Linux | RHEL-8 | libssh-debugsourceppc64le | Advisory build | 0.9.6-10.el8_8 | RHSA-2023:3839 |
| Red Hat Enterprise Linux | RHEL-8 | libssh-debugsourceppc64le | Advisory build | 0.9.6-4.el8_6 | RHSA-2024:0538 |
| Red Hat Enterprise Linux | RHEL-8 | libssh-debugsources390x | Advisory build | 0.9.6-10.el8_8 | RHSA-2023:3839 |
| Red Hat Enterprise Linux | RHEL-8 | libssh-debugsources390x | Advisory build | 0.9.6-4.el8_6 | RHSA-2024:0538 |
| Red Hat Enterprise Linux | RHEL-8 | libssh-debugsourcex86_64 | Advisory build | 0.9.6-10.el8_8 | RHSA-2023:3839 |
| Red Hat Enterprise Linux | RHEL-8 | libssh-debugsourcex86_64 | Advisory build | 0.9.6-4.el8_6 | RHSA-2024:0538 |
| Red Hat Enterprise Linux | RHEL-8 | libssh-develaarch64 | Advisory build | 0.9.6-10.el8_8 | RHSA-2023:3839 |
| Red Hat Enterprise Linux | RHEL-8 | libssh-develaarch64 | Advisory build | 0.9.6-4.el8_6 | RHSA-2024:0538 |
| Red Hat Enterprise Linux | RHEL-8 | libssh-develi686 | Advisory build | 0.9.6-10.el8_8 | RHSA-2023:3839 |
| Red Hat Enterprise Linux | RHEL-8 | libssh-develi686 | Advisory build | 0.9.6-4.el8_6 | RHSA-2024:0538 |
| Red Hat Enterprise Linux | RHEL-8 | libssh-develppc64le | Advisory build | 0.9.6-10.el8_8 | RHSA-2023:3839 |
| Red Hat Enterprise Linux | RHEL-8 | libssh-develppc64le | Advisory build | 0.9.6-4.el8_6 | RHSA-2024:0538 |
| Red Hat Enterprise Linux | RHEL-8 | libssh-devels390x | Advisory build | 0.9.6-10.el8_8 | RHSA-2023:3839 |
| Red Hat Enterprise Linux | RHEL-8 | libssh-devels390x | Advisory build | 0.9.6-4.el8_6 | RHSA-2024:0538 |
| Red Hat Enterprise Linux | RHEL-8 | libssh-develx86_64 | Advisory build | 0.9.6-10.el8_8 | RHSA-2023:3839 |
| Red Hat Enterprise Linux | RHEL-8 | libssh-develx86_64 | Advisory build | 0.9.6-4.el8_6 | RHSA-2024:0538 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-confignoarch | Advisory build | 0.10.4-11.el9 | RHSA-2023:6643 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-debuginfoaarch64 | Advisory build | 0.10.4-11.el9 | RHSA-2023:6643 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-debuginfoi686 | Advisory build | 0.10.4-11.el9 | RHSA-2023:6643 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-debuginfoppc64le | Advisory build | 0.10.4-11.el9 | RHSA-2023:6643 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-debuginfos390x | Advisory build | 0.10.4-11.el9 | RHSA-2023:6643 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-debuginfox86_64 | Advisory build | 0.10.4-11.el9 | RHSA-2023:6643 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-debugsourceaarch64 | Advisory build | 0.10.4-11.el9 | RHSA-2023:6643 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-debugsourcei686 | Advisory build | 0.10.4-11.el9 | RHSA-2023:6643 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-debugsourceppc64le | Advisory build | 0.10.4-11.el9 | RHSA-2023:6643 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-debugsources390x | Advisory build | 0.10.4-11.el9 | RHSA-2023:6643 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-debugsourcex86_64 | Advisory build | 0.10.4-11.el9 | RHSA-2023:6643 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-develaarch64 | Advisory build | 0.10.4-11.el9 | RHSA-2023:6643 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-develi686 | Advisory build | 0.10.4-11.el9 | RHSA-2023:6643 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-develppc64le | Advisory build | 0.10.4-11.el9 | RHSA-2023:6643 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-devels390x | Advisory build | 0.10.4-11.el9 | RHSA-2023:6643 |
| Red Hat Enterprise Linux | RHEL-9 | libssh-develx86_64 | Advisory build | 0.10.4-11.el9 | RHSA-2023:6643 |
| SUSE / openSUSE | SLE-12-SP5 | libssh-configppc64le | Advisory build | 0.9.8-3.12.2 | SUSE-SU-2024:0539-1 |
| SUSE / openSUSE | SLE-12-SP5 | libssh-configs390x | Advisory build | 0.9.8-3.12.2 | SUSE-SU-2024:0539-1 |
| SUSE / openSUSE | SLE-12-SP5 | libssh-configx86_64 | Advisory build | 0.9.8-3.12.2 | SUSE-SU-2024:0539-1 |
| SUSE / openSUSE | SLE-12-SP5 | libssh-develaarch64 | Advisory build | 0.9.8-3.12.2 | SUSE-SU-2024:0539-1 |
| SUSE / openSUSE | SLE-12-SP5 | libssh-develppc64le | Advisory build | 0.9.8-3.12.2 | SUSE-SU-2024:0539-1 |
| SUSE / openSUSE | SLE-12-SP5 | libssh-devels390x | Advisory build | 0.9.8-3.12.2 | SUSE-SU-2024:0539-1 |
| SUSE / openSUSE | SLE-12-SP5 | libssh-develx86_64 | Advisory build | 0.9.8-3.12.2 | SUSE-SU-2024:0539-1 |
| SUSE / openSUSE | SLE-12-SP5 | libssh4aarch64 | Advisory build | 0.9.8-3.12.2 | SUSE-SU-2024:0539-1 |
| SUSE / openSUSE | SLE-12-SP5 | libssh4ppc64le | Advisory build | 0.9.8-3.12.2 | SUSE-SU-2024:0539-1 |
| SUSE / openSUSE | SLE-12-SP5 | libssh4s390x | Advisory build | 0.9.8-3.12.2 | SUSE-SU-2024:0539-1 |
| SUSE / openSUSE | SLE-12-SP5 | libssh4x86_64 | Advisory build | 0.9.8-3.12.2 | SUSE-SU-2024:0539-1 |
| SUSE / openSUSE | SLE-12-SP5 | libssh4-32bits390x | Advisory build | 0.9.8-3.12.2 | SUSE-SU-2024:0539-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | libssh | libssh-2 (affected) | redhat · cna |
Weaknesses
1- CWE-287
References
8- http://packetstormsecurity.com/files/172861/libssh-0.9.6-0.10.4-pki_verify_data_signature-Authorization-Bypass.html
- http://seclists.org/fulldisclosure/2025/Feb/18
- https://access.redhat.com/security/cve/CVE-2023-2283
- https://bugzilla.redhat.com/show_bug.cgi?id=2189736
- FEDORA-2023-5fa5ca2043 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/27PD44ALQTZXX7K6JAM3BXBUHYA6DFFN/
- GLSA-202312-05 https://security.gentoo.org/glsa/202312-05
- https://security.netapp.com/advisory/ntap-20240201-0005/
- https://www.libssh.org/security/advisories/CVE-2023-2283.txt
Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- e8d4454a87e3114af5b271a512841a6215bb40c4e81839e299d6288695abb44f
- Ingested
- 23 Sep 2026, 08:08:06 UTC
- Source record
- Official CVE record