CVE-2023-2283

6.5 MEDIUM
Published: May 26, 2023 Modified: November 03, 2025

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.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
https://access.redhat.com/security/cve/CVE-2023-2283
Source: secalert@redhat.com
Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=2189736
Source: secalert@redhat.com
Issue Tracking Third Party Advisory
https://www.libssh.org/security/advisories/CVE-2023-2283.txt
Source: secalert@redhat.com
Vendor Advisory
http://seclists.org/fulldisclosure/2025/Feb/18
Source: af854a3a-2127-422b-91ae-364da2661108
https://access.redhat.com/security/cve/CVE-2023-2283
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory
https://bugzilla.redhat.com/show_bug.cgi?id=2189736
Source: af854a3a-2127-422b-91ae-364da2661108
Issue Tracking Third Party Advisory
https://security.gentoo.org/glsa/202312-05
Source: af854a3a-2127-422b-91ae-364da2661108
https://security.netapp.com/advisory/ntap-20240201-0005/
Source: af854a3a-2127-422b-91ae-364da2661108
https://www.libssh.org/security/advisories/CVE-2023-2283.txt
Source: af854a3a-2127-422b-91ae-364da2661108
Vendor Advisory

15 reference(s) from NVD

Quick Stats

CVSS v3 Score
6.5 / 10.0
EPSS (Exploit Probability)
0.2%
44th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

redhat fedoraproject libssh