USN-6565-1

Source
https://ubuntu.com/security/notices/USN-6565-1
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-6565-1.json
JSON Data
https://api.osv.dev/v1/vulns/USN-6565-1
Related
Published
2024-01-03T18:00:01.485648Z
Modified
2024-01-03T18:00:01.485648Z
Summary
openssh vulnerabilities
Details

It was discovered that OpenSSH incorrectly handled supplemental groups when running helper programs for AuthorizedKeysCommand and AuthorizedPrincipalsCommand as a different user. An attacker could possibly use this issue to escalate privileges. This issue only affected Ubuntu 20.04 LTS. (CVE-2021-41617)

It was discovered that OpenSSH incorrectly added destination constraints when PKCS#11 token keys were added to ssh-agent, contrary to expectations. This issue only affected Ubuntu 22.04 LTS, and Ubuntu 23.04. (CVE-2023-51384)

It was discovered that OpenSSH incorrectly handled user names or host names with shell metacharacters. An attacker could possibly use this issue to perform OS command injection. (CVE-2023-51385)

References

Affected packages

Ubuntu:20.04:LTS / openssh

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:8.2p1-4ubuntu0.11

Affected versions

1:8.*

1:8.0p1-6build1
1:8.1p1-1
1:8.1p1-5
1:8.2p1-4
1:8.2p1-4ubuntu0.1
1:8.2p1-4ubuntu0.2
1:8.2p1-4ubuntu0.3
1:8.2p1-4ubuntu0.4
1:8.2p1-4ubuntu0.5
1:8.2p1-4ubuntu0.7
1:8.2p1-4ubuntu0.8
1:8.2p1-4ubuntu0.9
1:8.2p1-4ubuntu0.10

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "1:8.2p1-4ubuntu0.11",
            "binary_name": "openssh-client"
        },
        {
            "binary_version": "1:8.2p1-4ubuntu0.11",
            "binary_name": "openssh-client-dbgsym"
        },
        {
            "binary_version": "1:8.2p1-4ubuntu0.11",
            "binary_name": "openssh-client-udeb"
        },
        {
            "binary_version": "1:8.2p1-4ubuntu0.11",
            "binary_name": "openssh-server"
        },
        {
            "binary_version": "1:8.2p1-4ubuntu0.11",
            "binary_name": "openssh-server-dbgsym"
        },
        {
            "binary_version": "1:8.2p1-4ubuntu0.11",
            "binary_name": "openssh-server-udeb"
        },
        {
            "binary_version": "1:8.2p1-4ubuntu0.11",
            "binary_name": "openssh-sftp-server"
        },
        {
            "binary_version": "1:8.2p1-4ubuntu0.11",
            "binary_name": "openssh-sftp-server-dbgsym"
        },
        {
            "binary_version": "1:8.2p1-4ubuntu0.11",
            "binary_name": "openssh-tests"
        },
        {
            "binary_version": "1:8.2p1-4ubuntu0.11",
            "binary_name": "openssh-tests-dbgsym"
        },
        {
            "binary_version": "1:8.2p1-4ubuntu0.11",
            "binary_name": "ssh"
        },
        {
            "binary_version": "1:8.2p1-4ubuntu0.11",
            "binary_name": "ssh-askpass-gnome"
        },
        {
            "binary_version": "1:8.2p1-4ubuntu0.11",
            "binary_name": "ssh-askpass-gnome-dbgsym"
        }
    ]
}

Ubuntu:22.04:LTS / openssh

Package

Name
openssh
Purl
pkg:deb/ubuntu/openssh?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:8.9p1-3ubuntu0.6

Affected versions

1:8.*

1:8.4p1-6ubuntu2
1:8.7p1-2
1:8.7p1-2build1
1:8.7p1-4
1:8.8p1-1
1:8.9p1-3
1:8.9p1-3ubuntu0.1
1:8.9p1-3ubuntu0.3
1:8.9p1-3ubuntu0.4
1:8.9p1-3ubuntu0.5

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "1:8.9p1-3ubuntu0.6",
            "binary_name": "openssh-client"
        },
        {
            "binary_version": "1:8.9p1-3ubuntu0.6",
            "binary_name": "openssh-client-dbgsym"
        },
        {
            "binary_version": "1:8.9p1-3ubuntu0.6",
            "binary_name": "openssh-server"
        },
        {
            "binary_version": "1:8.9p1-3ubuntu0.6",
            "binary_name": "openssh-server-dbgsym"
        },
        {
            "binary_version": "1:8.9p1-3ubuntu0.6",
            "binary_name": "openssh-sftp-server"
        },
        {
            "binary_version": "1:8.9p1-3ubuntu0.6",
            "binary_name": "openssh-sftp-server-dbgsym"
        },
        {
            "binary_version": "1:8.9p1-3ubuntu0.6",
            "binary_name": "openssh-tests"
        },
        {
            "binary_version": "1:8.9p1-3ubuntu0.6",
            "binary_name": "openssh-tests-dbgsym"
        },
        {
            "binary_version": "1:8.9p1-3ubuntu0.6",
            "binary_name": "ssh"
        },
        {
            "binary_version": "1:8.9p1-3ubuntu0.6",
            "binary_name": "ssh-askpass-gnome"
        },
        {
            "binary_version": "1:8.9p1-3ubuntu0.6",
            "binary_name": "ssh-askpass-gnome-dbgsym"
        }
    ]
}

Ubuntu:23.10 / openssh

Package

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

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:9.3p1-1ubuntu3.2

Affected versions

1:9.*

1:9.0p1-1ubuntu8
1:9.0p1-1ubuntu8.1
1:9.2p1-2ubuntu3
1:9.3p1-1ubuntu1
1:9.3p1-1ubuntu2
1:9.3p1-1ubuntu3
1:9.3p1-1ubuntu3.1

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_version": "1:9.3p1-1ubuntu3.2",
            "binary_name": "openssh-client"
        },
        {
            "binary_version": "1:9.3p1-1ubuntu3.2",
            "binary_name": "openssh-client-dbgsym"
        },
        {
            "binary_version": "1:9.3p1-1ubuntu3.2",
            "binary_name": "openssh-server"
        },
        {
            "binary_version": "1:9.3p1-1ubuntu3.2",
            "binary_name": "openssh-server-dbgsym"
        },
        {
            "binary_version": "1:9.3p1-1ubuntu3.2",
            "binary_name": "openssh-sftp-server"
        },
        {
            "binary_version": "1:9.3p1-1ubuntu3.2",
            "binary_name": "openssh-sftp-server-dbgsym"
        },
        {
            "binary_version": "1:9.3p1-1ubuntu3.2",
            "binary_name": "openssh-tests"
        },
        {
            "binary_version": "1:9.3p1-1ubuntu3.2",
            "binary_name": "openssh-tests-dbgsym"
        },
        {
            "binary_version": "1:9.3p1-1ubuntu3.2",
            "binary_name": "ssh"
        },
        {
            "binary_version": "1:9.3p1-1ubuntu3.2",
            "binary_name": "ssh-askpass-gnome"
        },
        {
            "binary_version": "1:9.3p1-1ubuntu3.2",
            "binary_name": "ssh-askpass-gnome-dbgsym"
        }
    ]
}