{"id":"CVE-2019-6111","state":"PUBLISHED","title":"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 s","description":"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).","publishedAt":"2019-01-31T00:00:00.000Z","updatedAt":"2026-10-14T06:49:32.238Z","severity":{"score":5.9,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","source":"CISA-ADP"},"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://www.debian.org/security/2019/dsa-4387","https://security.netapp.com/advisory/ntap-20190213-0001/","http://www.securityfocus.com/bid/106741","https://cvsweb.openbsd.org/src/usr.bin/ssh/scp.c","https://usn.ubuntu.com/3885-1/","https://usn.ubuntu.com/3885-2/","https://bugzilla.redhat.com/show_bug.cgi?id=1677794","https://sintonen.fi/advisories/scp-client-multiple-vulnerabilities.txt","https://www.exploit-db.com/exploits/46193/","https://security.gentoo.org/glsa/201903-16","https://lists.debian.org/debian-lts-announce/2019/03/msg00030.html","http://www.openwall.com/lists/oss-security/2019/04/18/1","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/W3YVQ2BPTOVDCFDVNC2GGF5P5ISFG37G/","https://lists.apache.org/thread.html/c45d9bc90700354b58fb7455962873c44229841880dcb64842fa7d23%40%3Cdev.mina.apache.org%3E","https://lists.apache.org/thread.html/c7301cab36a86825359e1b725fc40304d1df56dc6d107c1fe885148b%40%3Cdev.mina.apache.org%3E","https://lists.apache.org/thread.html/e47597433b351d6e01a5d68d610b4ba195743def9730e49561e8cf3f%40%3Cdev.mina.apache.org%3E","http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00058.html","https://www.freebsd.org/security/advisories/FreeBSD-EN-19:10.scp.asc","https://lists.apache.org/thread.html/d540139359de999b0f1c87d05b715be4d7d4bec771e1ae55153c5c7a%40%3Cdev.mina.apache.org%3E","https://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.html","https://access.redhat.com/errata/RHSA-2019:3702","http://www.openwall.com/lists/oss-security/2022/08/02/1","https://cert-portal.siemens.com/productcert/pdf/ssa-412672.pdf","https://cert-portal.siemens.com/productcert/html/ssa-412672.html","https://cert-portal.siemens.com/productcert/html/ssa-398330.html"],"weaknesses":["CWE-22"],"ingestedAt":"2026-10-29T19:46:06.737Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2019/6xxx/CVE-2019-6111.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2019-6111","state":"PUBLISHED","datePublished":"2019-01-31T00:00:00.000Z","dateUpdated":"2026-10-14T06:49:32.238Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2019-01-10T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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)."}],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://www.debian.org/security/2019/dsa-4387","name":"DSA-4387","tags":["vendor-advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20190213-0001/"},{"url":"http://www.securityfocus.com/bid/106741","name":"106741","tags":["vdb-entry"]},{"url":"https://cvsweb.openbsd.org/src/usr.bin/ssh/scp.c"},{"url":"https://usn.ubuntu.com/3885-1/","name":"USN-3885-1","tags":["vendor-advisory"]},{"url":"https://usn.ubuntu.com/3885-2/","name":"USN-3885-2","tags":["vendor-advisory"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1677794"},{"url":"https://sintonen.fi/advisories/scp-client-multiple-vulnerabilities.txt"},{"url":"https://www.exploit-db.com/exploits/46193/","name":"46193","tags":["exploit"]},{"url":"https://security.gentoo.org/glsa/201903-16","name":"GLSA-201903-16","tags":["vendor-advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/03/msg00030.html","name":"[debian-lts-announce] 20190325 [SECURITY] [DLA 1728-1] openssh security update","tags":["mailing-list"]},{"url":"http://www.openwall.com/lists/oss-security/2019/04/18/1","name":"[oss-security] 20190417 Announce: OpenSSH 8.0 released","tags":["mailing-list"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/W3YVQ2BPTOVDCFDVNC2GGF5P5ISFG37G/","name":"FEDORA-2019-0f4190cdb0","tags":["vendor-advisory"]},{"url":"https://lists.apache.org/thread.html/c45d9bc90700354b58fb7455962873c44229841880dcb64842fa7d23%40%3Cdev.mina.apache.org%3E","name":"[mina-dev] 20190620 [jira] [Created] (SSHD-925) See if SCP vulnerability CVE-2019-6111 applies and mitigate it if so","tags":["mailing-list"]},{"url":"https://lists.apache.org/thread.html/c7301cab36a86825359e1b725fc40304d1df56dc6d107c1fe885148b%40%3Cdev.mina.apache.org%3E","name":"[mina-dev] 20190623 [jira] [Comment Edited] (SSHD-925) See if SCP vulnerability CVE-2019-6111 applies and mitigate it if so","tags":["mailing-list"]},{"url":"https://lists.apache.org/thread.html/e47597433b351d6e01a5d68d610b4ba195743def9730e49561e8cf3f%40%3Cdev.mina.apache.org%3E","name":"[mina-dev] 20190623 [jira] [Commented] (SSHD-925) See if SCP vulnerability CVE-2019-6111 applies and mitigate it if so","tags":["mailing-list"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00058.html","name":"openSUSE-SU-2019:1602","tags":["vendor-advisory"]},{"url":"https://www.freebsd.org/security/advisories/FreeBSD-EN-19:10.scp.asc","name":"FreeBSD-EN-19:10","tags":["vendor-advisory"]},{"url":"https://lists.apache.org/thread.html/d540139359de999b0f1c87d05b715be4d7d4bec771e1ae55153c5c7a%40%3Cdev.mina.apache.org%3E","name":"[mina-dev] 20190820 [jira] [Resolved] (SSHD-925) See if SCP vulnerability CVE-2019-6111 applies and mitigate it if so","tags":["mailing-list"]},{"url":"https://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.html"},{"url":"https://access.redhat.com/errata/RHSA-2019:3702","name":"RHSA-2019:3702","tags":["vendor-advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2022/08/02/1","name":"[oss-security] 20220802 CVE-2022-29154: Rsync client-side arbitrary file write vulnerability.","tags":["mailing-list"]},{"url":"https://cert-portal.siemens.com/productcert/pdf/ssa-412672.pdf"}],"problemTypes":[{"descriptions":[{"type":"text","lang":"en","description":"n/a"}]}],"providerMetadata":{"shortName":"mitre","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateUpdated":"2022-12-13T00:00:00.000Z"},"datePublic":"2019-01-31T00:00:00.000Z"},"adp":[{"title":"CVE Program Container","references":[{"url":"https://www.debian.org/security/2019/dsa-4387","name":"DSA-4387","tags":["vendor-advisory","x_transferred"]},{"url":"https://security.netapp.com/advisory/ntap-20190213-0001/","tags":["x_transferred"]},{"url":"http://www.securityfocus.com/bid/106741","name":"106741","tags":["vdb-entry","x_transferred"]},{"url":"https://cvsweb.openbsd.org/src/usr.bin/ssh/scp.c","tags":["x_transferred"]},{"url":"https://usn.ubuntu.com/3885-1/","name":"USN-3885-1","tags":["vendor-advisory","x_transferred"]},{"url":"https://usn.ubuntu.com/3885-2/","name":"USN-3885-2","tags":["vendor-advisory","x_transferred"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=1677794","tags":["x_transferred"]},{"url":"https://sintonen.fi/advisories/scp-client-multiple-vulnerabilities.txt","tags":["x_transferred"]},{"url":"https://www.exploit-db.com/exploits/46193/","name":"46193","tags":["exploit","x_transferred"]},{"url":"https://security.gentoo.org/glsa/201903-16","name":"GLSA-201903-16","tags":["vendor-advisory","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/03/msg00030.html","name":"[debian-lts-announce] 20190325 [SECURITY] [DLA 1728-1] openssh security update","tags":["mailing-list","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2019/04/18/1","name":"[oss-security] 20190417 Announce: OpenSSH 8.0 released","tags":["mailing-list","x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/W3YVQ2BPTOVDCFDVNC2GGF5P5ISFG37G/","name":"FEDORA-2019-0f4190cdb0","tags":["vendor-advisory","x_transferred"]},{"url":"https://lists.apache.org/thread.html/c45d9bc90700354b58fb7455962873c44229841880dcb64842fa7d23%40%3Cdev.mina.apache.org%3E","name":"[mina-dev] 20190620 [jira] [Created] (SSHD-925) See if SCP vulnerability CVE-2019-6111 applies and mitigate it if so","tags":["mailing-list","x_transferred"]},{"url":"https://lists.apache.org/thread.html/c7301cab36a86825359e1b725fc40304d1df56dc6d107c1fe885148b%40%3Cdev.mina.apache.org%3E","name":"[mina-dev] 20190623 [jira] [Comment Edited] (SSHD-925) See if SCP vulnerability CVE-2019-6111 applies and mitigate it if so","tags":["mailing-list","x_transferred"]},{"url":"https://lists.apache.org/thread.html/e47597433b351d6e01a5d68d610b4ba195743def9730e49561e8cf3f%40%3Cdev.mina.apache.org%3E","name":"[mina-dev] 20190623 [jira] [Commented] (SSHD-925) See if SCP vulnerability CVE-2019-6111 applies and mitigate it if so","tags":["mailing-list","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00058.html","name":"openSUSE-SU-2019:1602","tags":["vendor-advisory","x_transferred"]},{"url":"https://www.freebsd.org/security/advisories/FreeBSD-EN-19:10.scp.asc","name":"FreeBSD-EN-19:10","tags":["vendor-advisory","x_transferred"]},{"url":"https://lists.apache.org/thread.html/d540139359de999b0f1c87d05b715be4d7d4bec771e1ae55153c5c7a%40%3Cdev.mina.apache.org%3E","name":"[mina-dev] 20190820 [jira] [Resolved] (SSHD-925) See if SCP vulnerability CVE-2019-6111 applies and mitigate it if so","tags":["mailing-list","x_transferred"]},{"url":"https://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.html","tags":["x_transferred"]},{"url":"https://access.redhat.com/errata/RHSA-2019:3702","name":"RHSA-2019:3702","tags":["vendor-advisory","x_transferred"]},{"url":"http://www.openwall.com/lists/oss-security/2022/08/02/1","name":"[oss-security] 20220802 CVE-2022-29154: Rsync client-side arbitrary file write vulnerability.","tags":["mailing-list","x_transferred"]},{"url":"https://cert-portal.siemens.com/productcert/pdf/ssa-412672.pdf","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T20:16:23.623Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":5.9,"attackVector":"NETWORK","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"HIGH","availabilityImpact":"NONE","privilegesRequired":"NONE","confidentialityImpact":"NONE"}},{"other":{"type":"ssvc","content":{"timestamp":"2025-12-18T14:34:56.672827Z","id":"CVE-2019-6111","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","type":"CWE","lang":"en","description":"CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-12-18T14:35:00.730Z"}},{"affected":[{"vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.0","status":"affected","lessThan":"V3.1.5","versionType":"custom"}]},{"vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.0","status":"affected","lessThan":"V3.1.5","versionType":"custom"}]},{"vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.0","status":"affected","lessThan":"V3.1.5","versionType":"custom"}]},{"vendor":"Siemens","product":"SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.0","status":"affected","lessThan":"V3.1.5","versionType":"custom"}]},{"vendor":"Siemens","product":"SIPLUS S7-1500 CPU 1518-4 PN/DP MFP","defaultStatus":"unknown","versions":[{"version":"V3.1.0","status":"affected","lessThan":"V3.1.5","versionType":"custom"}]}],"references":[{"url":"https://cert-portal.siemens.com/productcert/html/ssa-412672.html"},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html"}],"providerMetadata":{"shortName":"siemens-SADP","orgId":"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e","dateUpdated":"2026-10-14T06:49:32.238Z"},"x_adpType":"supplier"}]}}}