CVEfocus › CVE database › CVE-2021-41617

CVE-2021-41617

EPSS 1.5% (higher than 74% of CVEs)Published 2021-09-26Updated 2026-11-10Assigner: mitre

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.

What to do

Fixed builds are available from AlmaLinux, Alpine, Debian, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

44Fixed
3Fix pending
13Will not fix
10Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10openssh-ssh1Fix pendingUBUNTU-CVE-2021-41617
Ubuntu 26.04opensshNot affected
vulnerable_code_not_present
Ubuntu 26.04openssh-ssh1Will not fix
openssh-ssh1 is only provided for compatibility with old devices that cannot be upgraded to modern protocols. We will not be providing any security support…
UBUNTU-CVE-2021-41617
Ubuntu 25.10opensshNot affected
vulnerable_code_not_present
Ubuntu 25.10openssh-ssh1Will not fix
openssh-ssh1 is only provided for compatibility with old devices that cannot be upgraded to modern protocols. We will not be providing any security support…
UBUNTU-CVE-2021-41617
Ubuntu 24.04opensshNot affected
vulnerable_code_not_present
Ubuntu 24.04openssh-ssh1Will not fix
openssh-ssh1 is only provided for compatibility with old devices that cannot be upgraded to modern protocols. We will not be providing any security support…
UBUNTU-CVE-2021-41617
Ubuntu 22.04opensshNot affected
vulnerable_code_not_present
Ubuntu 22.04openssh-ssh1Will not fix
openssh-ssh1 is only provided for compatibility with old devices that cannot be upgraded to modern protocols. We will not be providing any security support…
UBUNTU-CVE-2021-41617
Ubuntu 20.04opensshFixed1:8.2p1-4ubuntu0.11UBUNTU-CVE-2021-41617
Ubuntu 20.04openssh-ssh1Will not fix
openssh-ssh1 is only provided for compatibility with old devices that cannot be upgraded to modern protocols. We will not be providing any security support…
UBUNTU-CVE-2021-41617
Ubuntu 18.04opensshFix pendingUBUNTU-CVE-2021-41617
Ubuntu 18.04openssh-ssh1Will not fix
openssh-ssh1 is only provided for compatibility with old devices that cannot be upgraded to modern protocols. We will not be providing any security support…
UBUNTU-CVE-2021-41617
Ubuntu 16.04opensshWill not fix
openssh-ssh1 is only provided for compatibility with old devices that cannot be upgraded to modern protocols. We will not be providing any security support…
1:7.2p2-4ubuntu2.10+esm2 (Ubuntu Pro)UBUNTU-CVE-2021-41617
Ubuntu 14.04opensshFix pendingUBUNTU-CVE-2021-41617
Debian 14opensshFixed1:8.7p1-1DEBIAN-CVE-2021-41617
Debian 13opensshFixed1:8.7p1-1DEBIAN-CVE-2021-41617
Debian 12opensshFixed1:8.7p1-1DEBIAN-CVE-2021-41617
Red Hat Enterprise Linux 9opensshNot affected
Red Hat Enterprise Linux 9openssh-askpassNot affected
Red Hat Enterprise Linux 9openssh-clientsNot affected
Red Hat Enterprise Linux 9openssh-keycatNot affected
Red Hat Enterprise Linux 9openssh-serverNot affected
Red Hat Enterprise Linux 9pam_ssh_agent_authNot affected
Red Hat Enterprise Linux 8opensshFixed0:8.0p1-13.el8RHSA-2022:2013
Red Hat Enterprise Linux 8openssh-askpassFixed0:8.0p1-13.el8RHSA-2022:2013
Red Hat Enterprise Linux 8openssh-cavsFixed0:8.0p1-13.el8RHSA-2022:2013
Red Hat Enterprise Linux 8openssh-clientsFixed0:8.0p1-13.el8RHSA-2022:2013
Red Hat Enterprise Linux 8openssh-keycatFixed0:8.0p1-13.el8RHSA-2022:2013
Red Hat Enterprise Linux 8openssh-ldapFixed0:8.0p1-13.el8RHSA-2022:2013
Red Hat Enterprise Linux 8openssh-serverFixed0:8.0p1-13.el8RHSA-2022:2013
Red Hat Enterprise Linux 8pam_ssh_agent_authFixed0:0.10.3-7.13.el8RHSA-2022:2013
Red Hat Enterprise Linux 7opensshFixed0:7.4p1-22.el7_9RHSA-2021:4782
Red Hat Enterprise Linux 7openssh-askpassFixed0:7.4p1-22.el7_9RHSA-2021:4782
Red Hat Enterprise Linux 7openssh-cavsFixed0:7.4p1-22.el7_9RHSA-2021:4782
Red Hat Enterprise Linux 7openssh-clientsFixed0:7.4p1-22.el7_9RHSA-2021:4782
Red Hat Enterprise Linux 7openssh-keycatFixed0:7.4p1-22.el7_9RHSA-2021:4782
Red Hat Enterprise Linux 7openssh-ldapFixed0:7.4p1-22.el7_9RHSA-2021:4782
Red Hat Enterprise Linux 7openssh-serverFixed0:7.4p1-22.el7_9RHSA-2021:4782
Red Hat Enterprise Linux 7openssh-server-sysvinitFixed0:7.4p1-22.el7_9RHSA-2021:4782
Red Hat Enterprise Linux 7pam_ssh_agent_authFixed0:0.10.3-2.22.el7_9RHSA-2021:4782
Red Hat Enterprise Linux 6opensshWill not fix
Out of support scope
Red Hat Enterprise Linux 6openssh-askpassWill not fix
Out of support scope
Red Hat Enterprise Linux 6openssh-clientsWill not fix
Out of support scope
Red Hat Enterprise Linux 6openssh-ldapWill not fix
Out of support scope
Red Hat Enterprise Linux 6openssh-serverWill not fix
Out of support scope
Red Hat Enterprise Linux 6pam_ssh_agent_authWill not fix
Out of support scope
AlmaLinux 8opensshFixed8.0p1-13.el8ALSA-2022:2013
AlmaLinux 8openssh-askpassFixed8.0p1-13.el8ALSA-2022:2013
AlmaLinux 8openssh-cavsFixed8.0p1-13.el8ALSA-2022:2013
AlmaLinux 8openssh-clientsFixed8.0p1-13.el8ALSA-2022:2013
AlmaLinux 8openssh-keycatFixed8.0p1-13.el8ALSA-2022:2013
AlmaLinux 8openssh-ldapFixed8.0p1-13.el8ALSA-2022:2013
AlmaLinux 8openssh-serverFixed8.0p1-13.el8ALSA-2022:2013
AlmaLinux 8pam_ssh_agent_authFixed0.10.3-7.13.el8ALSA-2022:2013
Rocky Linux 8opensshFixed0:8.0p1-13.el8RLSA-2022:2013
Alpine Linux 3.24opensshFixed8.8_p1-r0ALPINE-CVE-2021-41617
Alpine Linux 3.23opensshFixed8.8_p1-r0ALPINE-CVE-2021-41617
Alpine Linux 3.22opensshFixed8.8_p1-r0ALPINE-CVE-2021-41617
Alpine Linux 3.21opensshFixed8.8_p1-r0ALPINE-CVE-2021-41617
Alpine Linux 3.20opensshFixed8.8_p1-r0ALPINE-CVE-2021-41617
Alpine Linux 3.19opensshFixed8.8_p1-r0ALPINE-CVE-2021-41617
Alpine Linux 3.18opensshFixed8.8_p1-r0ALPINE-CVE-2021-41617
Alpine Linux 3.17opensshFixed8.8_p1-r0ALPINE-CVE-2021-41617
Alpine Linux 3.16opensshFixed8.8_p1-r0ALPINE-CVE-2021-41617
Alpine Linux 3.15opensshFixed8.8_p1-r0ALPINE-CVE-2021-41617
Alpine Linux 3.14opensshFixed8.6_p1-r3ALPINE-CVE-2021-41617
Alpine Linux 3.13opensshFixed8.4_p1-r4ALPINE-CVE-2021-41617
Alpine Linux 3.12opensshFixed8.3_p1-r3ALPINE-CVE-2021-41617
Alpine Linux 3.11opensshFixed8.1_p1-r1ALPINE-CVE-2021-41617

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.