CVE-2019-6111
published medium CVSS 3.1 · 5.9openssh: Improper validation of object names allows malicious server to overwrite files via scp client
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Siemens | — | SIMATIC S7-1500 CPU 1518-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIMATIC S7-1500 CPU 1518-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Amazon Linux | AL2 | Release evaluationALAS2-2019-1216 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Alpine Linux | edge | dropbear | Fixed | 2025.89-r0 | Package fix record |
| Debian | jessie | openssh | Advisory build | 1:6.7p1-5+deb8u8 | DLA-1728-1 |
Show 100 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Siemens | — | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIPLUS S7-1500 CPU 1518-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Oracle Linux | 8 | opensshaarch64 | Advisory build | 0:8.0p1-3.el8 | ELSA-2019-3702 |
| Red Hat Enterprise Linux | RHEL-8 | opensshaarch64 | Advisory build | 8.0p1-3.el8 | RHSA-2019:3702 |
| Alpine Linux | edge | dropbear | Fixed | 2026.91-r0 | Package fix record |
| Alpine Linux | edge | openssh | Fixed | 7.9_p1-r3 | Package fix record |
| Alpine Linux | v3.10 | openssh | Fixed | 7.9_p1-r3 | Package fix record |
| Alpine Linux | v3.11 | openssh | Fixed | 7.9_p1-r3 | Package fix record |
| Alpine Linux | v3.12 | openssh | Fixed | 7.9_p1-r3 | Package fix record |
| Alpine Linux | v3.13 | openssh | Fixed | 7.9_p1-r3 | Package fix record |
| Alpine Linux | v3.14 | openssh | Fixed | 7.9_p1-r3 | Package fix record |
| Alpine Linux | v3.15 | openssh | Fixed | 7.9_p1-r3 | Package fix record |
| Alpine Linux | v3.16 | openssh | Fixed | 7.9_p1-r3 | Package fix record |
| Alpine Linux | v3.17 | openssh | Fixed | 7.9_p1-r3 | Package fix record |
| Alpine Linux | v3.18 | openssh | Fixed | 7.9_p1-r3 | Package fix record |
| Alpine Linux | v3.19 | openssh | Fixed | 7.9_p1-r3 | Package fix record |
| Alpine Linux | v3.20 | openssh | Fixed | 7.9_p1-r3 | Package fix record |
| Alpine Linux | v3.21 | openssh | Fixed | 7.9_p1-r3 | Package fix record |
| Alpine Linux | v3.22 | openssh | Fixed | 7.9_p1-r3 | Package fix record |
| Alpine Linux | v3.23 | openssh | Fixed | 7.9_p1-r3 | Package fix record |
| Alpine Linux | v3.24 | dropbear | Fixed | 2025.89-r0 | Package fix record |
| Alpine Linux | v3.24 | dropbear | Fixed | 2026.91-r0 | Package fix record |
| Alpine Linux | v3.24 | openssh | Fixed | 7.9_p1-r3 | Package fix record |
| Alpine Linux | v3.6 | openssh | Fixed | 7.5_p1-r4 | Package fix record |
| Alpine Linux | v3.7 | openssh | Fixed | 7.5_p1-r10 | Package fix record |
| Alpine Linux | v3.8 | openssh | Fixed | 7.7_p1-r4 | Package fix record |
| Alpine Linux | v3.9 | openssh | Fixed | 7.9_p1-r3 | Package fix record |
| Debian | stretch | openssh | Advisory build | 1:7.4p1-10+deb9u5 | DSA-4387-1 |
| Debian | stretch | openssh | Advisory build | 1:7.4p1-10+deb9u6 | DSA-4387-2 |
| Oracle Linux | 8 | opensshx86_64 | Advisory build | 0:8.0p1-3.el8 | ELSA-2019-3702 |
| Oracle Linux | 8 | openssh-askpassaarch64 | Advisory build | 0:8.0p1-3.el8 | ELSA-2019-3702 |
| Oracle Linux | 8 | openssh-askpassx86_64 | Advisory build | 0:8.0p1-3.el8 | ELSA-2019-3702 |
| Oracle Linux | 8 | openssh-cavsaarch64 | Advisory build | 0:8.0p1-3.el8 | ELSA-2019-3702 |
| Oracle Linux | 8 | openssh-cavsx86_64 | Advisory build | 0:8.0p1-3.el8 | ELSA-2019-3702 |
| Oracle Linux | 8 | openssh-clientsaarch64 | Advisory build | 0:8.0p1-3.el8 | ELSA-2019-3702 |
| Oracle Linux | 8 | openssh-clientsx86_64 | Advisory build | 0:8.0p1-3.el8 | ELSA-2019-3702 |
| Oracle Linux | 8 | openssh-keycataarch64 | Advisory build | 0:8.0p1-3.el8 | ELSA-2019-3702 |
| Oracle Linux | 8 | openssh-keycatx86_64 | Advisory build | 0:8.0p1-3.el8 | ELSA-2019-3702 |
| Oracle Linux | 8 | openssh-ldapaarch64 | Advisory build | 0:8.0p1-3.el8 | ELSA-2019-3702 |
| Oracle Linux | 8 | openssh-ldapx86_64 | Advisory build | 0:8.0p1-3.el8 | ELSA-2019-3702 |
| Oracle Linux | 8 | openssh-serveraarch64 | Advisory build | 0:8.0p1-3.el8 | ELSA-2019-3702 |
| Oracle Linux | 8 | openssh-serverx86_64 | Advisory build | 0:8.0p1-3.el8 | ELSA-2019-3702 |
| Oracle Linux | 8 | pam_ssh_agent_authaarch64 | Advisory build | 0:0.10.3-7.3.el8 | ELSA-2019-3702 |
| Oracle Linux | 8 | pam_ssh_agent_authx86_64 | Advisory build | 0:0.10.3-7.3.el8 | ELSA-2019-3702 |
| Red Hat Enterprise Linux | RHEL-8 | opensshppc64le | Advisory build | 8.0p1-3.el8 | RHSA-2019:3702 |
| Red Hat Enterprise Linux | RHEL-8 | opensshs390x | Advisory build | 8.0p1-3.el8 | RHSA-2019:3702 |
| Red Hat Enterprise Linux | RHEL-8 | opensshsrc | Advisory build | 8.0p1-3.el8 | RHSA-2019:3702 |
| Red Hat Enterprise Linux | RHEL-8 | opensshx86_64 | Advisory build | 8.0p1-3.el8 | RHSA-2019:3702 |
| Red Hat Enterprise Linux | RHEL-8 | openssh-askpassaarch64 | Advisory build | 8.0p1-3.el8 | RHSA-2019:3702 |
| Red Hat Enterprise Linux | RHEL-8 | openssh-askpassppc64le | Advisory build | 8.0p1-3.el8 | RHSA-2019:3702 |
| Red Hat Enterprise Linux | RHEL-8 | openssh-askpasss390x | Advisory build | 8.0p1-3.el8 | RHSA-2019:3702 |
| Red Hat Enterprise Linux | RHEL-8 | openssh-askpassx86_64 | Advisory build | 8.0p1-3.el8 | RHSA-2019:3702 |
| Red Hat Enterprise Linux | RHEL-8 | openssh-askpass-debuginfoaarch64 | Advisory build | 8.0p1-3.el8 | RHSA-2019:3702 |
| Red Hat Enterprise Linux | RHEL-8 | openssh-askpass-debuginfoppc64le | Advisory build | 8.0p1-3.el8 | RHSA-2019:3702 |
| Red Hat Enterprise Linux | RHEL-8 | openssh-askpass-debuginfos390x | Advisory build | 8.0p1-3.el8 | RHSA-2019:3702 |
| Red Hat Enterprise Linux | RHEL-8 | openssh-askpass-debuginfox86_64 | Advisory build | 8.0p1-3.el8 | RHSA-2019:3702 |
| Red Hat Enterprise Linux | RHEL-8 | openssh-cavsaarch64 | Advisory build | 8.0p1-3.el8 | RHSA-2019:3702 |
| Red Hat Enterprise Linux | RHEL-8 | openssh-cavsppc64le | Advisory build | 8.0p1-3.el8 | RHSA-2019:3702 |
| Red Hat Enterprise Linux | RHEL-8 | openssh-cavss390x | Advisory build | 8.0p1-3.el8 | RHSA-2019:3702 |
| Red Hat Enterprise Linux | RHEL-8 | openssh-cavsx86_64 | Advisory build | 8.0p1-3.el8 | RHSA-2019:3702 |
| Red Hat Enterprise Linux | RHEL-8 | openssh-cavs-debuginfoaarch64 | Advisory build | 8.0p1-3.el8 | RHSA-2019:3702 |
| Red Hat Enterprise Linux | RHEL-8 | openssh-cavs-debuginfoppc64le | Advisory build | 8.0p1-3.el8 | RHSA-2019:3702 |
| Red Hat Enterprise Linux | RHEL-8 | openssh-cavs-debuginfos390x | Advisory build | 8.0p1-3.el8 | RHSA-2019:3702 |
| Red Hat Enterprise Linux | RHEL-8 | openssh-cavs-debuginfox86_64 | Advisory build | 8.0p1-3.el8 | RHSA-2019:3702 |
| Red Hat Enterprise Linux | RHEL-8 | openssh-clientsaarch64 | Advisory build | 8.0p1-3.el8 | RHSA-2019:3702 |
| Red Hat Enterprise Linux | RHEL-8 | openssh-clientsppc64le | Advisory build | 8.0p1-3.el8 | RHSA-2019:3702 |
| Red Hat Enterprise Linux | RHEL-8 | openssh-clientss390x | Advisory build | 8.0p1-3.el8 | RHSA-2019:3702 |
| Red Hat Enterprise Linux | RHEL-8 | openssh-clientsx86_64 | Advisory build | 8.0p1-3.el8 | RHSA-2019:3702 |
| Red Hat Enterprise Linux | RHEL-8 | openssh-clients-debuginfoaarch64 | Advisory build | 8.0p1-3.el8 | RHSA-2019:3702 |
| Red Hat Enterprise Linux | RHEL-8 | openssh-clients-debuginfoppc64le | Advisory build | 8.0p1-3.el8 | RHSA-2019:3702 |
| Red Hat Enterprise Linux | RHEL-8 | openssh-clients-debuginfos390x | Advisory build | 8.0p1-3.el8 | RHSA-2019:3702 |
| Red Hat Enterprise Linux | RHEL-8 | openssh-clients-debuginfox86_64 | Advisory build | 8.0p1-3.el8 | RHSA-2019:3702 |
| Red Hat Enterprise Linux | RHEL-8 | openssh-debuginfoaarch64 | Advisory build | 8.0p1-3.el8 | RHSA-2019:3702 |
| Red Hat Enterprise Linux | RHEL-8 | openssh-debuginfoppc64le | Advisory build | 8.0p1-3.el8 | RHSA-2019:3702 |
| Red Hat Enterprise Linux | RHEL-8 | openssh-debuginfos390x | Advisory build | 8.0p1-3.el8 | RHSA-2019:3702 |
| Red Hat Enterprise Linux | RHEL-8 | openssh-debuginfox86_64 | Advisory build | 8.0p1-3.el8 | RHSA-2019:3702 |
| Red Hat Enterprise Linux | RHEL-8 | openssh-debugsourceaarch64 | Advisory build | 8.0p1-3.el8 | RHSA-2019:3702 |
| Red Hat Enterprise Linux | RHEL-8 | openssh-debugsourceppc64le | Advisory build | 8.0p1-3.el8 | RHSA-2019:3702 |
| Red Hat Enterprise Linux | RHEL-8 | openssh-debugsources390x | Advisory build | 8.0p1-3.el8 | RHSA-2019:3702 |
| Red Hat Enterprise Linux | RHEL-8 | openssh-debugsourcex86_64 | Advisory build | 8.0p1-3.el8 | RHSA-2019:3702 |
| Red Hat Enterprise Linux | RHEL-8 | openssh-keycataarch64 | Advisory build | 8.0p1-3.el8 | RHSA-2019:3702 |
| Red Hat Enterprise Linux | RHEL-8 | openssh-keycatppc64le | Advisory build | 8.0p1-3.el8 | RHSA-2019:3702 |
| Red Hat Enterprise Linux | RHEL-8 | openssh-keycats390x | Advisory build | 8.0p1-3.el8 | RHSA-2019:3702 |
| Red Hat Enterprise Linux | RHEL-8 | openssh-keycatx86_64 | Advisory build | 8.0p1-3.el8 | RHSA-2019:3702 |
| Red Hat Enterprise Linux | RHEL-8 | openssh-keycat-debuginfoaarch64 | Advisory build | 8.0p1-3.el8 | RHSA-2019:3702 |
| Red Hat Enterprise Linux | RHEL-8 | openssh-keycat-debuginfoppc64le | Advisory build | 8.0p1-3.el8 | RHSA-2019:3702 |
| Red Hat Enterprise Linux | RHEL-8 | openssh-keycat-debuginfos390x | Advisory build | 8.0p1-3.el8 | RHSA-2019:3702 |
| Red Hat Enterprise Linux | RHEL-8 | openssh-keycat-debuginfox86_64 | Advisory build | 8.0p1-3.el8 | RHSA-2019:3702 |
| Red Hat Enterprise Linux | RHEL-8 | openssh-ldapaarch64 | Advisory build | 8.0p1-3.el8 | RHSA-2019:3702 |
| Red Hat Enterprise Linux | RHEL-8 | openssh-ldapppc64le | Advisory build | 8.0p1-3.el8 | RHSA-2019:3702 |
| Red Hat Enterprise Linux | RHEL-8 | openssh-ldaps390x | Advisory build | 8.0p1-3.el8 | RHSA-2019:3702 |
| Red Hat Enterprise Linux | RHEL-8 | openssh-ldapx86_64 | Advisory build | 8.0p1-3.el8 | RHSA-2019:3702 |
| Red Hat Enterprise Linux | RHEL-8 | openssh-ldap-debuginfoaarch64 | Advisory build | 8.0p1-3.el8 | RHSA-2019:3702 |
| Red Hat Enterprise Linux | RHEL-8 | openssh-ldap-debuginfoppc64le | Advisory build | 8.0p1-3.el8 | RHSA-2019:3702 |
| Red Hat Enterprise Linux | RHEL-8 | openssh-ldap-debuginfos390x | Advisory build | 8.0p1-3.el8 | RHSA-2019:3702 |
| Red Hat Enterprise Linux | RHEL-8 | openssh-ldap-debuginfox86_64 | Advisory build | 8.0p1-3.el8 | RHSA-2019:3702 |
| Red Hat Enterprise Linux | RHEL-8 | openssh-serveraarch64 | Advisory build | 8.0p1-3.el8 | RHSA-2019:3702 |
| Red Hat Enterprise Linux | RHEL-8 | openssh-serverppc64le | Advisory build | 8.0p1-3.el8 | RHSA-2019:3702 |
| Red Hat Enterprise Linux | RHEL-8 | openssh-servers390x | Advisory build | 8.0p1-3.el8 | RHSA-2019:3702 |
| Red Hat Enterprise Linux | RHEL-8 | openssh-serverx86_64 | Advisory build | 8.0p1-3.el8 | RHSA-2019:3702 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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).
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.9 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
Weaknesses
2- n/a
- CWE-22 CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
25- openSUSE-SU-2019:1602 http://lists.opensuse.org/opensuse-security-announce/2019-06/msg00058.html
- [oss-security] 20190417 Announce: OpenSSH 8.0 released http://www.openwall.com/lists/oss-security/2019/04/18/1
- [oss-security] 20220802 CVE-2022-29154: Rsync client-side arbitrary file write vulnerability. http://www.openwall.com/lists/oss-security/2022/08/02/1
- 106741 http://www.securityfocus.com/bid/106741
- RHSA-2019:3702 https://access.redhat.com/errata/RHSA-2019:3702
- https://bugzilla.redhat.com/show_bug.cgi?id=1677794
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- https://cert-portal.siemens.com/productcert/html/ssa-412672.html
- https://cert-portal.siemens.com/productcert/pdf/ssa-412672.pdf
- https://cvsweb.openbsd.org/src/usr.bin/ssh/scp.c
- [mina-dev] 20190620 [jira] [Created] (SSHD-925) See if SCP vulnerability CVE-2019-6111 applies and mitigate it if so https://lists.apache.org/thread.html/c45d9bc90700354b58fb7455962873c44229841880dcb64842fa7d23%40%3Cdev.mina.apache.org%3E
- [mina-dev] 20190623 [jira] [Comment Edited] (SSHD-925) See if SCP vulnerability CVE-2019-6111 applies and mitigate it if so https://lists.apache.org/thread.html/c7301cab36a86825359e1b725fc40304d1df56dc6d107c1fe885148b%40%3Cdev.mina.apache.org%3E
- [mina-dev] 20190820 [jira] [Resolved] (SSHD-925) See if SCP vulnerability CVE-2019-6111 applies and mitigate it if so https://lists.apache.org/thread.html/d540139359de999b0f1c87d05b715be4d7d4bec771e1ae55153c5c7a%40%3Cdev.mina.apache.org%3E
- [mina-dev] 20190623 [jira] [Commented] (SSHD-925) See if SCP vulnerability CVE-2019-6111 applies and mitigate it if so https://lists.apache.org/thread.html/e47597433b351d6e01a5d68d610b4ba195743def9730e49561e8cf3f%40%3Cdev.mina.apache.org%3E
- [debian-lts-announce] 20190325 [SECURITY] [DLA 1728-1] openssh security update https://lists.debian.org/debian-lts-announce/2019/03/msg00030.html
- FEDORA-2019-0f4190cdb0 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/W3YVQ2BPTOVDCFDVNC2GGF5P5ISFG37G/
- GLSA-201903-16 https://security.gentoo.org/glsa/201903-16
- https://security.netapp.com/advisory/ntap-20190213-0001/
- https://sintonen.fi/advisories/scp-client-multiple-vulnerabilities.txt
- USN-3885-1 https://usn.ubuntu.com/3885-1/
- USN-3885-2 https://usn.ubuntu.com/3885-2/
- DSA-4387 https://www.debian.org/security/2019/dsa-4387
- 46193 https://www.exploit-db.com/exploits/46193/
- FreeBSD-EN-19:10 https://www.freebsd.org/security/advisories/FreeBSD-EN-19:10.scp.asc
- https://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.html
Provider assertions
4mitre · cna
siemens-SADP · adp
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d84d4ea857c8fcc803359ce733b30ab20b85537ca5b54ec4b9e9ed0c81d03ad7
- Ingested
- 14 Oct 2026, 09:52:31 UTC
- Source record
- Official CVE record