USN-6592-1

Source
https://ubuntu.com/security/notices/USN-6592-1
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-6592-1.json
JSON Data
https://api.osv.dev/v1/vulns/USN-6592-1
Upstream
Related
Published
2024-01-22T13:05:30.960727Z
Modified
2025-10-13T04:36:44Z
Summary
libssh vulnerabilities
Details

It was discovered that libssh incorrectly handled the ProxyCommand and the ProxyJump features. A remote attacker could possibly use this issue to inject malicious code into the command of the features mentioned through the hostname parameter. (CVE-2023-6004)

It was discovered that libssh incorrectly handled return codes when performing message digest operations. A remote attacker could possibly use this issue to cause libssh to crash, obtain sensitive information, or execute arbitrary code. (CVE-2023-6918)

References

Affected packages

Ubuntu:20.04:LTS / libssh

Package

Name
libssh
Purl
pkg:deb/ubuntu/libssh@0.9.3-2ubuntu2.5?arch=source&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",
    "binaries": [
        {
            "binary_name": "libssh-4",
            "binary_version": "0.9.3-2ubuntu2.5"
        },
        {
            "binary_name": "libssh-dev",
            "binary_version": "0.9.3-2ubuntu2.5"
        },
        {
            "binary_name": "libssh-gcrypt-4",
            "binary_version": "0.9.3-2ubuntu2.5"
        },
        {
            "binary_name": "libssh-gcrypt-dev",
            "binary_version": "0.9.3-2ubuntu2.5"
        }
    ]
}

Database specific

cves_map

{
    "ecosystem": "Ubuntu:20.04:LTS",
    "cves": [
        {
            "id": "CVE-2023-6004",
            "severity": [
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L"
                },
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L"
                },
                {
                    "type": "Ubuntu",
                    "score": "medium"
                }
            ]
        },
        {
            "id": "CVE-2023-6918",
            "severity": [
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
                },
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L"
                },
                {
                    "type": "Ubuntu",
                    "score": "medium"
                }
            ]
        }
    ]
}

Ubuntu:22.04:LTS / libssh

Package

Name
libssh
Purl
pkg:deb/ubuntu/libssh@0.9.6-2ubuntu0.22.04.3?arch=source&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",
    "binaries": [
        {
            "binary_name": "libssh-4",
            "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-gcrypt-4",
            "binary_version": "0.9.6-2ubuntu0.22.04.3"
        },
        {
            "binary_name": "libssh-gcrypt-dev",
            "binary_version": "0.9.6-2ubuntu0.22.04.3"
        }
    ]
}

Database specific

cves_map

{
    "ecosystem": "Ubuntu:22.04:LTS",
    "cves": [
        {
            "id": "CVE-2023-6004",
            "severity": [
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L"
                },
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L"
                },
                {
                    "type": "Ubuntu",
                    "score": "medium"
                }
            ]
        },
        {
            "id": "CVE-2023-6918",
            "severity": [
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
                },
                {
                    "type": "CVSS_V3",
                    "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L"
                },
                {
                    "type": "Ubuntu",
                    "score": "medium"
                }
            ]
        }
    ]
}