UBUNTU-CVE-2023-51385

See a problem?
Source
https://ubuntu.com/security/notices/UBUNTU-CVE-2023-51385
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-51385.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2023-51385
Related
Published
2023-12-20T00:00:00Z
Modified
2023-12-20T00: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

In ssh in OpenSSH before 9.6, OS command injection might occur if a user name or host name has shell metacharacters, and this name is referenced by an expansion token in certain situations. For example, an untrusted Git repository can have a submodule with shell metacharacters in a user name or host name.

References

Affected packages

Ubuntu:Pro:14.04:LTS / openssh

Package

Name
openssh

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1:6.*

1:6.2p2-6
1:6.2p2-6ubuntu1
1:6.4p1-1
1:6.4p1-2
1:6.5p1-1
1:6.5p1-2
1:6.5p1-3
1:6.5p1-4
1:6.5p1-6
1:6.6p1-1
1:6.6p1-2
1:6.6p1-2ubuntu1
1:6.6p1-2ubuntu2
1:6.6p1-2ubuntu2.2
1:6.6p1-2ubuntu2.3
1:6.6p1-2ubuntu2.4
1:6.6p1-2ubuntu2.6
1:6.6p1-2ubuntu2.7
1:6.6p1-2ubuntu2.8
1:6.6p1-2ubuntu2.10
1:6.6p1-2ubuntu2.11
1:6.6p1-2ubuntu2.12
1:6.6p1-2ubuntu2.13
1:6.6p1-2ubuntu2.13+esm1
1:6.6p1-2ubuntu2.13+esm2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro:16.04:LTS / openssh

Package

Name
openssh
Purl
pkg:deb/ubuntu/openssh@1:7.2p2-4ubuntu2.10+esm6?arch=src?distro=esm-infra/xenial

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:7.2p2-4ubuntu2.10+esm6

Affected versions

1:6.*

1:6.9p1-2
1:6.9p1-3

1:7.*

1:7.1p1-1
1:7.1p1-3
1:7.1p1-4
1:7.1p1-6
1:7.1p2-1
1:7.1p2-2
1:7.2p1-1
1:7.2p2-1
1:7.2p2-2
1:7.2p2-3
1:7.2p2-4
1:7.2p2-4ubuntu1
1:7.2p2-4ubuntu2.1
1:7.2p2-4ubuntu2.2
1:7.2p2-4ubuntu2.4
1:7.2p2-4ubuntu2.5
1:7.2p2-4ubuntu2.6
1:7.2p2-4ubuntu2.7
1:7.2p2-4ubuntu2.8
1:7.2p2-4ubuntu2.10
1:7.2p2-4ubuntu2.10+esm1
1:7.2p2-4ubuntu2.10+esm2
1:7.2p2-4ubuntu2.10+esm3
1:7.2p2-4ubuntu2.10+esm4
1:7.2p2-4ubuntu2.10+esm5

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "openssh-client-ssh1-dbgsym": "1:7.2p2-4ubuntu2.10+esm6",
            "ssh-askpass-gnome-dbgsym": "1:7.2p2-4ubuntu2.10+esm6",
            "ssh-askpass-gnome": "1:7.2p2-4ubuntu2.10+esm6",
            "openssh-client-udeb-dbgsym": "1:7.2p2-4ubuntu2.10+esm6",
            "openssh-client-ssh1": "1:7.2p2-4ubuntu2.10+esm6",
            "openssh-client-udeb": "1:7.2p2-4ubuntu2.10+esm6",
            "ssh-krb5": "1:7.2p2-4ubuntu2.10+esm6",
            "openssh-server-udeb-dbgsym": "1:7.2p2-4ubuntu2.10+esm6",
            "openssh-client": "1:7.2p2-4ubuntu2.10+esm6",
            "openssh-sftp-server": "1:7.2p2-4ubuntu2.10+esm6",
            "openssh-sftp-server-dbgsym": "1:7.2p2-4ubuntu2.10+esm6",
            "openssh-server": "1:7.2p2-4ubuntu2.10+esm6",
            "openssh-server-udeb": "1:7.2p2-4ubuntu2.10+esm6",
            "openssh-server-dbgsym": "1:7.2p2-4ubuntu2.10+esm6",
            "ssh": "1:7.2p2-4ubuntu2.10+esm6",
            "openssh-client-dbgsym": "1:7.2p2-4ubuntu2.10+esm6"
        }
    ]
}

Ubuntu:Pro:18.04:LTS / openssh

Package

Name
openssh
Purl
pkg:deb/ubuntu/openssh@1:7.6p1-4ubuntu0.7+esm3?arch=src?distro=esm-infra/bionic

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:7.6p1-4ubuntu0.7+esm3

Affected versions

1:7.*

1:7.5p1-10
1:7.6p1-4
1:7.6p1-4ubuntu0.1
1:7.6p1-4ubuntu0.2
1:7.6p1-4ubuntu0.3
1:7.6p1-4ubuntu0.5
1:7.6p1-4ubuntu0.6
1:7.6p1-4ubuntu0.7
1:7.6p1-4ubuntu0.7+esm1
1:7.6p1-4ubuntu0.7+esm2

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "openssh-client": "1:7.6p1-4ubuntu0.7+esm3",
            "ssh-askpass-gnome-dbgsym": "1:7.6p1-4ubuntu0.7+esm3",
            "openssh-sftp-server-dbgsym": "1:7.6p1-4ubuntu0.7+esm3",
            "ssh-askpass-gnome": "1:7.6p1-4ubuntu0.7+esm3",
            "openssh-sftp-server": "1:7.6p1-4ubuntu0.7+esm3",
            "openssh-server-udeb": "1:7.6p1-4ubuntu0.7+esm3",
            "openssh-server": "1:7.6p1-4ubuntu0.7+esm3",
            "openssh-server-dbgsym": "1:7.6p1-4ubuntu0.7+esm3",
            "openssh-client-udeb": "1:7.6p1-4ubuntu0.7+esm3",
            "ssh": "1:7.6p1-4ubuntu0.7+esm3",
            "openssh-client-dbgsym": "1:7.6p1-4ubuntu0.7+esm3"
        }
    ]
}

Ubuntu:Pro:18.04:LTS / openssh-ssh1

Package

Name
openssh-ssh1

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1:7.*

1:7.5p1-8
1:7.5p1-9
1:7.5p1-9build1
1:7.5p1-10

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:20.04:LTS / openssh

Package

Name
openssh
Purl
pkg:deb/ubuntu/openssh@1:8.2p1-4ubuntu0.11?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",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "openssh-client": "1:8.2p1-4ubuntu0.11",
            "ssh-askpass-gnome-dbgsym": "1:8.2p1-4ubuntu0.11",
            "openssh-tests": "1:8.2p1-4ubuntu0.11",
            "openssh-sftp-server-dbgsym": "1:8.2p1-4ubuntu0.11",
            "ssh-askpass-gnome": "1:8.2p1-4ubuntu0.11",
            "openssh-sftp-server": "1:8.2p1-4ubuntu0.11",
            "openssh-tests-dbgsym": "1:8.2p1-4ubuntu0.11",
            "openssh-server-udeb": "1:8.2p1-4ubuntu0.11",
            "openssh-server": "1:8.2p1-4ubuntu0.11",
            "openssh-server-dbgsym": "1:8.2p1-4ubuntu0.11",
            "openssh-client-udeb": "1:8.2p1-4ubuntu0.11",
            "ssh": "1:8.2p1-4ubuntu0.11",
            "openssh-client-dbgsym": "1:8.2p1-4ubuntu0.11"
        }
    ]
}

Ubuntu:20.04:LTS / openssh-ssh1

Package

Name
openssh-ssh1

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1:7.*

1:7.5p1-11build1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:22.04:LTS / openssh

Package

Name
openssh
Purl
pkg:deb/ubuntu/openssh@1:8.9p1-3ubuntu0.6?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",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "openssh-client": "1:8.9p1-3ubuntu0.6",
            "ssh-askpass-gnome-dbgsym": "1:8.9p1-3ubuntu0.6",
            "openssh-tests": "1:8.9p1-3ubuntu0.6",
            "openssh-sftp-server-dbgsym": "1:8.9p1-3ubuntu0.6",
            "ssh-askpass-gnome": "1:8.9p1-3ubuntu0.6",
            "openssh-sftp-server": "1:8.9p1-3ubuntu0.6",
            "openssh-server": "1:8.9p1-3ubuntu0.6",
            "openssh-tests-dbgsym": "1:8.9p1-3ubuntu0.6",
            "openssh-server-dbgsym": "1:8.9p1-3ubuntu0.6",
            "ssh": "1:8.9p1-3ubuntu0.6",
            "openssh-client-dbgsym": "1:8.9p1-3ubuntu0.6"
        }
    ]
}

Ubuntu:22.04:LTS / openssh-ssh1

Package

Name
openssh-ssh1

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1:7.*

1:7.5p1-12
1:7.5p1-12build1
1:7.5p1-13

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.04:LTS / openssh

Package

Name
openssh
Purl
pkg:deb/ubuntu/openssh@1:9.6p1-3ubuntu1?arch=src?distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1:9.6p1-3ubuntu1

Affected versions

1:9.*

1:9.3p1-1ubuntu3
1:9.4p1-1ubuntu1

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "openssh-client": "1:9.6p1-3ubuntu1",
            "ssh-askpass-gnome-dbgsym": "1:9.6p1-3ubuntu1",
            "openssh-tests": "1:9.6p1-3ubuntu1",
            "openssh-sftp-server-dbgsym": "1:9.6p1-3ubuntu1",
            "ssh-askpass-gnome": "1:9.6p1-3ubuntu1",
            "openssh-sftp-server": "1:9.6p1-3ubuntu1",
            "openssh-server": "1:9.6p1-3ubuntu1",
            "openssh-tests-dbgsym": "1:9.6p1-3ubuntu1",
            "openssh-server-dbgsym": "1:9.6p1-3ubuntu1",
            "ssh": "1:9.6p1-3ubuntu1",
            "openssh-client-dbgsym": "1:9.6p1-3ubuntu1"
        }
    ]
}

Ubuntu:24.04:LTS / openssh-ssh1

Package

Name
openssh-ssh1

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1:7.*

1:7.5p1-14
1:7.5p1-15
1:7.5p1-15build1
1:7.5p1-16

Ecosystem specific

{
    "ubuntu_priority": "medium"
}