CVE-2019-6111

Priority
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).
Notes
 sarnold> openssh-ssh1 is provided for compatibility with old devices that
  cannot be upgraded to modern protocols. Thus we may not provide security
  support for this package if doing so would prevent access to equipment.
 mdeslaur>
 mdeslaur> The recommended workaround for this issue is to switch to using
 mdeslaur> sftp instead of scp.
 mdeslaur>
 mdeslaur> The updates in USN-3885-1 inverted two CVE numbers by accident.
 mdeslaur>
 mdeslaur> The initial USN was incomplete and did not include the second
 mdeslaur> commit.
Assigned-to
mdeslaur
Package
Upstream:needs-triage
Ubuntu 12.04 ESM (Precise Pangolin):needed
Ubuntu 14.04 ESM (Trusty Tahr):released (1:6.6p1-2ubuntu2.13)
Ubuntu 16.04 LTS (Xenial Xerus):released (1:7.2p2-4ubuntu2.8)
Ubuntu 18.04 LTS (Bionic Beaver):released (1:7.6p1-4ubuntu0.3)
Ubuntu 18.10 (Cosmic Cuttlefish):released (1:7.7p1-4ubuntu0.3)
Ubuntu 19.04 (Disco Dingo):pending (1:7.9p1-9)
Ubuntu 19.10 (Eoan):pending (1:7.9p1-9)
Patches:
Upstream:https://github.com/openssh/openssh-portable/commit/391ffc4b9d31fa1f4ad566499fef9176ff8a07dc
Upstream:https://github.com/openssh/openssh-portable/commit/3d896c157c722bc47adca51a58dca859225b5874
Package
Upstream:ignored (frozen on openssh 7.5p)
Ubuntu 12.04 ESM (Precise Pangolin):DNE
Ubuntu 14.04 ESM (Trusty Tahr):DNE
Ubuntu 16.04 LTS (Xenial Xerus):DNE
Ubuntu 18.04 LTS (Bionic Beaver):needs-triage
Ubuntu 18.10 (Cosmic Cuttlefish):ignored (reached end-of-life)
Ubuntu 19.04 (Disco Dingo):needs-triage
Ubuntu 19.10 (Eoan):needs-triage
More Information

Updated: 2019-07-18 17:43:23 UTC (commit 649f8c6455205380e35ed054e9ea734222c716bb)