---
title: "CVE-2023-2283"
canonical_url: "https://pkgseek.com/security/CVE-2023-2283"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "medium"
---

# CVE-2023-2283

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\` re…

CVE-2023-2283 is rated MEDIUM (6.5), with 22 indexed affected package builds across 4 distributions.

- **Severity / Score**: MEDIUM (6.5)
- **Affected builds**: 22
- **Affected distros**: 4
- **Distros with fixed_in**: Alibaba Cloud Linux, Oracle Linux, Red Hat Enterprise Linux, Ubuntu

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Alibaba Cloud Linux | 3 | libssh | 0.9.6-3.al8 | 0.9.6-7.al8 |
| Alibaba Cloud Linux | 3 | libssh-config | 0.9.6-3.al8 | 0.9.6-7.al8 |
| Alibaba Cloud Linux | 3 | libssh-devel | 0.9.6-3.al8 | 0.9.6-7.al8 |
| Oracle Linux | 8 | libssh | 0.9.6-13.el8_9 | 0.9.6-14.el8 |
| Oracle Linux | 8 | libssh-config | 0.9.6-13.el8_9 | 0.9.6-14.el8 |
| Oracle Linux | 8 | libssh-devel | 0.9.6-13.el8_9 | 0.9.6-14.el8 |
| Oracle Linux | 9 | libssh | 0.10.4-8.el9 | 0.10.4-11.el9 |
| Oracle Linux | 9 | libssh-config | 0.10.4-8.el9 | 0.10.4-11.el9 |
| Oracle Linux | 9 | libssh-devel | 0.10.4-8.el9 | 0.10.4-11.el9 |
| Red Hat Enterprise Linux | 9.8 | libssh | 0.10.4-8.el9 | 0.10.4-11.el9 |
| Red Hat Enterprise Linux | 9.8 | libssh-config | 0.10.4-8.el9 | 0.10.4-11.el9 |
| Red Hat Enterprise Linux | 9.8 | libssh-devel | 0.10.4-8.el9 | 0.10.4-11.el9 |
| Ubuntu | focal | libssh-4 | 0.9.3-2ubuntu2 | 0.9.3-2ubuntu2.3 |
| Ubuntu | focal | libssh-dev | 0.9.3-2ubuntu2 | 0.9.3-2ubuntu2.3 |
| Ubuntu | focal | libssh-doc | 0.9.3-2ubuntu2 | 0.9.3-2ubuntu2.3 |
| Ubuntu | focal | libssh-gcrypt-4 | 0.9.3-2ubuntu2 | 0.9.3-2ubuntu2.3 |
| Ubuntu | focal | libssh-gcrypt-dev | 0.9.3-2ubuntu2 | 0.9.3-2ubuntu2.3 |
| Ubuntu | jammy | libssh-4 | 0.9.6-2build1 | 0.9.6-2ubuntu0.22.04.1 |
| Ubuntu | jammy | libssh-dev | 0.9.6-2build1 | 0.9.6-2ubuntu0.22.04.1 |
| Ubuntu | jammy | libssh-doc | 0.9.6-2build1 | 0.9.6-2ubuntu0.22.04.1 |
| Ubuntu | jammy | libssh-gcrypt-4 | 0.9.6-2build1 | 0.9.6-2ubuntu0.22.04.1 |
| Ubuntu | jammy | libssh-gcrypt-dev | 0.9.6-2build1 | 0.9.6-2ubuntu0.22.04.1 |
