UBUNTU-CVE-2023-2283

See a problem?
Source
https://ubuntu.com/security/notices/UBUNTU-CVE-2023-2283
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-2283.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2023-2283
Related
Published
2023-05-09T00:00:00Z
Modified
2023-05-09T00:00:00Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N CVSS Calculator
Summary
[none]
Details

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 SSHERROR 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 SSHOK.

References

Affected packages

Ubuntu:20.04:LTS / libssh

Package

Name
libssh
Purl
pkg:deb/ubuntu/libssh@0.9.3-2ubuntu2.3?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.9.3-2ubuntu2.3

Affected versions

0.*

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",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "libssh-dev": "0.9.3-2ubuntu2.3",
            "libssh-gcrypt-dev": "0.9.3-2ubuntu2.3",
            "libssh-gcrypt-4-dbgsym": "0.9.3-2ubuntu2.3",
            "libssh-gcrypt-4": "0.9.3-2ubuntu2.3",
            "libssh-4-dbgsym": "0.9.3-2ubuntu2.3",
            "libssh-doc": "0.9.3-2ubuntu2.3",
            "libssh-4": "0.9.3-2ubuntu2.3"
        }
    ]
}

Ubuntu:22.04:LTS / libssh

Package

Name
libssh
Purl
pkg:deb/ubuntu/libssh@0.9.6-2ubuntu0.22.04.1?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.9.6-2ubuntu0.22.04.1

Affected versions

0.*

0.9.6-1
0.9.6-1build1
0.9.6-2
0.9.6-2build1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "libssh-dev": "0.9.6-2ubuntu0.22.04.1",
            "libssh-gcrypt-dev": "0.9.6-2ubuntu0.22.04.1",
            "libssh-gcrypt-4-dbgsym": "0.9.6-2ubuntu0.22.04.1",
            "libssh-gcrypt-4": "0.9.6-2ubuntu0.22.04.1",
            "libssh-4-dbgsym": "0.9.6-2ubuntu0.22.04.1",
            "libssh-doc": "0.9.6-2ubuntu0.22.04.1",
            "libssh-4": "0.9.6-2ubuntu0.22.04.1"
        }
    ]
}