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).
{ "availability": "No subscription required", "ubuntu_priority": "low", "binaries": [ { "binary_version": "1:6.6p1-2ubuntu2.13", "binary_name": "openssh-client" }, { "binary_version": "1:6.6p1-2ubuntu2.13", "binary_name": "openssh-client-dbgsym" }, { "binary_version": "1:6.6p1-2ubuntu2.13", "binary_name": "openssh-client-udeb" }, { "binary_version": "1:6.6p1-2ubuntu2.13", "binary_name": "openssh-client-udeb-dbgsym" }, { "binary_version": "1:6.6p1-2ubuntu2.13", "binary_name": "openssh-server" }, { "binary_version": "1:6.6p1-2ubuntu2.13", "binary_name": "openssh-server-dbgsym" }, { "binary_version": "1:6.6p1-2ubuntu2.13", "binary_name": "openssh-server-udeb" }, { "binary_version": "1:6.6p1-2ubuntu2.13", "binary_name": "openssh-server-udeb-dbgsym" }, { "binary_version": "1:6.6p1-2ubuntu2.13", "binary_name": "openssh-sftp-server" }, { "binary_version": "1:6.6p1-2ubuntu2.13", "binary_name": "openssh-sftp-server-dbgsym" }, { "binary_version": "1:6.6p1-2ubuntu2.13", "binary_name": "ssh" }, { "binary_version": "1:6.6p1-2ubuntu2.13", "binary_name": "ssh-askpass-gnome" }, { "binary_version": "1:6.6p1-2ubuntu2.13", "binary_name": "ssh-askpass-gnome-dbgsym" }, { "binary_version": "1:6.6p1-2ubuntu2.13", "binary_name": "ssh-krb5" } ] }
{ "availability": "No subscription required", "ubuntu_priority": "low", "binaries": [ { "binary_version": "1:7.2p2-4ubuntu2.8", "binary_name": "openssh-client" }, { "binary_version": "1:7.2p2-4ubuntu2.8", "binary_name": "openssh-client-dbgsym" }, { "binary_version": "1:7.2p2-4ubuntu2.8", "binary_name": "openssh-client-ssh1" }, { "binary_version": "1:7.2p2-4ubuntu2.8", "binary_name": "openssh-client-ssh1-dbgsym" }, { "binary_version": "1:7.2p2-4ubuntu2.8", "binary_name": "openssh-client-udeb" }, { "binary_version": "1:7.2p2-4ubuntu2.8", "binary_name": "openssh-client-udeb-dbgsym" }, { "binary_version": "1:7.2p2-4ubuntu2.8", "binary_name": "openssh-server" }, { "binary_version": "1:7.2p2-4ubuntu2.8", "binary_name": "openssh-server-dbgsym" }, { "binary_version": "1:7.2p2-4ubuntu2.8", "binary_name": "openssh-server-udeb" }, { "binary_version": "1:7.2p2-4ubuntu2.8", "binary_name": "openssh-server-udeb-dbgsym" }, { "binary_version": "1:7.2p2-4ubuntu2.8", "binary_name": "openssh-sftp-server" }, { "binary_version": "1:7.2p2-4ubuntu2.8", "binary_name": "openssh-sftp-server-dbgsym" }, { "binary_version": "1:7.2p2-4ubuntu2.8", "binary_name": "ssh" }, { "binary_version": "1:7.2p2-4ubuntu2.8", "binary_name": "ssh-askpass-gnome" }, { "binary_version": "1:7.2p2-4ubuntu2.8", "binary_name": "ssh-askpass-gnome-dbgsym" }, { "binary_version": "1:7.2p2-4ubuntu2.8", "binary_name": "ssh-krb5" } ] }
{ "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro", "ubuntu_priority": "low", "binaries": [ { "binary_version": "1:7.2p2-4ubuntu2.fips.2.8.1", "binary_name": "openssh-client" }, { "binary_version": "1:7.2p2-4ubuntu2.fips.2.8.1", "binary_name": "openssh-client-dbgsym" }, { "binary_version": "1:7.2p2-4ubuntu2.fips.2.8.1", "binary_name": "openssh-client-hmac" }, { "binary_version": "1:7.2p2-4ubuntu2.fips.2.8.1", "binary_name": "openssh-client-ssh1" }, { "binary_version": "1:7.2p2-4ubuntu2.fips.2.8.1", "binary_name": "openssh-client-ssh1-dbgsym" }, { "binary_version": "1:7.2p2-4ubuntu2.fips.2.8.1", "binary_name": "openssh-client-udeb" }, { "binary_version": "1:7.2p2-4ubuntu2.fips.2.8.1", "binary_name": "openssh-client-udeb-dbgsym" }, { "binary_version": "1:7.2p2-4ubuntu2.fips.2.8.1", "binary_name": "openssh-server" }, { "binary_version": "1:7.2p2-4ubuntu2.fips.2.8.1", "binary_name": "openssh-server-dbgsym" }, { "binary_version": "1:7.2p2-4ubuntu2.fips.2.8.1", "binary_name": "openssh-server-hmac" }, { "binary_version": "1:7.2p2-4ubuntu2.fips.2.8.1", "binary_name": "openssh-server-udeb" }, { "binary_version": "1:7.2p2-4ubuntu2.fips.2.8.1", "binary_name": "openssh-server-udeb-dbgsym" }, { "binary_version": "1:7.2p2-4ubuntu2.fips.2.8.1", "binary_name": "openssh-sftp-server" }, { "binary_version": "1:7.2p2-4ubuntu2.fips.2.8.1", "binary_name": "openssh-sftp-server-dbgsym" }, { "binary_version": "1:7.2p2-4ubuntu2.fips.2.8.1", "binary_name": "ssh" }, { "binary_version": "1:7.2p2-4ubuntu2.fips.2.8.1", "binary_name": "ssh-askpass-gnome" }, { "binary_version": "1:7.2p2-4ubuntu2.fips.2.8.1", "binary_name": "ssh-askpass-gnome-dbgsym" }, { "binary_version": "1:7.2p2-4ubuntu2.fips.2.8.1", "binary_name": "ssh-krb5" } ] }
{ "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro", "ubuntu_priority": "low", "binaries": [ { "binary_version": "1:7.2p2-4ubuntu2.fips.2.10.1", "binary_name": "openssh-client" }, { "binary_version": "1:7.2p2-4ubuntu2.fips.2.10.1", "binary_name": "openssh-client-dbgsym" }, { "binary_version": "1:7.2p2-4ubuntu2.fips.2.10.1", "binary_name": "openssh-client-hmac" }, { "binary_version": "1:7.2p2-4ubuntu2.fips.2.10.1", "binary_name": "openssh-client-ssh1" }, { "binary_version": "1:7.2p2-4ubuntu2.fips.2.10.1", "binary_name": "openssh-client-ssh1-dbgsym" }, { "binary_version": "1:7.2p2-4ubuntu2.fips.2.10.1", "binary_name": "openssh-client-udeb" }, { "binary_version": "1:7.2p2-4ubuntu2.fips.2.10.1", "binary_name": "openssh-client-udeb-dbgsym" }, { "binary_version": "1:7.2p2-4ubuntu2.fips.2.10.1", "binary_name": "openssh-server" }, { "binary_version": "1:7.2p2-4ubuntu2.fips.2.10.1", "binary_name": "openssh-server-dbgsym" }, { "binary_version": "1:7.2p2-4ubuntu2.fips.2.10.1", "binary_name": "openssh-server-hmac" }, { "binary_version": "1:7.2p2-4ubuntu2.fips.2.10.1", "binary_name": "openssh-server-udeb" }, { "binary_version": "1:7.2p2-4ubuntu2.fips.2.10.1", "binary_name": "openssh-server-udeb-dbgsym" }, { "binary_version": "1:7.2p2-4ubuntu2.fips.2.10.1", "binary_name": "openssh-sftp-server" }, { "binary_version": "1:7.2p2-4ubuntu2.fips.2.10.1", "binary_name": "openssh-sftp-server-dbgsym" }, { "binary_version": "1:7.2p2-4ubuntu2.fips.2.10.1", "binary_name": "ssh" }, { "binary_version": "1:7.2p2-4ubuntu2.fips.2.10.1", "binary_name": "ssh-askpass-gnome" }, { "binary_version": "1:7.2p2-4ubuntu2.fips.2.10.1", "binary_name": "ssh-askpass-gnome-dbgsym" }, { "binary_version": "1:7.2p2-4ubuntu2.fips.2.10.1", "binary_name": "ssh-krb5" } ] }
{ "availability": "No subscription required", "ubuntu_priority": "low", "binaries": [ { "binary_version": "1:7.6p1-4ubuntu0.3", "binary_name": "openssh-client" }, { "binary_version": "1:7.6p1-4ubuntu0.3", "binary_name": "openssh-client-dbgsym" }, { "binary_version": "1:7.6p1-4ubuntu0.3", "binary_name": "openssh-client-udeb" }, { "binary_version": "1:7.6p1-4ubuntu0.3", "binary_name": "openssh-server" }, { "binary_version": "1:7.6p1-4ubuntu0.3", "binary_name": "openssh-server-dbgsym" }, { "binary_version": "1:7.6p1-4ubuntu0.3", "binary_name": "openssh-server-udeb" }, { "binary_version": "1:7.6p1-4ubuntu0.3", "binary_name": "openssh-sftp-server" }, { "binary_version": "1:7.6p1-4ubuntu0.3", "binary_name": "openssh-sftp-server-dbgsym" }, { "binary_version": "1:7.6p1-4ubuntu0.3", "binary_name": "ssh" }, { "binary_version": "1:7.6p1-4ubuntu0.3", "binary_name": "ssh-askpass-gnome" }, { "binary_version": "1:7.6p1-4ubuntu0.3", "binary_name": "ssh-askpass-gnome-dbgsym" } ] }