Skip to content
Fencer Vulns
medium 6.5

CVE-2023-2283 json

A vulnerability was found in libssh, where the authentication check of the connecting client can be bypassed in the`pki_verify_data_signatu…

published 2023-05-26 3 y ago modified 2026-06-17 4 mo ago also EUVD-2023-33789

cvss
6.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
1.1%
EPSS 1.1% chance of exploitation in 30 days, percentile 64%
public exploits
0
none known

Summary

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.

Patch / fix

  • libssh Debian 14, Debian 13, Debian 12 0.10.5-1

debian advisories DEBIAN-CVE-2023-2283

  • libssh Ubuntu 20.04 LTS 0.9.3-2ubuntu2.3
  • libssh Ubuntu 22.04 LTS 0.9.6-2ubuntu0.22.04.1

ubuntu advisories UBUNTU-CVE-2023-2283

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • libssh RHEL 9 0.10.4-11.el9
  • libssh-config RHEL 9 0.10.4-11.el9
  • libssh RHEL 8 0.9.6-10.el8_8
  • libssh-config RHEL 8 0.9.6-10.el8_8
  • libssh RHEL 8.6 EUS 0.9.6-4.el8_6
  • libssh-config RHEL 8.6 EUS 0.9.6-4.el8_6

red hat advisories RHSA-2024:0538RHSA-2023:6643RHSA-2023:3839

  • libssh SLES for SAP 12 SP5, SLES 12 SP5, SLE Software Development Kit 12 SP5 0.9.8-3.12.2
  • libssh SLES for SAP 15 SP3, SLES for SAP 15 SP2, SLES 15 SP3-LTSS +6 more 0.9.8-150200.13.3.1
  • libssh SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE Real Time 15 SP4 +11 more 0.9.8-150400.3.3.1

suse advisories SUSE-SU-2024:0539-1SUSE-SU-2024:0525-1SUSE-SU-2024:0140-1

  • libssh openSUSE Tumbleweed 0.10.5-1.1

opensuse advisories openSUSE-SU-2024:12914-1

  • libssh AlmaLinux 9 0.10.4-11.el9
  • libssh-config AlmaLinux 9 0.10.4-11.el9
  • libssh AlmaLinux 8 0.9.6-10.el8_8
  • libssh-config AlmaLinux 8 0.9.6-10.el8_8

almalinux advisories ALSA-2023:6643ALSA-2023:3839

  • libssh Rocky Linux 8 0.9.6-10.el8_8

rocky linux advisories RLSA-2023:3839

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2023-2283 updated cvss 4.8

libssh: authorization bypass in pki_verify_data_signature

  • Red Hat CloudForms Management Engine 5 libssh2 Red Hat Enterprise Linux 6 libssh2 Red Hat Enterprise Linux 7 libssh, libssh2
    affected: no fix planned “Out of support scope”
  • Red Hat Enterprise Linux AppStream (v. 8) libssh-devel 0.9.6-10.el8_8, libssh-debuginfo 0.9.6-10.el8_8, libssh-debugsource 0.9.6-10.el8_8
    fixed: vendor fix RHSA-2023:3839
  • Red Hat Enterprise Linux AppStream (v. 9) libssh-devel 0.10.4-11.el9, libssh-debuginfo 0.10.4-11.el9, libssh-debugsource 0.10.4-11.el9
    fixed: vendor fix RHSA-2023:6643
  • Red Hat Enterprise Linux AppStream EUS (v.8.6) libssh-devel 0.9.6-4.el8_6, libssh-debuginfo 0.9.6-4.el8_6, libssh-debugsource 0.9.6-4.el8_6
    fixed: vendor fix RHSA-2024:0538
  • Red Hat Enterprise Linux BaseOS (v. 8) libssh 0.9.6-10.el8_8, libssh-config 0.9.6-10.el8_8
    fixed: vendor fix RHSA-2023:3839
  • Red Hat Enterprise Linux BaseOS (v. 9) libssh 0.10.4-11.el9, libssh-config 0.10.4-11.el9
    fixed: vendor fix RHSA-2023:6643
  • Red Hat Enterprise Linux BaseOS EUS (v.8.6) libssh 0.9.6-4.el8_6, libssh-config 0.9.6-4.el8_6
    fixed: vendor fix RHSA-2024:0538

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

1.06% chance of exploitation in the next 30 days, higher than 64% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
NVD 3.1 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Affected products

  • n/a libssh

Classification

Weakness

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.