CVE-2019-6111An issue was discovered in OpenSSH 7.9. Due to the scp implementation being derived from 1983 rcp, the server chooses which…
- 5.9MediumCVSS base score
- 58.2%Exploitation in 30 daysEPSS · top 0.9% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- 2Public exploitsMetasploit, Nuclei and Exploit-DB
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).
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list 2 Exploit-DB entries for it. A reference of the record is tagged as an exploit. CISA's SSVC rates its exploitation: a proof of concept is public.
Show the exploits3
Exploit-DB2 entries
- SCP Client - Multiple Vulnerabilities (SSHtranger Things) (Exploit-DB entry) (opens in a new tab)
EDB-ID 46193remote, multiplepublished 18 Jan 2019Not verified
- OpenSSH SCP Client - Write Arbitrary Files (Exploit-DB entry) (opens in a new tab)
EDB-ID 46516remote, multiplepublished 11 Jan 2019Not verified
References tagged exploit1 reference
- 46193 (opens in a new tab)exploitx_transferred
Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from
Timeline
ID reserved
By mitre
- 21 days later
· 21 days later
Published
- 8 years later
· 8 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| CISA-ADPADP (enrichment) | 3.1 | Medium5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVDNVD · Modified | 3.1 | Medium5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
- EPSS (exploitation in 30 days)
- 58.2% · top 0.9% of all CVEs (12 Nov 2026)
- CISA SSVC
- Exploitation: poc · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.9.
Affected products
n/a
- affected n/a
References
References25
- DSA-4387 (opens in a new tab)vendor-advisoryx_transferred
- https://security.netapp.com/advisory/ntap-20190213-0001/ (opens in a new tab)x_transferred
- 106741 (opens in a new tab)vdb-entryx_transferred
- https://cvsweb.openbsd.org/src/usr.bin/ssh/scp.c (opens in a new tab)x_transferred
- USN-3885-1 (opens in a new tab)vendor-advisoryx_transferred
- USN-3885-2 (opens in a new tab)vendor-advisoryx_transferred
- https://bugzilla.redhat.com/show_bug.cgi?id=1677794 (opens in a new tab)x_transferred
- https://sintonen.fi/advisories/scp-client-multiple-vulnerabilities.txt (opens in a new tab)x_transferred
- 46193 (opens in a new tab)exploitx_transferred
- GLSA-201903-16 (opens in a new tab)vendor-advisoryx_transferred
- [debian-lts-announce] 20190325 [SECURITY] [DLA 1728-1] openssh security update (opens in a new tab)mailing-listx_transferred
- [oss-security] 20190417 Announce: OpenSSH 8.0 released (opens in a new tab)mailing-listx_transferred
- FEDORA-2019-0f4190cdb0 (opens in a new tab)vendor-advisoryx_transferred
- [mina-dev] 20190620 [jira] [Created] (SSHD-925) See if SCP vulnerability CVE-2019-6111 applies and mitigate it if so (opens in a new tab)mailing-listx_transferred
- [mina-dev] 20190623 [jira] [Comment Edited] (SSHD-925) See if SCP vulnerability CVE-2019-6111 applies and mitigate it if so (opens in a new tab)mailing-listx_transferred
- [mina-dev] 20190623 [jira] [Commented] (SSHD-925) See if SCP vulnerability CVE-2019-6111 applies and mitigate it if so (opens in a new tab)mailing-listx_transferred
- openSUSE-SU-2019:1602 (opens in a new tab)vendor-advisoryx_transferred
- FreeBSD-EN-19:10 (opens in a new tab)vendor-advisoryx_transferred
- [mina-dev] 20190820 [jira] [Resolved] (SSHD-925) See if SCP vulnerability CVE-2019-6111 applies and mitigate it if so (opens in a new tab)mailing-listx_transferred
- https://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.html (opens in a new tab)x_transferred
- RHSA-2019:3702 (opens in a new tab)vendor-advisoryx_transferred
- [oss-security] 20220802 CVE-2022-29154: Rsync client-side arbitrary file write vulnerability. (opens in a new tab)mailing-listx_transferred
- https://cert-portal.siemens.com/productcert/pdf/ssa-412672.pdf (opens in a new tab)x_transferred
- https://cert-portal.siemens.com/productcert/html/ssa-412672.html (opens in a new tab)
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2019-15678 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2019-6111)Record last updated .