CVE-2019-6111

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).

Severity
MEDIUM
CVSS v3
5.9
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N · source nvd
Exploit chance (EPSS)
58.204%
chance of exploitation in the next 30 days
higher than 99.1% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 2
Metasploit modules: 0
Nuclei templates: 0
Exploit-DB: 2

Weakness

CISA SSVC decision points

Exploitationpoc
Automatableno
Technical impactpartial
Scored2025-12-18

Timeline

  1. 2019-01-11First Exploit-DB entry (EDB-ID 46516)20 days before publication
  2. 2019-01-31Published by the CNA00:00 UTC
  3. 2025-12-18CISA SSVC decision recorded2513 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

Exploit-DBTypePlatformPublishedEDB-verified
EDB-ID 46193remotemultiple2019-01-18no
EDB-ID 46516remotemultiple2019-01-11no

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
openbsd opensshthrough 7.9no fix listednot listed
apache mina_sshd2.2.0no fix listednot listed
canonical ubuntu_linux14.04no fix listed16.04no fix listed18.04no fix listed18.10no fix listednot listednot listednot listednot listed
debian debian_linux8.0no fix listed9.0no fix listednot listednot listed
fedoraproject fedora30no fix listednot listed
freebsd freebsdbefore 12.0fixed in 12.012.0no fix listed12.0not listed
fujitsu m10-1_firmware
fujitsu m10-4_firmware
fujitsu m10-4s_firmware
fujitsu m12-1_firmware
fujitsu m12-2_firmware
fujitsu m12-2s_firmware
redhat enterprise_linux7.0no fix listed8.0no fix listednot listednot listed
redhat enterprise_linux_eus8.1no fix listed8.2no fix listed8.4no fix listed8.6no fix listednot listednot listednot listednot listed
redhat enterprise_linux_server_aus8.2no fix listed8.4no fix listed8.6no fix listednot listednot listednot listed
redhat enterprise_linux_server_tus8.2no fix listed8.4no fix listed8.6no fix listednot listednot listednot listed
siemens scalance_x204rna_eec_firmwarebefore 3.2.7fixed in 3.2.73.2.7
siemens scalance_x204rna_firmwarebefore 3.2.7fixed in 3.2.73.2.7
winscp winscpthrough 5.1.3no fix listednot listed

Products and versions as NVD and the vendor that published the CVE list them.

References

25 references in total; the first 20 are shown.

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources