Security mailing lists by PureSourceCode

CVE-2023-2283

MEDIUM 6.5CVSS 3.1

A vulnerability was found in libssh, where the authentication check of the connecting client can be bypassed in thepki_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.

Published
26 May 2023
Last modified
17 Jun 2026
Assigned by
secalert@redhat.com
NVD status
Modified
Weakness
CWE-287
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD libssh libssh
cpe:2.3:a:libssh:libssh:*:*:*:*:*:*:*:*
>= 0.9.1, <= 0.9.6
NVD libssh libssh
cpe:2.3:a:libssh:libssh:*:*:*:*:*:*:*:*
>= 0.10.0, <= 0.10.4
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*
= 37
NVD redhat enterprise_linux
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*
= 8.0
NVD redhat enterprise_linux
cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*
= 9.0

References

History

  • 25 Nov 2026 20:36 UTC · NVD: first stored (published 26 May 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.