cve.bz

CVE-2021-41617

7.0 highEPSS 2.5%Fix available

High (7.0). EPSS 2.5% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.0 high
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
2.5% (unchanged from 2.5% a week ago; 2.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 85th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-10-08. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
Published
Modified
Assigned by
mitre (CNA)
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-41617 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-41617?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-41617?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-41617 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2021-41617

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2021-41617](https://cve.bz/cve/badge/CVE-2021-41617.svg)](https://cve.bz/cve/CVE-2021-41617)

HTML:

<a href="https://cve.bz/cve/CVE-2021-41617"><img src="https://cve.bz/cve/badge/CVE-2021-41617.svg" alt="CVE-2021-41617"></a>

Affected

Versions

From the NVD's CPE matches.

ProductAffected
openbsd:opensshfrom 6.2 before 8.8
fedoraproject:fedora33
fedoraproject:fedora34
fedoraproject:fedora35
oracle:http_server12.2.1.2.0
oracle:http_server12.2.1.3.0
oracle:http_server12.2.1.4.0
oracle:zfs_storage_appliance_kit8.8
starwindsoftware:starwind_virtual_sanv8r13:14398

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10openssh1:7.9p1-10+deb10u4DLA-3694-1
Debian12, 13, 14openssh1:8.7p1-1DEBIAN-CVE-2021-41617
Ubuntu18.04:LTS, 20.04:LTS, 22.04:LTS and 4 moreopenssh-ssh1no fix listedUBUNTU-CVE-2021-41617
Ubuntu20.04:LTSopenssh1:8.2p1-4ubuntu0.11UBUNTU-CVE-2021-41617 USN-6565-1
Ubuntu22.04:LTSopenssh1:8.9p1-3ubuntu0.6USN-6565-1
UbuntuPro:14.04:LTS, Pro:18.04:LTS, Pro:FIPS-updates:18.04:LTS and 3 moreopensshno fix listedUBUNTU-CVE-2021-41617
UbuntuPro:16.04:LTSopenssh1:7.2p2-4ubuntu2.10+esm2UBUNTU-CVE-2021-41617 USN-5666-1
UbuntuPro:FIPS-updates:16.04:LTSopenssh1:7.2p2-4ubuntu2.fips.2.10.3UBUNTU-CVE-2021-41617
UbuntuPro:FIPS-updates:20.04:LTSopenssh1:8.2p1-4ubuntu0.fips.0.11UBUNTU-CVE-2021-41617
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 morepam_ssh_agent_auth0:0.10.3-2.22.el7_9RHSA-2021:4782
Red Hatenterprise_linux:7::client, enterprise_linux:7::server, enterprise_linux:7::workstationopenssh, openssh-cavs, openssh-ldap and 6 more0:7.4p1-22.el7_9RHSA-2021:4782
Red Hatenterprise_linux:7::computenodeopenssh-cavs, openssh-ldap, openssh-askpass and 2 more0:7.4p1-22.el7_9RHSA-2021:4782
Red Hatenterprise_linux:8::appstreamopenssh-askpass, openssh-debuginfo, openssh-debugsource and 6 more0:8.0p1-13.el8RHSA-2022:2013
Red Hatenterprise_linux:8::appstreampam_ssh_agent_auth-debuginfo0:0.10.3-7.13.el8RHSA-2022:2013
Red Hatenterprise_linux:8::baseosopenssh, openssh-cavs, openssh-ldap and 11 more0:8.0p1-13.el8RHSA-2022:2013
Red Hatenterprise_linux:8::baseospam_ssh_agent_auth, pam_ssh_agent_auth-debuginfo0:0.10.3-7.13.el8RHSA-2022:2013
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 3 moreopenssh, openssh-askpass-gnome7.9p1-6.28.1SUSE-SU-2021:3947-1
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-ESPOS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 7 moreopenssh, openssh-askpass-gnome8.1p1-5.21.1SUSE-SU-2022:0805-1
SUSEHPE Helion OpenStack 8, Linux Enterprise Server 12 SP2-BCL, Linux Enterprise Server 12 SP3-BCL and 4 moreopenssh, openssh-askpass-gnome7.2p2-74.60.1SUSE-SU-2021:3951-1
SUSELinux Enterprise High Performance Computing 15-ESPOS, Linux Enterprise High Performance Computing 15-LTSS, Linux Enterprise Server 15-LTSS and 1 moreopenssh, openssh-askpass-gnome7.6p1-9.44.1SUSE-SU-2021:3887-1
SUSELinux Enterprise Micro 5.0openssh8.1p1-5.21.1SUSE-SU-2022:0805-1
SUSELinux Enterprise Micro 5.1, Linux Enterprise Module for Basesystem 15 SP3, Linux Enterprise Module for Server Applications 15 SP3openssh8.4p1-3.6.1SUSE-SU-2021:3950-1
SUSELinux Enterprise Module for Desktop Applications 15 SP3openssh-askpass-gnome8.4p1-3.6.1SUSE-SU-2021:3950-1
SUSELinux Enterprise Server 11 SP4-LTSSopenssh, openssh-askpass-gnome6.6p1-36.26.1SUSE-SU-2021:14847-1
SUSELinux Enterprise Server 11-SECURITYopenssh-openssl16.6p1-19.12.1SUSE-SU-2021:14870-1
SUSELinux Enterprise Server 12 SP4-LTSS, Linux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP4 and 3 moreopenssh, openssh-askpass-gnome7.2p2-78.13.1SUSE-SU-2021:3875-1
openSUSELeap 15.3openssh, openssh-askpass-gnome8.4p1-3.6.1openSUSE-SU-2021:3950-1
openSUSETumbleweedopenssh9.6p1-3.1openSUSE-SU-2024:13842-1
AlmaLinux8openssh, openssh-cavs, openssh-ldap and 4 more8.0p1-13.el8ALSA-2022:2013
AlmaLinux8pam_ssh_agent_auth0.10.3-7.13.el8ALSA-2022:2013
Rocky Linux8openssh0:8.0p1-13.el8RLSA-2022:2013
Alpinev3.11openssh8.1_p1-r1ALPINE-CVE-2021-41617
Alpinev3.12openssh8.3_p1-r3ALPINE-CVE-2021-41617
Alpinev3.13openssh8.4_p1-r4ALPINE-CVE-2021-41617
Alpinev3.14openssh8.6_p1-r3ALPINE-CVE-2021-41617
Alpinev3.15, v3.16, v3.17 and 7 moreopenssh8.8_p1-r0ALPINE-CVE-2021-41617

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Neither the `AuthorizedKeysCommand` directive nor `AuthorizedPrincipalsCommand` are enabled by default in the versions of OpenSSH as shipped with Red Hat Enterprise Linux 7 and 8.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7openssh-0:7.4p1-22.el7_9Fixed 2021-11-23RHSA-2021:4782
Red Hat Enterprise Linux 8openssh-0:8.0p1-13.el8Fixed 2022-05-10RHSA-2022:2013
Red Hat Enterprise Linux 6opensshOut of support scope
Red Hat Enterprise Linux 9opensshNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-41617.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-26-295-11Siemens SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP2026-10-13Critical Manufacturing, Transportation Systems, Energy, Healthcare and Public Health, Financial Services, Government Services and FacilitiesSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= V3.1.7, SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= V3.1.7, SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= V3.1.7 and 2 morenone listed
ICSA-26-209-04Siemens SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP2026-07-14Critical ManufacturingSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) >= V3.1.6, SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) >= V3.1.6, SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) >= V3.1.6 and 2 morenone listed
ICSA-25-162-05Siemens SIMATIC S7-1500 CPU family2025-06-10EnergySIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0), SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0), SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) and 2 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

References

Check your stackJSON