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": [ { "ssh-askpass-gnome": "1:6.6p1-2ubuntu2.13", "ssh-askpass-gnome-dbgsym": "1:6.6p1-2ubuntu2.13", "openssh-client-udeb-dbgsym": "1:6.6p1-2ubuntu2.13", "openssh-client-udeb": "1:6.6p1-2ubuntu2.13", "ssh-krb5": "1:6.6p1-2ubuntu2.13", "openssh-server-udeb-dbgsym": "1:6.6p1-2ubuntu2.13", "openssh-sftp-server": "1:6.6p1-2ubuntu2.13", "openssh-sftp-server-dbgsym": "1:6.6p1-2ubuntu2.13", "openssh-client": "1:6.6p1-2ubuntu2.13", "openssh-server": "1:6.6p1-2ubuntu2.13", "openssh-server-udeb": "1:6.6p1-2ubuntu2.13", "openssh-server-dbgsym": "1:6.6p1-2ubuntu2.13", "ssh": "1:6.6p1-2ubuntu2.13", "openssh-client-dbgsym": "1:6.6p1-2ubuntu2.13" } ] }
{ "availability": "No subscription required", "ubuntu_priority": "low", "binaries": [ { "openssh-client-ssh1-dbgsym": "1:7.2p2-4ubuntu2.8", "ssh-askpass-gnome-dbgsym": "1:7.2p2-4ubuntu2.8", "ssh-askpass-gnome": "1:7.2p2-4ubuntu2.8", "openssh-client-udeb-dbgsym": "1:7.2p2-4ubuntu2.8", "openssh-client-ssh1": "1:7.2p2-4ubuntu2.8", "openssh-client-udeb": "1:7.2p2-4ubuntu2.8", "ssh-krb5": "1:7.2p2-4ubuntu2.8", "openssh-server-udeb-dbgsym": "1:7.2p2-4ubuntu2.8", "openssh-client": "1:7.2p2-4ubuntu2.8", "openssh-sftp-server": "1:7.2p2-4ubuntu2.8", "openssh-sftp-server-dbgsym": "1:7.2p2-4ubuntu2.8", "openssh-server": "1:7.2p2-4ubuntu2.8", "openssh-server-udeb": "1:7.2p2-4ubuntu2.8", "openssh-server-dbgsym": "1:7.2p2-4ubuntu2.8", "ssh": "1:7.2p2-4ubuntu2.8", "openssh-client-dbgsym": "1:7.2p2-4ubuntu2.8" } ] }
{ "availability": "No subscription required", "ubuntu_priority": "low", "binaries": [ { "openssh-client": "1:7.6p1-4ubuntu0.3", "ssh-askpass-gnome-dbgsym": "1:7.6p1-4ubuntu0.3", "openssh-sftp-server-dbgsym": "1:7.6p1-4ubuntu0.3", "ssh-askpass-gnome": "1:7.6p1-4ubuntu0.3", "openssh-sftp-server": "1:7.6p1-4ubuntu0.3", "openssh-server-udeb": "1:7.6p1-4ubuntu0.3", "openssh-server": "1:7.6p1-4ubuntu0.3", "openssh-server-dbgsym": "1:7.6p1-4ubuntu0.3", "openssh-client-udeb": "1:7.6p1-4ubuntu0.3", "ssh": "1:7.6p1-4ubuntu0.3", "openssh-client-dbgsym": "1:7.6p1-4ubuntu0.3" } ] }