CVE-2023-2283
Reported by redhat · Published May 26, 2023
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| libssh | libssh | 0.10.4, 0.9.6 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | libssh | libssh-2 |
| n/a | libssh | * |
| amazon:2023 | libssh-devel | 0 |
| amazon:2023 | libssh | 0 |
| amazon:2023 | libssh-config | 0 |
Timeline
- May 4, 2023 CVE Published
- May 27, 2023 EPSS Score (30 in total, the first dated here)
- Jun 9, 2023 PoC Published (21 in total, the first dated here)
- Mar 10, 2026 Security Advisory (16 in total, the first dated here)
- Nov 21, 2026 Distribution Patch (12 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2023-2283
vulnetix vdb fixes CVE-2023-2283
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-2283/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- FEDORA-2023-5fa5ca2043 vendor-advisory
- GLSA-202312-05 vendor-advisory
- http://seclists.org/fulldisclosure/2025/Feb/18 url