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