Skip to content
OpenAdvisories
Unscored Public exploit CVE-2021-41617 EUVD-2021-28630GHSA-mxh4-p4w6-g844

sshd in OpenSSH 6.2 through 8.x before 8.8, when certain non-default configurations are used, allows privilege escalation because supplemen…

Published Sep 26, 2021 · Updated Nov 10, 2026 · Assigned by mitre

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 openssh 1:8.7p1-1 —
Debian 13 openssh 1:8.7p1-1 —
Debian 12 openssh 1:8.7p1-1 —
Debian 10 openssh 1:7.9p1-10+deb10u4 DLA-3694-1
ReleasePackageFixed inAdvisory
Ubuntu 26.10 openssh-ssh1 No fix yet —
Ubuntu 26.04 LTS openssh-ssh1 No fix yet —
Ubuntu 25.10 openssh-ssh1 No fix yet —
Ubuntu 24.04 LTS openssh-ssh1 No fix yet —
Ubuntu 22.04 LTS openssh 1:8.9p1-3ubuntu0.6 USN-6565-1
Ubuntu 22.04 LTS openssh-ssh1 No fix yet —
Show 11 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS openssh 1:8.2p1-4ubuntu0.11 USN-6565-1
Ubuntu 20.04 LTS openssh-ssh1 No fix yet —
Ubuntu 18.04 LTS openssh-ssh1 No fix yet —
Ubuntu Pro FIPS 20.04 LTS openssh No fix yet —
Ubuntu Pro FIPS 18.04 LTS openssh No fix yet —
Ubuntu Pro FIPS 16.04 LTS openssh No fix yet —
Ubuntu Pro FIPS-updates 20.04 LTS openssh 1:8.2p1-4ubuntu0.fips.0.11 —
Ubuntu Pro FIPS-updates 18.04 LTS openssh No fix yet —
Ubuntu Pro FIPS-updates 16.04 LTS openssh 1:7.2p2-4ubuntu2.fips.2.10.3 —
Ubuntu Pro 18.04 LTS openssh No fix yet —
Ubuntu Pro 16.04 LTS openssh 1:7.2p2-4ubuntu2.10+esm2 USN-5666-1
Ubuntu Pro 14.04 LTS openssh No fix yet —
ReleasePackageFixed inAdvisory
RHEL 8 openssh +6 8.0p1-13.el8 RHSA-2022:2013
RHEL 8 pam_ssh_agent_auth 0.10.3-7.13.el8 RHSA-2022:2013
RHEL 7 openssh +7 7.4p1-22.el7_9 RHSA-2021:4782
RHEL 7 pam_ssh_agent_auth 0.10.3-2.22.el7_9 RHSA-2021:4782

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 8 openssh +6 8.0p1-13.el8 ALSA-2022:2013
AlmaLinux 8 pam_ssh_agent_auth 0.10.3-7.13.el8 ALSA-2022:2013

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 openssh 8.0p1-13.el8 RLSA-2022:2013
ReleasePackageFixed inAdvisory
SLES 15 SP3 openssh +1 8.4p1-3.6.1 SUSE-SU-2021:3950-1
SLES 15 SP2 openssh +1 8.1p1-5.21.1 SUSE-SU-2022:0805-1
SLES 15 SP1 openssh +1 7.9p1-6.28.1 SUSE-SU-2021:3947-1
SLES 15 openssh +1 7.6p1-9.44.1 SUSE-SU-2021:3887-1
SLES 12 SP5 openssh +1 7.2p2-78.13.1 SUSE-SU-2021:3875-1
Show 27 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP4 openssh +1 7.2p2-78.13.1 SUSE-SU-2021:3875-1
SLES 12 SP3 openssh +1 7.2p2-74.60.1 SUSE-SU-2021:3951-1
SLES 12 SP2 openssh +1 7.2p2-74.60.1 SUSE-SU-2021:3951-1
SLES 11 SP4 openssh +1 6.6p1-36.26.1 SUSE-SU-2021:14847-1
SLES 11 openssh-openssl1 6.6p1-19.12.1 SUSE-SU-2021:14870-1
SLES for SAP 15 SP2 openssh +1 8.1p1-5.21.1 SUSE-SU-2022:0805-1
SLES for SAP 15 SP1 openssh +1 7.9p1-6.28.1 SUSE-SU-2021:3947-1
SLES for SAP 15 openssh +1 7.6p1-9.44.1 SUSE-SU-2021:3887-1
SLES for SAP 12 SP5 openssh +1 7.2p2-78.13.1 SUSE-SU-2021:3875-1
SLES for SAP 12 SP4 openssh +1 7.2p2-78.13.1 SUSE-SU-2021:3875-1
SLES for SAP 12 SP3 openssh +1 7.2p2-74.60.1 SUSE-SU-2021:3951-1
SLE Real Time 15 SP2 openssh +1 8.1p1-5.21.1 SUSE-SU-2022:0805-1
SLE Micro 5.1 openssh 8.4p1-3.6.1 SUSE-SU-2021:3950-1
SLE Micro 5.0 openssh 8.1p1-5.21.1 SUSE-SU-2022:0805-1
SLE HPC 15 SP2 openssh +1 8.1p1-5.21.1 SUSE-SU-2022:0805-1
SLE HPC 15 SP1 openssh +1 7.9p1-6.28.1 SUSE-SU-2021:3947-1
SLE HPC 15 openssh +1 7.6p1-9.44.1 SUSE-SU-2021:3887-1
SUSE OpenStack Cloud Crowbar 9 openssh +1 7.2p2-78.13.1 SUSE-SU-2021:3875-1
SUSE OpenStack Cloud Crowbar 8 openssh +1 7.2p2-74.60.1 SUSE-SU-2021:3951-1
SUSE OpenStack Cloud 9 openssh +1 7.2p2-78.13.1 SUSE-SU-2021:3875-1
SUSE OpenStack Cloud 8 openssh +1 7.2p2-74.60.1 SUSE-SU-2021:3951-1
SUSE Manager Server 4.1 openssh +1 8.1p1-5.21.1 SUSE-SU-2022:0805-1
SUSE Manager Retail Branch Server 4.1 openssh +1 8.1p1-5.21.1 SUSE-SU-2022:0805-1
SUSE Manager Proxy 4.1 openssh +1 8.1p1-5.21.1 SUSE-SU-2022:0805-1
SUSE HPE Helion OpenStack 8 openssh +1 7.2p2-74.60.1 SUSE-SU-2021:3951-1
SUSE Enterprise Storage 7 openssh +1 8.1p1-5.21.1 SUSE-SU-2022:0805-1
SUSE Enterprise Storage 6 openssh +1 7.9p1-6.28.1 SUSE-SU-2021:3947-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed openssh 9.6p1-3.1 openSUSE-SU-2024:13842-1
openSUSE Leap 15.3 openssh +1 8.4p1-3.6.1 openSUSE-SU-2021:3950-1
ReleasePackageFixed inAdvisory
Alpine v3.24 openssh 8.8_p1-r0 —
Alpine v3.23 openssh 8.8_p1-r0 —
Alpine v3.22 openssh 8.8_p1-r0 —
Alpine v3.21 openssh 8.8_p1-r0 —
Alpine v3.20 openssh 8.8_p1-r0 —
Show 9 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 openssh 8.8_p1-r0 —
Alpine v3.18 openssh 8.8_p1-r0 —
Alpine v3.17 openssh 8.8_p1-r0 —
Alpine v3.16 openssh 8.8_p1-r0 —
Alpine v3.15 openssh 8.8_p1-r0 —
Alpine v3.14 openssh 8.6_p1-r3 —
Alpine v3.13 openssh 8.4_p1-r4 —
Alpine v3.12 openssh 8.3_p1-r3 —
Alpine v3.11 openssh 8.1_p1-r1 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 openssh +7 7.4p1-22.amzn2.0.1 ALAS2-2022-1748
Amazon Linux 2 pam_ssh_agent_auth 0.10.3-2.22.amzn2.0.1 ALAS2-2022-1748

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 openssh +6 8.0p1-13.el8 ELSA-2022-2013
Oracle Linux 8 pam_ssh_agent_auth 0.10.3-7.13.el8 ELSA-2022-2013
Oracle Linux 7 openssh +7 7.4p1-22.0.1.el7_9 ELSA-2021-9575, ELSA-2021-4782
Oracle Linux 7 pam_ssh_agent_auth 0.10.3-2.22.0.1.el7_9 ELSA-2021-9575, ELSA-2021-4782

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 35

References