{"id":"CVE-2019-6111","published":"2019-01-31T00:00:00Z","modified":"2026-10-14T06:49:32Z","title":"An issue was discovered in OpenSSH 7.9","vendor":null,"product":null,"tier":"core","eol":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-12-18T14:34:56.672827Z","from":"CISA ADP","provenance":"source"},"description":{"text":"An issue was discovered in OpenSSH 7.9. Due to the scp implementation being derived from 1983 rcp, the server chooses which files/directories are sent to the client. However, the scp client only performs cursory validation of the object name returned (only directory traversal attacks are prevented). A malicious scp server (or Man-in-The-Middle attacker) can overwrite arbitrary files in the scp client target directory. If recursive operation (-r) is performed, the server can manipulate subdirectories as well (for example, to overwrite the .ssh/authorized_keys file).","provenance":"source","from":"CVE.org"},"summary":{"text":"The flaw is in the scp client of OpenSSH 7.9, whose implementation is derived from the 1983 rcp utility and only partially validates file and directory names supplied by the server. An attacker who controls an scp server, or who can act as a man-in-the-middle, can overwrite arbitrary files in the client's target directory, and with recursive transfers (-r) can also reach subdirectories such as .ssh/authorized_keys, with exploitation requiring network access and a specially crafted server response.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T04:13:19Z"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.58204,"percentile":0.99114,"date":"2026-11-20","provenance":"source"},"kev":null,"vulncheckKev":{"dateAdded":"2020-11-02","exploitedFirstSeen":"2020-11-02","ransomware":true,"evidence":[{"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":2,"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-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"references":[{"url":"https://www.debian.org/security/2019/dsa-4387","tags":["vendor-advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20190213-0001/","tags":[]},{"url":"http://www.securityfocus.com/bid/106741","tags":["vdb-entry"]},{"url":"https://cvsweb.openbsd.org/src/usr.bin/ssh/scp.c","tags":[]},{"url":"https://usn.ubuntu.com/3885-1/","tags":["vendor-advisory"]},{"url":"https://usn.ubuntu.com/3885-2/","tags":["vendor-advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1677794","tags":[]},{"url":"https://sintonen.fi/advisories/scp-client-multiple-vulnerabilities.txt","tags":[]},{"url":"https://www.exploit-db.com/exploits/46193/","tags":["exploit"]},{"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":"http://www.openwall.com/lists/oss-security/2019/04/18/1","tags":["mailing-list"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/W3YVQ2BPTOVDCFDVNC2GGF5P5ISFG37G/","tags":["vendor-advisory"]},{"url":"https://lists.apache.org/thread.html/c45d9bc90700354b58fb7455962873c44229841880dcb64842fa7d23%40%3Cdev.mina.apache.org%3E","tags":["mailing-list"]},{"url":"https://lists.apache.org/thread.html/c7301cab36a86825359e1b725fc40304d1df56dc6d107c1fe885148b%40%3Cdev.mina.apache.org%3E","tags":["mailing-list"]},{"url":"https://lists.apache.org/thread.html/e47597433b351d6e01a5d68d610b4ba195743def9730e49561e8cf3f%40%3Cdev.mina.apache.org%3E","tags":["mailing-list"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00058.html","tags":["vendor-advisory"]},{"url":"https://www.freebsd.org/security/advisories/FreeBSD-EN-19:10.scp.asc","tags":["vendor-advisory"]},{"url":"https://lists.apache.org/thread.html/d540139359de999b0f1c87d05b715be4d7d4bec771e1ae55153c5c7a%40%3Cdev.mina.apache.org%3E","tags":["mailing-list"]},{"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":"http://www.openwall.com/lists/oss-security/2022/08/02/1","tags":["mailing-list"]},{"url":"https://cert-portal.siemens.com/productcert/pdf/ssa-412672.pdf","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-412672.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html","tags":[]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2019-15678","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2019-15678","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[{"id":46193,"url":"https://www.exploit-db.com/exploits/46193","title":"SCP Client - Multiple Vulnerabilities (SSHtranger Things)","type":"remote","platform":"multiple","date":"2019-01-18","verified":false,"provenance":"source"},{"id":46516,"url":"https://www.exploit-db.com/exploits/46516","title":"OpenSSH SCP Client - Write Arbitrary Files","type":"remote","platform":"multiple","date":"2019-01-11","verified":false,"provenance":"source"}],"exploitSources":{"exploitdb":{"count":2,"earliest":"2019-01-11"},"pocGithub":{"count":2,"skipped":0,"earliest":"2020-05-12","earliestUrl":"https://github.com/53n7hu/SNP","repos":[{"name":"53n7hu/SNP","url":"https://github.com/53n7hu/SNP","stars":4,"created":"2020-05-12"},{"name":"mbadanoiu/MAL-008","url":"https://github.com/mbadanoiu/MAL-008","stars":0,"created":"2024-07-01"}]},"first":{"date":"2019-01-11","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/46516"},"provenance":"source"},"exploitRefs":["https://www.exploit-db.com/exploits/46193/"],"flow":[],"timeline":[{"date":"2019-01-11","kind":"exploit-public","label":"First public exploit: Exploit-DB (EDB-46516); later: PoC-in-GitHub 2020-05-12","url":"https://www.exploit-db.com/exploits/46516","provenance":"source"},{"date":"2019-01-31","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2019-6111","provenance":"source"},{"date":"2020-11-02","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://cybersecurityworks.com/blog/ransomware/ryuk-raising-the-temperature-in-healthcare.html","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":"Exploit-DB","daysToKev":null},"priority":{"score":74.6,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 2210 days ago"},{"name":"Known ransomware use","points":10.0,"detail":"VulnCheck KEV: Known"},{"name":"EPSS percentile","points":19.82,"detail":"percentile 0.9911"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 reference tagged Exploit; 2 Exploit-DB entries; 2 PoC-in-GitHub repos"},{"name":"Mentioned in OTX pulses","points":0.68,"detail":"1 pulse"},{"name":"CVSS severity","points":4.13,"detail":"base score 5.9"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]},"lineage":{"familyId":"fam-cve-2019-6111-family-cve-2019-6111","children":[{"from":"CVE-2019-6111","to":"CVE-2023-35812","relation":"incomplete-fix","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"incomplete-fix","quote":"An issue was discovered in the Amazon Linux packages of OpenSSH 7.4 for Amazon Linux 1 and 2, because of an incomplete fix for CVE-2019-6111 within these specific packages.","from":"CVE.org","in":"CVE-2023-35812"}]},{"from":"CVE-2019-6111","to":"CVE-2019-25017","relation":"related","confidence":"low","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"related","quote":"This issue is similar to CVE-2019-6111 and CVE-2019-7283.","from":"CVE.org","in":"CVE-2019-25017"}]},{"from":"CVE-2019-6111","to":"CVE-2019-7283","relation":"related","confidence":"low","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"related","quote":"This is similar to CVE-2019-6111.","from":"CVE.org","in":"CVE-2019-7283"}]},{"from":"CVE-2019-6111","to":"CVE-2026-0964","relation":"related","confidence":"low","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"related","quote":"This is the same issue as in OpenSSH, tracked as CVE-2019-6111.","from":"CVE.org","in":"CVE-2026-0964"}]}]}}