{
    "CVE_data_meta": {
        "ASSIGNER": "cve@mitre.org",
        "ID": "CVE-2018-20685",
        "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 OpenSSH 7.9, scp.c in the scp client allows remote SSH servers to bypass intended access restrictions via the filename of . or an empty filename. The impact is modifying the permissions of the target directory on the client side."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "n/a"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "DSA-4387",
                "refsource": "DEBIAN",
                "url": "https://www.debian.org/security/2019/dsa-4387"
            },
            {
                "name": "USN-3885-1",
                "refsource": "UBUNTU",
                "url": "https://usn.ubuntu.com/3885-1/"
            },
            {
                "name": "https://github.com/openssh/openssh-portable/commit/6010c0303a422a9c5fa8860c061bf7105eb7f8b2",
                "refsource": "MISC",
                "url": "https://github.com/openssh/openssh-portable/commit/6010c0303a422a9c5fa8860c061bf7105eb7f8b2"
            },
            {
                "name": "https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/scp.c.diff?r1=1.197&r2=1.198&f=h",
                "refsource": "MISC",
                "url": "https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/scp.c.diff?r1=1.197&r2=1.198&f=h"
            },
            {
                "name": "https://security.netapp.com/advisory/ntap-20190215-0001/",
                "refsource": "CONFIRM",
                "url": "https://security.netapp.com/advisory/ntap-20190215-0001/"
            },
            {
                "name": "106531",
                "refsource": "BID",
                "url": "http://www.securityfocus.com/bid/106531"
            },
            {
                "name": "https://sintonen.fi/advisories/scp-client-multiple-vulnerabilities.txt",
                "refsource": "MISC",
                "url": "https://sintonen.fi/advisories/scp-client-multiple-vulnerabilities.txt"
            },
            {
                "refsource": "GENTOO",
                "name": "GLSA-201903-16",
                "url": "https://security.gentoo.org/glsa/201903-16"
            },
            {
                "refsource": "MLIST",
                "name": "[debian-lts-announce] 20190325 [SECURITY] [DLA 1728-1] openssh security update",
                "url": "https://lists.debian.org/debian-lts-announce/2019/03/msg00030.html"
            },
            {
                "url": "https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html",
                "refsource": "MISC",
                "name": "https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html"
            },
            {
                "url": "https://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.html",
                "refsource": "MISC",
                "name": "https://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.html"
            },
            {
                "refsource": "REDHAT",
                "name": "RHSA-2019:3702",
                "url": "https://access.redhat.com/errata/RHSA-2019:3702"
            },
            {
                "refsource": "GENTOO",
                "name": "GLSA-202007-53",
                "url": "https://security.gentoo.org/glsa/202007-53"
            },
            {
                "refsource": "CONFIRM",
                "name": "https://cert-portal.siemens.com/productcert/pdf/ssa-412672.pdf",
                "url": "https://cert-portal.siemens.com/productcert/pdf/ssa-412672.pdf"
            }
        ]
    }
}