CVE-2019-6111
- State
- Published
- Severity
- 5.9 Medium
- Published
- Jan 31, 2019
- Updated
- Oct 14, 2026
- Reserved
- Jan 10, 2019
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).
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 5.9 Medium | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N | CISA-ADP |
Weaknesses
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Affected Products
| Product | Versions |
|---|---|
n/an/a |
|
References
- DSA-4387vendor-advisory
- https://security.netapp.com/advisory/ntap-20190213-0001/
- 106741vdb-entry
- https://cvsweb.openbsd.org/src/usr.bin/ssh/scp.c
- USN-3885-1vendor-advisory
- USN-3885-2vendor-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1677794
- https://sintonen.fi/advisories/scp-client-multiple-vulnerabilities.txt
- 46193exploit
- GLSA-201903-16vendor-advisory
- [debian-lts-announce] 20190325 [SECURITY] [DLA 1728-1] openssh security updatemailing-list
- [oss-security] 20190417 Announce: OpenSSH 8.0 releasedmailing-list
- FEDORA-2019-0f4190cdb0vendor-advisory
- [mina-dev] 20190620 [jira] [Created] (SSHD-925) See if SCP vulnerability CVE-2019-6111 applies and mitigate it if somailing-list
- [mina-dev] 20190623 [jira] [Comment Edited] (SSHD-925) See if SCP vulnerability CVE-2019-6111 applies and mitigate it if somailing-list
- [mina-dev] 20190623 [jira] [Commented] (SSHD-925) See if SCP vulnerability CVE-2019-6111 applies and mitigate it if somailing-list
- openSUSE-SU-2019:1602vendor-advisory
- FreeBSD-EN-19:10vendor-advisory
- [mina-dev] 20190820 [jira] [Resolved] (SSHD-925) See if SCP vulnerability CVE-2019-6111 applies and mitigate it if somailing-list
- https://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.html
- RHSA-2019:3702vendor-advisory
- [oss-security] 20220802 CVE-2022-29154: Rsync client-side arbitrary file write vulnerability.mailing-list
- 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
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.