CVE-2023-2283
A vulnerability was found in libssh, where the authentication check of the connecting client can be bypassed in…
- Published
- Updated
- Reserved
- Assigned by
- redhat
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | Medium6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
- EPSS (exploitation in 30 days)
- 1.1% · top 35% of all CVEs (6 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.5.
Weakness
Affected products
libssh
- affected libssh-2
References (8)
- https://access.redhat.com/security/cve/CVE-2023-2283 (opens in a new tab)x_transferred
- https://www.libssh.org/security/advisories/CVE-2023-2283.txt (opens in a new tab)x_transferred
- https://bugzilla.redhat.com/show_bug.cgi?id=2189736 (opens in a new tab)x_transferred
- FEDORA-2023-5fa5ca2043 (opens in a new tab)vendor-advisoryx_transferred
- http://packetstormsecurity.com/files/172861/libssh-0.9.6-0.10.4-pki_verify_data_signature-Authorization-Bypass.html (opens in a new tab)x_transferred
- GLSA-202312-05 (opens in a new tab)vendor-advisoryx_transferred
- https://security.netapp.com/advisory/ntap-20240201-0005/ (opens in a new tab)x_transferred
- http://seclists.org/fulldisclosure/2025/Feb/18 (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2023-2283)Record last updated .