UBUNTU-CVE-2023-6918

Source
https://ubuntu.com/security/CVE-2023-6918
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-6918.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2023-6918
Related
Published
2023-12-19T00:15:00Z
Modified
2024-11-20T12:24:13Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L CVSS Calculator
Summary
[none]
Details

A flaw was found in the libssh implements abstract layer for message digest (MD) operations implemented by different supported crypto backends. The return values from these were not properly checked, which could cause low-memory situations failures, NULL dereferences, crashes, or usage of the uninitialized memory as an input for the KDF. In this case, non-matching keys will result in decryption/integrity failures, terminating the connection.

References

Affected packages

Ubuntu:Pro:16.04:LTS / libssh

Package

Name
libssh
Purl
pkg:deb/ubuntu/libssh?arch=src?distro=esm-infra/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.6.3-4.3ubuntu0.6+esm1

Affected versions

0.*

0.6.3-3ubuntu3
0.6.3-4.1
0.6.3-4.2
0.6.3-4.2ubuntu1
0.6.3-4.3
0.6.3-4.3ubuntu0.1
0.6.3-4.3ubuntu0.2
0.6.3-4.3ubuntu0.5
0.6.3-4.3ubuntu0.6

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "0.6.3-4.3ubuntu0.6+esm1",
            "binary_name": "libssh-4"
        },
        {
            "binary_version": "0.6.3-4.3ubuntu0.6+esm1",
            "binary_name": "libssh-4-dbgsym"
        },
        {
            "binary_version": "0.6.3-4.3ubuntu0.6+esm1",
            "binary_name": "libssh-dbg"
        },
        {
            "binary_version": "0.6.3-4.3ubuntu0.6+esm1",
            "binary_name": "libssh-dev"
        },
        {
            "binary_version": "0.6.3-4.3ubuntu0.6+esm1",
            "binary_name": "libssh-dev-dbgsym"
        },
        {
            "binary_version": "0.6.3-4.3ubuntu0.6+esm1",
            "binary_name": "libssh-doc"
        },
        {
            "binary_version": "0.6.3-4.3ubuntu0.6+esm1",
            "binary_name": "libssh-gcrypt-4"
        },
        {
            "binary_version": "0.6.3-4.3ubuntu0.6+esm1",
            "binary_name": "libssh-gcrypt-4-dbgsym"
        },
        {
            "binary_version": "0.6.3-4.3ubuntu0.6+esm1",
            "binary_name": "libssh-gcrypt-dev"
        },
        {
            "binary_version": "0.6.3-4.3ubuntu0.6+esm1",
            "binary_name": "libssh-gcrypt-dev-dbgsym"
        }
    ]
}

Ubuntu:Pro:18.04:LTS / libssh

Package

Name
libssh
Purl
pkg:deb/ubuntu/libssh?arch=src?distro=esm-infra/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.8.0~20170825.94fa1e38-1ubuntu0.7+esm3

Affected versions

0.*

0.7.5-1
0.8.0~20170825.94fa1e38-1
0.8.0~20170825.94fa1e38-1build1
0.8.0~20170825.94fa1e38-1ubuntu0.1
0.8.0~20170825.94fa1e38-1ubuntu0.2
0.8.0~20170825.94fa1e38-1ubuntu0.5
0.8.0~20170825.94fa1e38-1ubuntu0.6
0.8.0~20170825.94fa1e38-1ubuntu0.7

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "0.8.0~20170825.94fa1e38-1ubuntu0.7+esm3",
            "binary_name": "libssh-4"
        },
        {
            "binary_version": "0.8.0~20170825.94fa1e38-1ubuntu0.7+esm3",
            "binary_name": "libssh-4-dbgsym"
        },
        {
            "binary_version": "0.8.0~20170825.94fa1e38-1ubuntu0.7+esm3",
            "binary_name": "libssh-dev"
        },
        {
            "binary_version": "0.8.0~20170825.94fa1e38-1ubuntu0.7+esm3",
            "binary_name": "libssh-doc"
        },
        {
            "binary_version": "0.8.0~20170825.94fa1e38-1ubuntu0.7+esm3",
            "binary_name": "libssh-gcrypt-4"
        },
        {
            "binary_version": "0.8.0~20170825.94fa1e38-1ubuntu0.7+esm3",
            "binary_name": "libssh-gcrypt-4-dbgsym"
        },
        {
            "binary_version": "0.8.0~20170825.94fa1e38-1ubuntu0.7+esm3",
            "binary_name": "libssh-gcrypt-dev"
        }
    ]
}

Ubuntu:20.04:LTS / libssh

Package

Name
libssh
Purl
pkg:deb/ubuntu/libssh?arch=src?distro=focal

Affected ranges

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

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
0.9.3-2ubuntu2.3
0.9.3-2ubuntu2.4

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "0.9.3-2ubuntu2.5",
            "binary_name": "libssh-4"
        },
        {
            "binary_version": "0.9.3-2ubuntu2.5",
            "binary_name": "libssh-4-dbgsym"
        },
        {
            "binary_version": "0.9.3-2ubuntu2.5",
            "binary_name": "libssh-dev"
        },
        {
            "binary_version": "0.9.3-2ubuntu2.5",
            "binary_name": "libssh-doc"
        },
        {
            "binary_version": "0.9.3-2ubuntu2.5",
            "binary_name": "libssh-gcrypt-4"
        },
        {
            "binary_version": "0.9.3-2ubuntu2.5",
            "binary_name": "libssh-gcrypt-4-dbgsym"
        },
        {
            "binary_version": "0.9.3-2ubuntu2.5",
            "binary_name": "libssh-gcrypt-dev"
        }
    ]
}

Ubuntu:22.04:LTS / libssh

Package

Name
libssh
Purl
pkg:deb/ubuntu/libssh?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.3

Affected versions

0.*

0.9.6-1
0.9.6-1build1
0.9.6-2
0.9.6-2build1
0.9.6-2ubuntu0.22.04.1
0.9.6-2ubuntu0.22.04.2

Ecosystem specific

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