VDB

CVE-2021-41617

CVE-2021-41617 PUBLISHED

Reported by mitre · Published September 26, 2021

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 versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
opensshAmazon Linux7.4p1-22.amzn2.0.1
openssh-ldapAmazon Linux7.4p1-22.amzn2.0.1
pam_ssh_agent_authAmazon Linux0.10.3-2.22.amzn2.0.1
openssh-server-sysvinitAmazon Linux7.4p1-22.amzn2.0.1
opensshAlpine8.8_p1-r0, 8.6_p1-r3, 8.4_p1-r4, 8.3_p1-r3, 8.1_p1-r1
openssh-serverAmazon Linux7.4p1-22.amzn2.0.1
opensshArch Linux8.8p1-1
openssh-askpassAmazon Linux7.4p1-22.amzn2.0.1
openssh-clientsAmazon Linux7.4p1-22.amzn2.0.1
openssh-keycatAmazon Linux7.4p1-22.amzn2.0.1
openssh-cavsAmazon Linux7.4p1-22.amzn2.0.1
opensshopenbsd8.8

Affected products

VendorProductVersions
n/an/an/a
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0)3.1.5, 3.1.7, 3.1.6
amazon:2openssh0
amazon:2openssh-ldap0
amazon:2pam_ssh_agent_auth0
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP3.1.7, 3.1.5, 3.1.6
amazon:2openssh-server-sysvinit0
alpineopenssh0, 0, 0
amazon:2openssh-server0
archopenssh0
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0)3.1.7, 3.1.5, 3.1.6
SiemensSIPLUS S7-1500 CPU 1518-4 PN/DP MFP3.1.6, 3.1.7, 3.1.5
SiemensSIMATIC S7-1500 CPU 1518F-4 PN/DP MFP3.1.6, 3.1.7, 3.1.5
SiemensSIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0)3.1.6, 3.1.5, 3.1.7
amazon:2openssh-askpass0
SiemensSIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0)3.1.5, 3.1.7, 3.1.6
amazon:2openssh-clients0
amazon:2openssh-keycat0
SiemensSIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0)3.1.7, 3.1.6, 3.1.5
amazon:2openssh-cavs0

…and 1 more

Timeline

  • Sep 26, 2021 CVE Published
  • Sep 27, 2021 EPSS Score (30 in total, the first dated here)
  • Dec 18, 2025 PoC Published
  • Mar 17, 2026 Security Advisory (14 in total, the first dated here)
  • Jul 20, 2026 Coalition ESS Score
  • Nov 11, 2026 Distribution Patch (10 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2021-41617
vulnetix vdb fixes CVE-2021-41617

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-41617/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›