{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "state": "PUBLISHED",
        "cveId": "CVE-2018-20685",
        "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
        "assignerShortName": "mitre",
        "dateUpdated": "2025-12-17T21:53:56.287Z",
        "dateReserved": "2019-01-10T00:00:00.000Z",
        "datePublished": "2019-01-10T00:00:00.000Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
                "shortName": "mitre",
                "dateUpdated": "2022-12-13T00:00:00.000Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "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."
                }
            ],
            "affected": [
                {
                    "vendor": "n/a",
                    "product": "n/a",
                    "versions": [
                        {
                            "version": "n/a",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "name": "DSA-4387",
                    "tags": [
                        "vendor-advisory"
                    ],
                    "url": "https://www.debian.org/security/2019/dsa-4387"
                },
                {
                    "name": "USN-3885-1",
                    "tags": [
                        "vendor-advisory"
                    ],
                    "url": "https://usn.ubuntu.com/3885-1/"
                },
                {
                    "url": "https://github.com/openssh/openssh-portable/commit/6010c0303a422a9c5fa8860c061bf7105eb7f8b2"
                },
                {
                    "url": "https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/scp.c.diff?r1=1.197&r2=1.198&f=h"
                },
                {
                    "url": "https://security.netapp.com/advisory/ntap-20190215-0001/"
                },
                {
                    "name": "106531",
                    "tags": [
                        "vdb-entry"
                    ],
                    "url": "http://www.securityfocus.com/bid/106531"
                },
                {
                    "url": "https://sintonen.fi/advisories/scp-client-multiple-vulnerabilities.txt"
                },
                {
                    "name": "GLSA-201903-16",
                    "tags": [
                        "vendor-advisory"
                    ],
                    "url": "https://security.gentoo.org/glsa/201903-16"
                },
                {
                    "name": "[debian-lts-announce] 20190325 [SECURITY] [DLA 1728-1] openssh security update",
                    "tags": [
                        "mailing-list"
                    ],
                    "url": "https://lists.debian.org/debian-lts-announce/2019/03/msg00030.html"
                },
                {
                    "url": "https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html"
                },
                {
                    "url": "https://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.html"
                },
                {
                    "name": "RHSA-2019:3702",
                    "tags": [
                        "vendor-advisory"
                    ],
                    "url": "https://access.redhat.com/errata/RHSA-2019:3702"
                },
                {
                    "name": "GLSA-202007-53",
                    "tags": [
                        "vendor-advisory"
                    ],
                    "url": "https://security.gentoo.org/glsa/202007-53"
                },
                {
                    "url": "https://cert-portal.siemens.com/productcert/pdf/ssa-412672.pdf"
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "type": "text",
                            "lang": "en",
                            "description": "n/a"
                        }
                    ]
                }
            ],
            "datePublic": "2019-01-10T00:00:00.000Z"
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-05T12:05:17.712Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "name": "DSA-4387",
                        "tags": [
                            "vendor-advisory",
                            "x_transferred"
                        ],
                        "url": "https://www.debian.org/security/2019/dsa-4387"
                    },
                    {
                        "name": "USN-3885-1",
                        "tags": [
                            "vendor-advisory",
                            "x_transferred"
                        ],
                        "url": "https://usn.ubuntu.com/3885-1/"
                    },
                    {
                        "url": "https://github.com/openssh/openssh-portable/commit/6010c0303a422a9c5fa8860c061bf7105eb7f8b2",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/scp.c.diff?r1=1.197&r2=1.198&f=h",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://security.netapp.com/advisory/ntap-20190215-0001/",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "name": "106531",
                        "tags": [
                            "vdb-entry",
                            "x_transferred"
                        ],
                        "url": "http://www.securityfocus.com/bid/106531"
                    },
                    {
                        "url": "https://sintonen.fi/advisories/scp-client-multiple-vulnerabilities.txt",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "name": "GLSA-201903-16",
                        "tags": [
                            "vendor-advisory",
                            "x_transferred"
                        ],
                        "url": "https://security.gentoo.org/glsa/201903-16"
                    },
                    {
                        "name": "[debian-lts-announce] 20190325 [SECURITY] [DLA 1728-1] openssh security update",
                        "tags": [
                            "mailing-list",
                            "x_transferred"
                        ],
                        "url": "https://lists.debian.org/debian-lts-announce/2019/03/msg00030.html"
                    },
                    {
                        "url": "https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.html",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "name": "RHSA-2019:3702",
                        "tags": [
                            "vendor-advisory",
                            "x_transferred"
                        ],
                        "url": "https://access.redhat.com/errata/RHSA-2019:3702"
                    },
                    {
                        "name": "GLSA-202007-53",
                        "tags": [
                            "vendor-advisory",
                            "x_transferred"
                        ],
                        "url": "https://security.gentoo.org/glsa/202007-53"
                    },
                    {
                        "url": "https://cert-portal.siemens.com/productcert/pdf/ssa-412672.pdf",
                        "tags": [
                            "x_transferred"
                        ]
                    }
                ]
            },
            {
                "problemTypes": [
                    {
                        "descriptions": [
                            {
                                "type": "CWE",
                                "cweId": "CWE-863",
                                "lang": "en",
                                "description": "CWE-863 Incorrect Authorization"
                            }
                        ]
                    }
                ],
                "metrics": [
                    {
                        "cvssV3_1": {
                            "scope": "UNCHANGED",
                            "version": "3.1",
                            "baseScore": 5.3,
                            "attackVector": "NETWORK",
                            "baseSeverity": "MEDIUM",
                            "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N",
                            "integrityImpact": "HIGH",
                            "userInteraction": "REQUIRED",
                            "attackComplexity": "HIGH",
                            "availabilityImpact": "NONE",
                            "privilegesRequired": "NONE",
                            "confidentialityImpact": "NONE"
                        }
                    },
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2025-12-17T21:53:24.729008Z",
                                "id": "CVE-2018-20685",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2025-12-17T21:53:56.287Z"
                }
            }
        ]
    }
}