CVE-2023-2283

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.

Category

6.5
CVSS
Severity: Medium
CVSS 3.1 •
EPSS 0.29%
Vendor Advisory fedoraproject.org Vendor Advisory gentoo.org Vendor Advisory libssh.org
Affected: n/a libssh
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2023-2283?
CVE-2023-2283 has been scored as a medium severity vulnerability.
How to fix CVE-2023-2283?
To fix CVE-2023-2283, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2023-2283 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2023-2283 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2023-2283?
CVE-2023-2283 affects n/a libssh.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.