VDB

CVE-2023-2283

CVE-2023-2283 PUBLISHED

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.

PackageEcosystemFixed in
libsshlibssh0.10.4, 0.9.6

Affected products

VendorProductVersions
n/alibsshlibssh-2
n/alibssh*
amazon:2023libssh-devel0
amazon:2023libssh0
amazon:2023libssh-config0

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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›