CVE-2023-2283

MEDIUM
6.5
CVSS Score
Published: May 26, 2023 at 12:00 AM UTC
Updated: June 17, 2026 at 05:52 AM UTC
3 products affected across 3 vendorsFedoraEnterprise LinuxLibssh

Using libssh by N/A?

Get instant alerts when new vulnerabilities affect libssh - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM6.5
Exploit prediction
EPSS 1%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

0.10.0 ≤ v ≤ 0.10.40.9.1 ≤ v ≤ 0.9.6libssh-2

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-287

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card