sshd in OpenSSH 6.2 through 8.x before 8.8, when certain non-default configurations are used, allows privilege escalation because supplemental groups are not initialized as expected. Helper programs for AuthorizedKeysCommand and AuthorizedPrincipalsCommand may run with privileges associated with group memberships of the sshd process, if the configuration specifies running the command as a different user.
{ "availability": "Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro", "ubuntu_priority": "low", "binaries": [ { "binary_version": "1:7.2p2-4ubuntu2.10+esm2", "binary_name": "openssh-client" }, { "binary_version": "1:7.2p2-4ubuntu2.10+esm2", "binary_name": "openssh-client-dbgsym" }, { "binary_version": "1:7.2p2-4ubuntu2.10+esm2", "binary_name": "openssh-client-ssh1" }, { "binary_version": "1:7.2p2-4ubuntu2.10+esm2", "binary_name": "openssh-client-ssh1-dbgsym" }, { "binary_version": "1:7.2p2-4ubuntu2.10+esm2", "binary_name": "openssh-client-udeb" }, { "binary_version": "1:7.2p2-4ubuntu2.10+esm2", "binary_name": "openssh-client-udeb-dbgsym" }, { "binary_version": "1:7.2p2-4ubuntu2.10+esm2", "binary_name": "openssh-server" }, { "binary_version": "1:7.2p2-4ubuntu2.10+esm2", "binary_name": "openssh-server-dbgsym" }, { "binary_version": "1:7.2p2-4ubuntu2.10+esm2", "binary_name": "openssh-server-udeb" }, { "binary_version": "1:7.2p2-4ubuntu2.10+esm2", "binary_name": "openssh-server-udeb-dbgsym" }, { "binary_version": "1:7.2p2-4ubuntu2.10+esm2", "binary_name": "openssh-sftp-server" }, { "binary_version": "1:7.2p2-4ubuntu2.10+esm2", "binary_name": "openssh-sftp-server-dbgsym" }, { "binary_version": "1:7.2p2-4ubuntu2.10+esm2", "binary_name": "ssh" }, { "binary_version": "1:7.2p2-4ubuntu2.10+esm2", "binary_name": "ssh-askpass-gnome" }, { "binary_version": "1:7.2p2-4ubuntu2.10+esm2", "binary_name": "ssh-askpass-gnome-dbgsym" }, { "binary_version": "1:7.2p2-4ubuntu2.10+esm2", "binary_name": "ssh-krb5" } ], "priority_reason": "Cannot be reproduced on Ubuntu since sshd drops groups early" }
{ "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro", "ubuntu_priority": "low", "binaries": [ { "binary_version": "1:7.2p2-4ubuntu2.fips.2.10.3", "binary_name": "openssh-client" }, { "binary_version": "1:7.2p2-4ubuntu2.fips.2.10.3", "binary_name": "openssh-client-dbgsym" }, { "binary_version": "1:7.2p2-4ubuntu2.fips.2.10.3", "binary_name": "openssh-client-hmac" }, { "binary_version": "1:7.2p2-4ubuntu2.fips.2.10.3", "binary_name": "openssh-client-ssh1" }, { "binary_version": "1:7.2p2-4ubuntu2.fips.2.10.3", "binary_name": "openssh-client-ssh1-dbgsym" }, { "binary_version": "1:7.2p2-4ubuntu2.fips.2.10.3", "binary_name": "openssh-client-udeb" }, { "binary_version": "1:7.2p2-4ubuntu2.fips.2.10.3", "binary_name": "openssh-client-udeb-dbgsym" }, { "binary_version": "1:7.2p2-4ubuntu2.fips.2.10.3", "binary_name": "openssh-server" }, { "binary_version": "1:7.2p2-4ubuntu2.fips.2.10.3", "binary_name": "openssh-server-dbgsym" }, { "binary_version": "1:7.2p2-4ubuntu2.fips.2.10.3", "binary_name": "openssh-server-hmac" }, { "binary_version": "1:7.2p2-4ubuntu2.fips.2.10.3", "binary_name": "openssh-server-udeb" }, { "binary_version": "1:7.2p2-4ubuntu2.fips.2.10.3", "binary_name": "openssh-server-udeb-dbgsym" }, { "binary_version": "1:7.2p2-4ubuntu2.fips.2.10.3", "binary_name": "openssh-sftp-server" }, { "binary_version": "1:7.2p2-4ubuntu2.fips.2.10.3", "binary_name": "openssh-sftp-server-dbgsym" }, { "binary_version": "1:7.2p2-4ubuntu2.fips.2.10.3", "binary_name": "ssh" }, { "binary_version": "1:7.2p2-4ubuntu2.fips.2.10.3", "binary_name": "ssh-askpass-gnome" }, { "binary_version": "1:7.2p2-4ubuntu2.fips.2.10.3", "binary_name": "ssh-askpass-gnome-dbgsym" }, { "binary_version": "1:7.2p2-4ubuntu2.fips.2.10.3", "binary_name": "ssh-krb5" } ], "priority_reason": "Cannot be reproduced on Ubuntu since sshd drops groups early" }
{ "availability": "No subscription required", "ubuntu_priority": "low", "binaries": [ { "binary_version": "1:8.2p1-4ubuntu0.11", "binary_name": "openssh-client" }, { "binary_version": "1:8.2p1-4ubuntu0.11", "binary_name": "openssh-client-dbgsym" }, { "binary_version": "1:8.2p1-4ubuntu0.11", "binary_name": "openssh-client-udeb" }, { "binary_version": "1:8.2p1-4ubuntu0.11", "binary_name": "openssh-server" }, { "binary_version": "1:8.2p1-4ubuntu0.11", "binary_name": "openssh-server-dbgsym" }, { "binary_version": "1:8.2p1-4ubuntu0.11", "binary_name": "openssh-server-udeb" }, { "binary_version": "1:8.2p1-4ubuntu0.11", "binary_name": "openssh-sftp-server" }, { "binary_version": "1:8.2p1-4ubuntu0.11", "binary_name": "openssh-sftp-server-dbgsym" }, { "binary_version": "1:8.2p1-4ubuntu0.11", "binary_name": "openssh-tests" }, { "binary_version": "1:8.2p1-4ubuntu0.11", "binary_name": "openssh-tests-dbgsym" }, { "binary_version": "1:8.2p1-4ubuntu0.11", "binary_name": "ssh" }, { "binary_version": "1:8.2p1-4ubuntu0.11", "binary_name": "ssh-askpass-gnome" }, { "binary_version": "1:8.2p1-4ubuntu0.11", "binary_name": "ssh-askpass-gnome-dbgsym" } ], "priority_reason": "Cannot be reproduced on Ubuntu since sshd drops groups early" }
{ "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro", "ubuntu_priority": "low", "binaries": [ { "binary_version": "1:8.2p1-4ubuntu0.fips.0.11", "binary_name": "openssh-client" }, { "binary_version": "1:8.2p1-4ubuntu0.fips.0.11", "binary_name": "openssh-client-dbgsym" }, { "binary_version": "1:8.2p1-4ubuntu0.fips.0.11", "binary_name": "openssh-client-udeb" }, { "binary_version": "1:8.2p1-4ubuntu0.fips.0.11", "binary_name": "openssh-server" }, { "binary_version": "1:8.2p1-4ubuntu0.fips.0.11", "binary_name": "openssh-server-dbgsym" }, { "binary_version": "1:8.2p1-4ubuntu0.fips.0.11", "binary_name": "openssh-server-udeb" }, { "binary_version": "1:8.2p1-4ubuntu0.fips.0.11", "binary_name": "openssh-sftp-server" }, { "binary_version": "1:8.2p1-4ubuntu0.fips.0.11", "binary_name": "openssh-sftp-server-dbgsym" }, { "binary_version": "1:8.2p1-4ubuntu0.fips.0.11", "binary_name": "openssh-tests" }, { "binary_version": "1:8.2p1-4ubuntu0.fips.0.11", "binary_name": "openssh-tests-dbgsym" }, { "binary_version": "1:8.2p1-4ubuntu0.fips.0.11", "binary_name": "ssh" }, { "binary_version": "1:8.2p1-4ubuntu0.fips.0.11", "binary_name": "ssh-askpass-gnome" }, { "binary_version": "1:8.2p1-4ubuntu0.fips.0.11", "binary_name": "ssh-askpass-gnome-dbgsym" } ], "priority_reason": "Cannot be reproduced on Ubuntu since sshd drops groups early" }
{ "availability": "No subscription required", "ubuntu_priority": "low", "binaries": [ { "binary_version": "1:8.9p1-3", "binary_name": "openssh-client" }, { "binary_version": "1:8.9p1-3", "binary_name": "openssh-client-dbgsym" }, { "binary_version": "1:8.9p1-3", "binary_name": "openssh-server" }, { "binary_version": "1:8.9p1-3", "binary_name": "openssh-server-dbgsym" }, { "binary_version": "1:8.9p1-3", "binary_name": "openssh-sftp-server" }, { "binary_version": "1:8.9p1-3", "binary_name": "openssh-sftp-server-dbgsym" }, { "binary_version": "1:8.9p1-3", "binary_name": "openssh-tests" }, { "binary_version": "1:8.9p1-3", "binary_name": "openssh-tests-dbgsym" }, { "binary_version": "1:8.9p1-3", "binary_name": "ssh" }, { "binary_version": "1:8.9p1-3", "binary_name": "ssh-askpass-gnome" }, { "binary_version": "1:8.9p1-3", "binary_name": "ssh-askpass-gnome-dbgsym" } ], "priority_reason": "Cannot be reproduced on Ubuntu since sshd drops groups early" }