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).
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | openssh | 1:7.9p1-9 | — |
| Debian 13 | openssh | 1:7.9p1-9 | — |
| Debian 12 | openssh | 1:7.9p1-9 | — |
| Debian 9 | openssh | 1:7.4p1-10+deb9u5 | DSA-4387-2, DSA-4387-1 |
| Debian 8 | openssh | 1:6.7p1-5+deb8u8 | DLA-1728-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | openssh-ssh1 | No fix yet | — |
| Ubuntu 22.04 LTS | openssh-ssh1 | No fix yet | — |
| Ubuntu 20.04 LTS | openssh-ssh1 | No fix yet | — |
| Ubuntu 18.04 LTS | openssh | 1:7.6p1-4ubuntu0.3 | USN-3885-2, USN-3885-1 |
| Ubuntu 18.04 LTS | openssh-ssh1 | No fix yet | — |
| Ubuntu 16.04 LTS | openssh | 1:7.2p2-4ubuntu2.8 | USN-3885-2, USN-3885-1 |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 14.04 LTS | openssh | 1:6.6p1-2ubuntu2.13 | USN-3885-2, USN-3885-1 |
| Ubuntu Pro FIPS 16.04 LTS | openssh | 1:7.2p2-4ubuntu2.fips.2.10.1 | — |
| Ubuntu Pro FIPS-updates 16.04 LTS | openssh | 1:7.2p2-4ubuntu2.fips.2.8.1 | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 8 | openssh +6 | 8.0p1-3.el8 | RHSA-2019:3702 |
| RHEL 8 | pam_ssh_agent_auth | 0.10.3-7.3.el8 | RHSA-2019:3702 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 8 | openssh | 8.0p1-30.el8_10 | RLSA-2019:3702 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 | openssh +1 | 7.6p1-9.13.1 | SUSE-SU-2019:0496-1, SUSE-SU-2019:0126-1 |
| SLES 12 SP4 | openssh +1 | 7.2p2-74.35.1 | SUSE-SU-2019:1524-1, SUSE-SU-2019:0132-1 |
| SLES 12 SP3 | openssh +1 | 7.2p2-74.35.1 | SUSE-SU-2019:1524-1, SUSE-SU-2019:0132-1 |
| SLES 12 SP2 | openssh +1 | 7.2p2-74.35.1 | SUSE-SU-2019:1524-1, SUSE-SU-2019:0132-1 |
| SLES 12 SP1 | openssh +1 | 6.6p1-54.26.1 | SUSE-SU-2019:0941-1, SUSE-SU-2019:0125-1 |
Show 10 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 | openssh +1 | 6.6p1-54.26.1 | SUSE-SU-2019:0941-1, SUSE-SU-2019:0125-1 |
| SLES 11 SP4 | openssh +1 | 6.6p1-36.12.1 | SUSE-SU-2019:14030-1, SUSE-SU-2019:13931-1 |
| SLES for SAP 12 SP4 | openssh +1 | 7.2p2-74.35.1 | SUSE-SU-2019:1524-1, SUSE-SU-2019:0132-1 |
| SLES for SAP 12 SP3 | openssh +1 | 7.2p2-74.35.1 | SUSE-SU-2019:1524-1, SUSE-SU-2019:0132-1 |
| SLES for SAP 12 SP2 | openssh +1 | 7.2p2-74.35.1 | SUSE-SU-2019:1524-1, SUSE-SU-2019:0132-1 |
| SLES for SAP 12 SP1 | openssh +1 | 6.6p1-54.26.1 | SUSE-SU-2019:0941-1, SUSE-SU-2019:0125-2 |
| SLES for SAP 11 SP4 | openssh +1 | 6.6p1-36.12.1 | SUSE-SU-2019:13931-1 |
| SUSE OpenStack Cloud 7 | openssh +1 | 7.2p2-74.35.1 | SUSE-SU-2019:1524-1, SUSE-SU-2019:0132-1 |
| SUSE Linux Enterprise Point of Sale 11 SP3 | openssh +1 | 6.6p1-41.18.1 | SUSE-SU-2019:14016-1 |
| SUSE Enterprise Storage 4 | openssh +1 | 7.2p2-74.35.1 | SUSE-SU-2019:1524-1, SUSE-SU-2019:0132-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | openssh | 8.4p1-7.4 | openSUSE-SU-2024:11124-1 |
| openSUSE Leap 15.0 | openssh | 7.6p1-lp150.8.9.1 | openSUSE-SU-2019:0307-1, openSUSE-SU-2019:0091-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | dropbear | 2025.89-r0 | — |
| Alpine v3.24 | openssh | 7.9_p1-r3 | — |
| Alpine v3.23 | openssh | 7.9_p1-r3 | — |
| Alpine v3.22 | openssh | 7.9_p1-r3 | — |
| Alpine v3.21 | openssh | 7.9_p1-r3 | — |
| Alpine v3.20 | openssh | 7.9_p1-r3 | — |
Show 14 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | openssh | 7.9_p1-r3 | — |
| Alpine v3.18 | openssh | 7.9_p1-r3 | — |
| Alpine v3.17 | openssh | 7.9_p1-r3 | — |
| Alpine v3.16 | openssh | 7.9_p1-r3 | — |
| Alpine v3.15 | openssh | 7.9_p1-r3 | — |
| Alpine v3.14 | openssh | 7.9_p1-r3 | — |
| Alpine v3.13 | openssh | 7.9_p1-r3 | — |
| Alpine v3.12 | openssh | 7.9_p1-r3 | — |
| Alpine v3.11 | openssh | 7.9_p1-r3 | — |
| Alpine v3.10 | openssh | 7.9_p1-r3 | — |
| Alpine v3.9 | openssh | 7.9_p1-r3 | — |
| Alpine v3.8 | openssh | 7.7_p1-r4 | — |
| Alpine v3.7 | openssh | 7.5_p1-r10 | — |
| Alpine v3.6 | openssh | 7.5_p1-r4 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2 | openssh +7 | 7.4p1-16.amzn2.0.6 | ALAS2-2019-1216 |
| Amazon Linux 2 | pam_ssh_agent_auth | 0.10.3-2.16.amzn2.0.6 | ALAS2-2019-1216 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 8 | openssh +6 | 8.0p1-3.el8 | ELSA-2019-3702 |
| Oracle Linux 8 | pam_ssh_agent_auth | 0.10.3-7.3.el8 | ELSA-2019-3702 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 2
- SCP Client - Multiple Vulnerabilities (SSHtranger Things) EDB-46193 · remote · Jan 18, 2019
- OpenSSH SCP Client - Write Arbitrary Files EDB-46516 · remote · Jan 11, 2019
GitHub 2 repositories
-
53n7hu/SNP ★ 4 · May 12, 2020
CVE-2019-6111 vulnerability exploitation
-
mbadanoiu/MAL-008 ★ 0 · Jul 1, 2024
Case Study: SSHtranger Things (CVE-2019-6111, CVE-2019-6110) in Cisco SD-WAN
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 29
- SSA-398330 SSA-398330: Vulnerabilities in the additional GNU/Linux subsystem of the SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP >= V3.1.0 and < V3.1.5 Siemens ProductCERT · Oct 13, 2026
- WID-SEC-2023-1995 SCP in mehreren Produkten: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 4, 2026
- RLSA-2019:3702 Moderate: openssh security, bug fix, and enhancement update Rocky Linux Security Advisories · Jul 30, 2026
- RHSA-2019:3702 Red Hat Security Advisory: openssh security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- USN-3885-1 openssh vulnerabilities Ubuntu Security Notices (USN) · May 29, 2026
- DSA-4387-2 openssh - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-4387-1 openssh - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-1728-1 openssh - security update Debian Security (DSA / DLA) · Mar 9, 2026
- USN-3885-2 openssh vulnerability Ubuntu Security Notices (USN) · Feb 10, 2026
- SUSE-SU-2019:14016-1 Security update for openssh SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2019:0496-1 Security update for openssh SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2019:0125-1 Security update for openssh SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:11124-1 openssh-8.4p1-7.4 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2019:0125-2 Security update for openssh SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2019:0307-1 Security update for openssh SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2019:14030-1 Security update for openssh SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2019:0091-1 Security update for openssh SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2019:0132-1 Security update for openssh SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2019:0941-1 Security update for openssh SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2019:1524-1 Security update for openssh SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2019:13931-1 Security update for openssh SUSE / openSUSE Security Updates · Feb 4, 2026
- ICSA-23-348-10 Siemens SIMATIC S7-1500 CISA ICS & IT advisories · Aug 12, 2025
- SUSE-SU-2019:0126-1 Security update for openssh SUSE / openSUSE Security Updates · May 2, 2025
- WID-SEC-2024-1082 Juniper JUNOS: Mehrere Schwachstellen BSI CERT-Bund (WID) · May 9, 2024
- WID-SEC-2023-0561 Xerox FreeFlow Print Server: Mehrere Schwachstellen BSI CERT-Bund (WID) · May 18, 2023
- ICSA-22-349-21 Siemens SCALANCE X-200RNA Switch Devices CISA ICS & IT advisories · Dec 13, 2022
- SSA-412672 SSA-412672: Multiple OpenSSL and OpenSSH Vulnerabilities in SCALANCE X-200RNA Switch Devices before V3.2.7 Siemens ProductCERT · Dec 13, 2022
- ELSA-2019-3702 Moderate: openssh security, bug fix, and enhancement update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Nov 14, 2019
- ALAS2-2019-1216 Moderate: openssh security update (Amazon Linux 2) Amazon Linux Security Center (ALAS) · May 30, 2019
References
- DSA-4387 vendor-advisory
- https://security.netapp.com/advisory/ntap-20190213-0001/
- 106741 vdb-entry
- https://cvsweb.openbsd.org/src/usr.bin/ssh/scp.c
- USN-3885-1 vendor-advisory
- USN-3885-2 vendor-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1677794
- https://sintonen.fi/advisories/scp-client-multiple-vulnerabilities.txt
- 46193 exploit
- GLSA-201903-16 vendor-advisory
- [debian-lts-announce] 20190325 [SECURITY] [DLA 1728-1] openssh security update mailing-list
- [oss-security] 20190417 Announce: OpenSSH 8.0 released mailing-list
- FEDORA-2019-0f4190cdb0 vendor-advisory
- [mina-dev] 20190620 [jira] [Created] (SSHD-925) See if SCP vulnerability CVE-2019-6111 applies and mitigate it if so mailing-list
- [mina-dev] 20190623 [jira] [Comment Edited] (SSHD-925) See if SCP vulnerability CVE-2019-6111 applies and mitigate it if so mailing-list
- [mina-dev] 20190623 [jira] [Commented] (SSHD-925) See if SCP vulnerability CVE-2019-6111 applies and mitigate it if so mailing-list
- openSUSE-SU-2019:1602 vendor-advisory
- FreeBSD-EN-19:10 vendor-advisory
- [mina-dev] 20190820 [jira] [Resolved] (SSHD-925) See if SCP vulnerability CVE-2019-6111 applies and mitigate it if so mailing-list
- https://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.html
- RHSA-2019:3702 vendor-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