Findings

CVE-2019-6111

An issue was discovered in OpenSSH 7.9.

Published Jan 31, 2019 · updated Oct 14, 2026 · openbsd openssh

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

Timeline

Detection, updates, and resolution for this record.

  1. Jan 31, 2019 · NIST NVD

    Detected

    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 cli

  2. Oct 14, 2026 · NIST NVD

    Updated

    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 cli

Affected

  • cpe apache/mina sshd2.2.0
  • cpe canonical/ubuntu linux14.04
  • cpe canonical/ubuntu linux16.04
  • cpe canonical/ubuntu linux18.04
  • cpe canonical/ubuntu linux18.10
  • cpe debian/debian linux8.0
  • cpe debian/debian linux9.0
  • cpe fedoraproject/fedora30
  • cpe freebsd/freebsdversion unspecified
  • cpe openbsd/opensshversion unspecified
  • cpe redhat/enterprise linux7.0
  • cpe winscp/winscpversion unspecified

Sources

  • CVE.orgCVE-2019-6111

    Official CVE identifier

    cve.org
  • NIST NVDCVE-2019-6111

    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 att

    nvd.nist.gov

References