ubuntu-cve-2023-51385
Vulnerability from osv_ubuntu
Published
2023-12-20 00:00
Modified
2026-05-20 15:02
Summary
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.


{
  "affected": [
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "openssh-client",
            "binary_version": "1:6.6p1-2ubuntu2.13+esm2"
          },
          {
            "binary_name": "openssh-server",
            "binary_version": "1:6.6p1-2ubuntu2.13+esm2"
          },
          {
            "binary_name": "openssh-sftp-server",
            "binary_version": "1:6.6p1-2ubuntu2.13+esm2"
          },
          {
            "binary_name": "ssh",
            "binary_version": "1:6.6p1-2ubuntu2.13+esm2"
          },
          {
            "binary_name": "ssh-askpass-gnome",
            "binary_version": "1:6.6p1-2ubuntu2.13+esm2"
          },
          {
            "binary_name": "ssh-krb5",
            "binary_version": "1:6.6p1-2ubuntu2.13+esm2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:14.04:LTS",
        "name": "openssh",
        "purl": "pkg:deb/ubuntu/openssh@1:6.6p1-2ubuntu2.13+esm2?arch=source\u0026distro=esm-infra-legacy/trusty"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "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": {
        "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "openssh-client",
            "binary_version": "1:7.2p2-4ubuntu2.10+esm6"
          },
          {
            "binary_name": "openssh-client-ssh1",
            "binary_version": "1:7.2p2-4ubuntu2.10+esm6"
          },
          {
            "binary_name": "openssh-server",
            "binary_version": "1:7.2p2-4ubuntu2.10+esm6"
          },
          {
            "binary_name": "openssh-sftp-server",
            "binary_version": "1:7.2p2-4ubuntu2.10+esm6"
          },
          {
            "binary_name": "ssh",
            "binary_version": "1:7.2p2-4ubuntu2.10+esm6"
          },
          {
            "binary_name": "ssh-askpass-gnome",
            "binary_version": "1:7.2p2-4ubuntu2.10+esm6"
          },
          {
            "binary_name": "ssh-krb5",
            "binary_version": "1:7.2p2-4ubuntu2.10+esm6"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:16.04:LTS",
        "name": "openssh",
        "purl": "pkg:deb/ubuntu/openssh@1:7.2p2-4ubuntu2.10+esm6?arch=source\u0026distro=esm-infra/xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1:7.2p2-4ubuntu2.10+esm6"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:6.9p1-2",
        "1:6.9p1-3",
        "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: https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "openssh-client",
            "binary_version": "1:7.2p2-4ubuntu2.fips.2.10.6"
          },
          {
            "binary_name": "openssh-client-hmac",
            "binary_version": "1:7.2p2-4ubuntu2.fips.2.10.6"
          },
          {
            "binary_name": "openssh-client-ssh1",
            "binary_version": "1:7.2p2-4ubuntu2.fips.2.10.6"
          },
          {
            "binary_name": "openssh-server",
            "binary_version": "1:7.2p2-4ubuntu2.fips.2.10.6"
          },
          {
            "binary_name": "openssh-server-hmac",
            "binary_version": "1:7.2p2-4ubuntu2.fips.2.10.6"
          },
          {
            "binary_name": "openssh-sftp-server",
            "binary_version": "1:7.2p2-4ubuntu2.fips.2.10.6"
          },
          {
            "binary_name": "ssh",
            "binary_version": "1:7.2p2-4ubuntu2.fips.2.10.6"
          },
          {
            "binary_name": "ssh-askpass-gnome",
            "binary_version": "1:7.2p2-4ubuntu2.fips.2.10.6"
          },
          {
            "binary_name": "ssh-krb5",
            "binary_version": "1:7.2p2-4ubuntu2.fips.2.10.6"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:FIPS:16.04:LTS",
        "name": "openssh",
        "purl": "pkg:deb/ubuntu/openssh@1:7.2p2-4ubuntu2.fips.2.10.6?arch=source\u0026distro=fips-updates/xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1:7.2p2-4ubuntu2.fips.2.10.6"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:7.2p2-4ubuntu2.fips.2.2.3",
        "1:7.2p2-4ubuntu2.fips.2.4.1",
        "1:7.2p2-4ubuntu2.fips.2.4.2",
        "1:7.2p2-4ubuntu2.fips.2.8.1",
        "1:7.2p2-4ubuntu2.fips.2.10.1",
        "1:7.2p2-4ubuntu2.fips.2.10.2",
        "1:7.2p2-4ubuntu2.fips.2.10.3",
        "1:7.2p2-4ubuntu2.fips.2.10.4",
        "1:7.2p2-4ubuntu2.fips.2.10.5"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "openssh-client",
            "binary_version": "1:7.2p2-4ubuntu2.fips.2.10.1"
          },
          {
            "binary_name": "openssh-client-hmac",
            "binary_version": "1:7.2p2-4ubuntu2.fips.2.10.1"
          },
          {
            "binary_name": "openssh-client-ssh1",
            "binary_version": "1:7.2p2-4ubuntu2.fips.2.10.1"
          },
          {
            "binary_name": "openssh-server",
            "binary_version": "1:7.2p2-4ubuntu2.fips.2.10.1"
          },
          {
            "binary_name": "openssh-server-hmac",
            "binary_version": "1:7.2p2-4ubuntu2.fips.2.10.1"
          },
          {
            "binary_name": "openssh-sftp-server",
            "binary_version": "1:7.2p2-4ubuntu2.fips.2.10.1"
          },
          {
            "binary_name": "ssh",
            "binary_version": "1:7.2p2-4ubuntu2.fips.2.10.1"
          },
          {
            "binary_name": "ssh-askpass-gnome",
            "binary_version": "1:7.2p2-4ubuntu2.fips.2.10.1"
          },
          {
            "binary_name": "ssh-krb5",
            "binary_version": "1:7.2p2-4ubuntu2.fips.2.10.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:FIPS:16.04:LTS",
        "name": "openssh",
        "purl": "pkg:deb/ubuntu/openssh@1:7.2p2-4ubuntu2.fips.2.10.1?arch=source\u0026distro=fips/xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:7.2p2-4ubuntu2.fips.2.2",
        "1:7.2p2-4ubuntu2.fips.2.2.1",
        "1:7.2p2-4ubuntu2.fips.2.10.1"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "openssh-client",
            "binary_version": "1:7.6p1-4ubuntu0.7+esm3"
          },
          {
            "binary_name": "openssh-server",
            "binary_version": "1:7.6p1-4ubuntu0.7+esm3"
          },
          {
            "binary_name": "openssh-sftp-server",
            "binary_version": "1:7.6p1-4ubuntu0.7+esm3"
          },
          {
            "binary_name": "ssh",
            "binary_version": "1:7.6p1-4ubuntu0.7+esm3"
          },
          {
            "binary_name": "ssh-askpass-gnome",
            "binary_version": "1:7.6p1-4ubuntu0.7+esm3"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:18.04:LTS",
        "name": "openssh",
        "purl": "pkg:deb/ubuntu/openssh@1:7.6p1-4ubuntu0.7+esm3?arch=source\u0026distro=esm-infra/bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1:7.6p1-4ubuntu0.7+esm3"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "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": {
        "binaries": [
          {
            "binary_name": "openssh-client-ssh1",
            "binary_version": "1:7.5p1-10"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:18.04:LTS",
        "name": "openssh-ssh1",
        "purl": "pkg:deb/ubuntu/openssh-ssh1@1:7.5p1-10?arch=source\u0026distro=bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:7.5p1-8",
        "1:7.5p1-9",
        "1:7.5p1-9build1",
        "1:7.5p1-10"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "openssh-client",
            "binary_version": "1:7.9p1-10~ubuntu18.04.fips.0.9"
          },
          {
            "binary_name": "openssh-client-hmac",
            "binary_version": "1:7.9p1-10~ubuntu18.04.fips.0.9"
          },
          {
            "binary_name": "openssh-server",
            "binary_version": "1:7.9p1-10~ubuntu18.04.fips.0.9"
          },
          {
            "binary_name": "openssh-server-hmac",
            "binary_version": "1:7.9p1-10~ubuntu18.04.fips.0.9"
          },
          {
            "binary_name": "openssh-sftp-server",
            "binary_version": "1:7.9p1-10~ubuntu18.04.fips.0.9"
          },
          {
            "binary_name": "openssh-tests",
            "binary_version": "1:7.9p1-10~ubuntu18.04.fips.0.9"
          },
          {
            "binary_name": "ssh",
            "binary_version": "1:7.9p1-10~ubuntu18.04.fips.0.9"
          },
          {
            "binary_name": "ssh-askpass-gnome",
            "binary_version": "1:7.9p1-10~ubuntu18.04.fips.0.9"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:FIPS-updates:18.04:LTS",
        "name": "openssh",
        "purl": "pkg:deb/ubuntu/openssh@1:7.9p1-10~ubuntu18.04.fips.0.9?arch=source\u0026distro=fips-updates/bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1:7.9p1-10~ubuntu18.04.fips.0.9"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:7.9p1-10~ubuntu18.04.fips.0.1",
        "1:7.9p1-10~ubuntu18.04.fips.0.2",
        "1:7.9p1-10~ubuntu18.04.fips.0.3",
        "1:7.9p1-10~ubuntu18.04.fips.0.4",
        "1:7.9p1-10~ubuntu18.04.fips.0.5",
        "1:7.9p1-10~ubuntu18.04.fips.0.6",
        "1:7.9p1-10~ubuntu18.04.fips.0.7",
        "1:7.9p1-10~ubuntu18.04.fips.0.8"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "openssh-client",
            "binary_version": "1:7.9p1-10~ubuntu18.04.fips.0.2"
          },
          {
            "binary_name": "openssh-client-hmac",
            "binary_version": "1:7.9p1-10~ubuntu18.04.fips.0.2"
          },
          {
            "binary_name": "openssh-server",
            "binary_version": "1:7.9p1-10~ubuntu18.04.fips.0.2"
          },
          {
            "binary_name": "openssh-server-hmac",
            "binary_version": "1:7.9p1-10~ubuntu18.04.fips.0.2"
          },
          {
            "binary_name": "openssh-sftp-server",
            "binary_version": "1:7.9p1-10~ubuntu18.04.fips.0.2"
          },
          {
            "binary_name": "openssh-tests",
            "binary_version": "1:7.9p1-10~ubuntu18.04.fips.0.2"
          },
          {
            "binary_name": "ssh",
            "binary_version": "1:7.9p1-10~ubuntu18.04.fips.0.2"
          },
          {
            "binary_name": "ssh-askpass-gnome",
            "binary_version": "1:7.9p1-10~ubuntu18.04.fips.0.2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:FIPS:18.04:LTS",
        "name": "openssh",
        "purl": "pkg:deb/ubuntu/openssh@1:7.9p1-10~ubuntu18.04.fips.0.2?arch=source\u0026distro=fips/bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:7.9p1-10~ubuntu18.04.fips.0.1",
        "1:7.9p1-10~ubuntu18.04.fips.0.2"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "openssh-client",
            "binary_version": "1:8.2p1-4ubuntu0.11"
          },
          {
            "binary_name": "openssh-server",
            "binary_version": "1:8.2p1-4ubuntu0.11"
          },
          {
            "binary_name": "openssh-sftp-server",
            "binary_version": "1:8.2p1-4ubuntu0.11"
          },
          {
            "binary_name": "openssh-tests",
            "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"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "openssh",
        "purl": "pkg:deb/ubuntu/openssh@1:8.2p1-4ubuntu0.11?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1:8.2p1-4ubuntu0.11"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "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": {
        "binaries": [
          {
            "binary_name": "openssh-client-ssh1",
            "binary_version": "1:7.5p1-11build1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "openssh-ssh1",
        "purl": "pkg:deb/ubuntu/openssh-ssh1@1:7.5p1-11build1?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:7.5p1-11build1"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
        "binaries": [
          {
            "binary_name": "openssh-client",
            "binary_version": "1:8.2p1-4ubuntu0.fips.0.11"
          },
          {
            "binary_name": "openssh-server",
            "binary_version": "1:8.2p1-4ubuntu0.fips.0.11"
          },
          {
            "binary_name": "openssh-sftp-server",
            "binary_version": "1:8.2p1-4ubuntu0.fips.0.11"
          },
          {
            "binary_name": "openssh-tests",
            "binary_version": "1:8.2p1-4ubuntu0.fips.0.11"
          },
          {
            "binary_name": "ssh",
            "binary_version": "1:8.2p1-4ubuntu0.fips.0.11"
          },
          {
            "binary_name": "ssh-askpass-gnome",
            "binary_version": "1:8.2p1-4ubuntu0.fips.0.11"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:FIPS-updates:20.04:LTS",
        "name": "openssh",
        "purl": "pkg:deb/ubuntu/openssh@1:8.2p1-4ubuntu0.fips.0.11?arch=source\u0026distro=fips-updates/focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1:8.2p1-4ubuntu0.fips.0.11"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:8.2p1-4ubuntu0.fips.0.2.1",
        "1:8.2p1-4ubuntu0.fips.0.4.0",
        "1:8.2p1-4ubuntu0.fips.0.5.0",
        "1:8.2p1-4ubuntu0.fips.0.7",
        "1:8.2p1-4ubuntu0.fips.0.8",
        "1:8.2p1-4ubuntu0.fips.0.9",
        "1:8.2p1-4ubuntu0.fips.0.10"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "openssh-client",
            "binary_version": "1:8.2p1-4ubuntu0.fips.0.2.1"
          },
          {
            "binary_name": "openssh-server",
            "binary_version": "1:8.2p1-4ubuntu0.fips.0.2.1"
          },
          {
            "binary_name": "openssh-sftp-server",
            "binary_version": "1:8.2p1-4ubuntu0.fips.0.2.1"
          },
          {
            "binary_name": "openssh-tests",
            "binary_version": "1:8.2p1-4ubuntu0.fips.0.2.1"
          },
          {
            "binary_name": "ssh",
            "binary_version": "1:8.2p1-4ubuntu0.fips.0.2.1"
          },
          {
            "binary_name": "ssh-askpass-gnome",
            "binary_version": "1:8.2p1-4ubuntu0.fips.0.2.1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:FIPS:20.04:LTS",
        "name": "openssh",
        "purl": "pkg:deb/ubuntu/openssh@1:8.2p1-4ubuntu0.fips.0.2.1?arch=source\u0026distro=fips/focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:8.2p1-4ubuntu0.fips.0.2.1"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "openssh-client",
            "binary_version": "1:8.9p1-3ubuntu0.6"
          },
          {
            "binary_name": "openssh-server",
            "binary_version": "1:8.9p1-3ubuntu0.6"
          },
          {
            "binary_name": "openssh-sftp-server",
            "binary_version": "1:8.9p1-3ubuntu0.6"
          },
          {
            "binary_name": "openssh-tests",
            "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"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "openssh",
        "purl": "pkg:deb/ubuntu/openssh@1:8.9p1-3ubuntu0.6?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1:8.9p1-3ubuntu0.6"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "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": {
        "binaries": [
          {
            "binary_name": "openssh-client-ssh1",
            "binary_version": "1:7.5p1-13"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "openssh-ssh1",
        "purl": "pkg:deb/ubuntu/openssh-ssh1@1:7.5p1-13?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:7.5p1-12",
        "1:7.5p1-12build1",
        "1:7.5p1-13"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "openssh-client",
            "binary_version": "1:9.6p1-3ubuntu1"
          },
          {
            "binary_name": "openssh-server",
            "binary_version": "1:9.6p1-3ubuntu1"
          },
          {
            "binary_name": "openssh-sftp-server",
            "binary_version": "1:9.6p1-3ubuntu1"
          },
          {
            "binary_name": "openssh-tests",
            "binary_version": "1:9.6p1-3ubuntu1"
          },
          {
            "binary_name": "ssh",
            "binary_version": "1:9.6p1-3ubuntu1"
          },
          {
            "binary_name": "ssh-askpass-gnome",
            "binary_version": "1:9.6p1-3ubuntu1"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "openssh",
        "purl": "pkg:deb/ubuntu/openssh@1:9.6p1-3ubuntu1?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1:9.6p1-3ubuntu1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:9.3p1-1ubuntu3",
        "1:9.4p1-1ubuntu1"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "openssh-client-ssh1",
            "binary_version": "1:7.5p1-16"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:24.04:LTS",
        "name": "openssh-ssh1",
        "purl": "pkg:deb/ubuntu/openssh-ssh1@1:7.5p1-16?arch=source\u0026distro=noble"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:7.5p1-14",
        "1:7.5p1-15",
        "1:7.5p1-15build1",
        "1:7.5p1-16"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "openssh-client-ssh1",
            "binary_version": "1:7.5p1-17"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:25.10",
        "name": "openssh-ssh1",
        "purl": "pkg:deb/ubuntu/openssh-ssh1@1:7.5p1-17?arch=source\u0026distro=questing"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:7.5p1-17"
      ]
    },
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "openssh-client-ssh1",
            "binary_version": "1:7.5p1-18"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:26.04:LTS",
        "name": "openssh-ssh1",
        "purl": "pkg:deb/ubuntu/openssh-ssh1@1:7.5p1-18?arch=source\u0026distro=resolute"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1:7.5p1-17",
        "1:7.5p1-18"
      ]
    }
  ],
  "aliases": [],
  "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.",
  "id": "UBUNTU-CVE-2023-51385",
  "modified": "2026-05-20T15:02:58Z",
  "published": "2023-12-20T00:00:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2023-51385"
    },
    {
      "type": "REPORT",
      "url": "https://www.openwall.com/lists/oss-security/2023/12/18/2"
    },
    {
      "type": "REPORT",
      "url": "https://www.openssh.com/txt/release-9.6"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-6565-1"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-6560-2"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2023-51385"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-6560-3"
    }
  ],
  "related": [
    "USN-6565-1",
    "USN-6560-2",
    "USN-6560-3"
  ],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N",
      "type": "CVSS_V3"
    },
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2023-51385"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…