{"id":"CVE-2018-20685","published":"2019-01-10T00:00:00Z","modified":"2025-12-17T21:53:56Z","title":"In OpenSSH 7.9, scp.c in the scp client allows remote SSH servers to bypass intended access restrictions via the…","vendor":null,"product":null,"tier":"core","eol":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-12-17T21:53:24.729008Z","from":"CISA ADP","provenance":"source"},"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":null,"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.03681,"percentile":0.89946,"date":"2026-11-20","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2020-07-19","exploitedFirstSeen":"2020-07-19","ransomware":true,"evidence":[{"url":"https://cybersecurityworks.com/blog/cyber-risk/how-safe-are-enterprise-data-storage-systems.html","date":"2020-07-19"},{"url":"https://cybersecurityworks.com/blog/ransomware/cyber-hygiene-ransomware-is-causing-critical-care-disruption-in-hospitals.html","date":"2020-10-15"},{"url":"https://cybersecurity.bd.com/bulletins-and-patches/ryuk-ransomware","date":"2020-10-30"},{"url":"https://cybersecurityworks.com/blog/ransomware/ryuk-raising-the-temperature-in-healthcare.html","date":"2020-11-02"},{"url":"https://info.securin.io/hubfs/Securin%20Ransomware%20Report%202023.pdf","date":"2023-02-14"}],"evidenceTotal":5,"provenance":"source"},"exploited":true,"otx":{"pulseCount":1,"pulses":[{"name":"216.70.102.87  accessdomain.com   64.207.129.182","url":"https://otx.alienvault.com/pulse/67eca9b9739aeabdab40759b","created":"2025-04-02"}],"provenance":"machine"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"}],"references":[{"url":"https://www.debian.org/security/2019/dsa-4387","tags":["vendor-advisory"]},{"url":"https://usn.ubuntu.com/3885-1/","tags":["vendor-advisory"]},{"url":"https://github.com/openssh/openssh-portable/commit/6010c0303a422a9c5fa8860c061bf7105eb7f8b2","tags":[]},{"url":"https://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/ssh/scp.c.diff?r1=1.197&r2=1.198&f=h","tags":[]},{"url":"https://security.netapp.com/advisory/ntap-20190215-0001/","tags":[]},{"url":"http://www.securityfocus.com/bid/106531","tags":["vdb-entry"]},{"url":"https://sintonen.fi/advisories/scp-client-multiple-vulnerabilities.txt","tags":[]},{"url":"https://security.gentoo.org/glsa/201903-16","tags":["vendor-advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/03/msg00030.html","tags":["mailing-list"]},{"url":"https://www.oracle.com/technetwork/security-advisory/cpuapr2019-5072813.html","tags":[]},{"url":"https://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.html","tags":[]},{"url":"https://access.redhat.com/errata/RHSA-2019:3702","tags":["vendor-advisory"]},{"url":"https://security.gentoo.org/glsa/202007-53","tags":["vendor-advisory"]},{"url":"https://cert-portal.siemens.com/productcert/pdf/ssa-412672.pdf","tags":[]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2018-13232","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2018-13232","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":null,"exploitRefs":[],"flow":[],"timeline":[{"date":"2019-01-10","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2018-20685","provenance":"source"},{"date":"2020-07-19","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://cybersecurityworks.com/blog/cyber-risk/how-safe-are-enterprise-data-storage-systems.html","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":null,"daysToKev":null},"priority":{"score":67.4,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 2316 days ago"},{"name":"Known ransomware use","points":10.0,"detail":"VulnCheck KEV: Known"},{"name":"EPSS percentile","points":17.99,"detail":"percentile 0.8995"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":0.0,"detail":"none found"},{"name":"Mentioned in OTX pulses","points":0.68,"detail":"1 pulse"},{"name":"CVSS severity","points":3.71,"detail":"base score 5.3"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]},"lineage":{"familyId":"fam-cve-2018-20685-family-cve-2018-20685","children":[{"from":"CVE-2018-20685","to":"CVE-2020-12062","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["scp.c"],"commits":["https://github.com/openssh/openssh-portable/commit/6010c0303a422a9c5fa8860c061bf7105eb7f8b2","https://github.com/openssh/openssh-portable/commit/955854cafca88e0cdcd3d09ca1ad4ada465364a1","https://github.com/openssh/openssh-portable/commit/aad87b88fc2536b1ea023213729aaf4eaabe1894"],"basis":"shared function","functions":["sink"]}]},{"from":"CVE-2018-20685","to":"CVE-2019-25018","relation":"related","confidence":"low","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"related","quote":"In the rcp client in MIT krb5-appl through 1.0.3, malicious servers could bypass intended access restrictions via the filename of . or an empty filename, similar to CVE-2018-20685 and CVE-2019-7282.","from":"CVE.org","in":"CVE-2019-25018"}]},{"from":"CVE-2018-20685","to":"CVE-2019-7282","relation":"related","confidence":"low","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"related","quote":"This is similar to CVE-2018-20685.","from":"CVE.org","in":"CVE-2019-7282"}]},{"from":"CVE-2018-20685","to":"CVE-2020-36254","relation":"related","confidence":"low","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"related","quote":"scp.c in Dropbear before 2020.79 mishandles the filename of . or an empty filename, a related issue to CVE-2018-20685.","from":"CVE.org","in":"CVE-2020-36254"}]}]}}