{
    "CVE_data_meta": {
        "ASSIGNER": "cve@mitre.org",
        "ID": "CVE-2023-51385",
        "STATE": "PUBLIC"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "n/a",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "n/a"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "n/a"
                }
            ]
        }
    },
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "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."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "n/a"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "url": "https://www.openssh.com/txt/release-9.6",
                "refsource": "MISC",
                "name": "https://www.openssh.com/txt/release-9.6"
            },
            {
                "url": "https://www.openwall.com/lists/oss-security/2023/12/18/2",
                "refsource": "MISC",
                "name": "https://www.openwall.com/lists/oss-security/2023/12/18/2"
            },
            {
                "refsource": "MISC",
                "name": "https://github.com/openssh/openssh-portable/commit/7ef3787c84b6b524501211b11a26c742f829af1a",
                "url": "https://github.com/openssh/openssh-portable/commit/7ef3787c84b6b524501211b11a26c742f829af1a"
            },
            {
                "refsource": "DEBIAN",
                "name": "DSA-5586",
                "url": "https://www.debian.org/security/2023/dsa-5586"
            },
            {
                "refsource": "MISC",
                "name": "https://vin01.github.io/piptagole/ssh/security/openssh/libssh/remote-code-execution/2023/12/20/openssh-proxycommand-libssh-rce.html",
                "url": "https://vin01.github.io/piptagole/ssh/security/openssh/libssh/remote-code-execution/2023/12/20/openssh-proxycommand-libssh-rce.html"
            },
            {
                "refsource": "MLIST",
                "name": "[debian-lts-announce] 20231226 [SECURITY] [DLA 3694-1] openssh security update",
                "url": "https://lists.debian.org/debian-lts-announce/2023/12/msg00017.html"
            },
            {
                "refsource": "MLIST",
                "name": "[oss-security] 20231226 CVE-2023-51385, CVE-2023-6004: OpenSSH, libssh: Security weakness in ProxyCommand handling",
                "url": "http://www.openwall.com/lists/oss-security/2023/12/26/4"
            },
            {
                "refsource": "GENTOO",
                "name": "GLSA-202312-17",
                "url": "https://security.gentoo.org/glsa/202312-17"
            },
            {
                "refsource": "CONFIRM",
                "name": "https://security.netapp.com/advisory/ntap-20240105-0005/",
                "url": "https://security.netapp.com/advisory/ntap-20240105-0005/"
            },
            {
                "refsource": "CONFIRM",
                "name": "https://support.apple.com/kb/HT214084",
                "url": "https://support.apple.com/kb/HT214084"
            },
            {
                "refsource": "FULLDISC",
                "name": "20240313 APPLE-SA-03-07-2024-2 macOS Sonoma 14.4",
                "url": "http://seclists.org/fulldisclosure/2024/Mar/21"
            }
        ]
    }
}