ubuntu-cve-2023-2283
Vulnerability from osv_ubuntu
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.
{
"affected": [
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "libssh-4",
"binary_version": "0.9.3-2ubuntu2.3"
},
{
"binary_name": "libssh-gcrypt-4",
"binary_version": "0.9.3-2ubuntu2.3"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "libssh",
"purl": "pkg:deb/ubuntu/libssh@0.9.3-2ubuntu2.3?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "0.9.3-2ubuntu2.3"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.9.0-1ubuntu1",
"0.9.0-1ubuntu4",
"0.9.0-1ubuntu5",
"0.9.3-2ubuntu1",
"0.9.3-2ubuntu2",
"0.9.3-2ubuntu2.1",
"0.9.3-2ubuntu2.2"
]
},
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"binary_name": "libssh-4",
"binary_version": "0.9.6-2ubuntu0.22.04.1"
},
{
"binary_name": "libssh-gcrypt-4",
"binary_version": "0.9.6-2ubuntu0.22.04.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "libssh",
"purl": "pkg:deb/ubuntu/libssh@0.9.6-2ubuntu0.22.04.1?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "0.9.6-2ubuntu0.22.04.1"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.9.6-1",
"0.9.6-1build1",
"0.9.6-2",
"0.9.6-2build1"
]
}
],
"aliases": [],
"details": "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.",
"id": "UBUNTU-CVE-2023-2283",
"modified": "2026-04-22T07:44:59Z",
"published": "2023-05-09T00:00:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2023-2283"
},
{
"type": "REPORT",
"url": "https://www.libssh.org/security/advisories/CVE-2023-2283.txt"
},
{
"type": "ADVISORY",
"url": "https://ubuntu.com/security/notices/USN-6138-1"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2023-2283"
}
],
"related": [
"USN-6138-1"
],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2023-2283"
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.