USN-6561-1

Source
https://ubuntu.com/security/notices/USN-6561-1
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-6561-1.json
JSON Data
https://api.osv.dev/v1/vulns/USN-6561-1
Related
Published
2023-12-19T13:08:22.898239Z
Modified
2023-12-19T13:08:22.898239Z
Summary
libssh vulnerability
Details

Fabian Bäumer, Marcus Brinkmann, Jörg Schwenk discovered that the SSH protocol was vulnerable to a prefix truncation attack. If a remote attacker was able to intercept SSH communications, extension negotiation messages could be truncated, possibly leading to certain algorithms and features being downgraded. This issue is known as the Terrapin attack. This update adds protocol extensions to mitigate this issue.

References

Affected packages

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.4

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

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "0.9.3-2ubuntu2.4",
            "binary_name": "libssh-4"
        },
        {
            "binary_version": "0.9.3-2ubuntu2.4",
            "binary_name": "libssh-4-dbgsym"
        },
        {
            "binary_version": "0.9.3-2ubuntu2.4",
            "binary_name": "libssh-dev"
        },
        {
            "binary_version": "0.9.3-2ubuntu2.4",
            "binary_name": "libssh-doc"
        },
        {
            "binary_version": "0.9.3-2ubuntu2.4",
            "binary_name": "libssh-gcrypt-4"
        },
        {
            "binary_version": "0.9.3-2ubuntu2.4",
            "binary_name": "libssh-gcrypt-4-dbgsym"
        },
        {
            "binary_version": "0.9.3-2ubuntu2.4",
            "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.2

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

Ecosystem specific

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

Ubuntu:23.10 / libssh

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.10.5-3ubuntu1.1

Affected versions

0.*

0.10.4-2
0.10.5-3ubuntu1

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "0.10.5-3ubuntu1.1",
            "binary_name": "libssh-4"
        },
        {
            "binary_version": "0.10.5-3ubuntu1.1",
            "binary_name": "libssh-4-dbgsym"
        },
        {
            "binary_version": "0.10.5-3ubuntu1.1",
            "binary_name": "libssh-dev"
        },
        {
            "binary_version": "0.10.5-3ubuntu1.1",
            "binary_name": "libssh-doc"
        },
        {
            "binary_version": "0.10.5-3ubuntu1.1",
            "binary_name": "libssh-gcrypt-4"
        },
        {
            "binary_version": "0.10.5-3ubuntu1.1",
            "binary_name": "libssh-gcrypt-4-dbgsym"
        },
        {
            "binary_version": "0.10.5-3ubuntu1.1",
            "binary_name": "libssh-gcrypt-dev"
        }
    ]
}