CVE-2021-41617
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| openssh | Amazon Linux | 7.4p1-22.amzn2.0.1 |
| openssh-ldap | Amazon Linux | 7.4p1-22.amzn2.0.1 |
| pam_ssh_agent_auth | Amazon Linux | 0.10.3-2.22.amzn2.0.1 |
| openssh-server-sysvinit | Amazon Linux | 7.4p1-22.amzn2.0.1 |
| openssh | Alpine | 8.8_p1-r0, 8.6_p1-r3, 8.4_p1-r4, 8.3_p1-r3, 8.1_p1-r1 |
| openssh-server | Amazon Linux | 7.4p1-22.amzn2.0.1 |
| openssh | Arch Linux | 8.8p1-1 |
| openssh-askpass | Amazon Linux | 7.4p1-22.amzn2.0.1 |
| openssh-clients | Amazon Linux | 7.4p1-22.amzn2.0.1 |
| openssh-keycat | Amazon Linux | 7.4p1-22.amzn2.0.1 |
| openssh-cavs | Amazon Linux | 7.4p1-22.amzn2.0.1 |
| openssh | openbsd | 8.8 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AC0) | 3.1.5, 3.1.7, 3.1.6 |
| amazon:2 | openssh | 0 |
| amazon:2 | openssh-ldap | 0 |
| amazon:2 | pam_ssh_agent_auth | 0 |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | 3.1.7, 3.1.5, 3.1.6 |
| amazon:2 | openssh-server-sysvinit | 0 |
| alpine | openssh | 0, 0, 0 |
| amazon:2 | openssh-server | 0 |
| arch | openssh | 0 |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP (6ES7518-4AX00-1AB0) | 3.1.7, 3.1.5, 3.1.6 |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | 3.1.6, 3.1.7, 3.1.5 |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | 3.1.6, 3.1.7, 3.1.5 |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AC0) | 3.1.6, 3.1.5, 3.1.7 |
| amazon:2 | openssh-askpass | 0 |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP (6ES7518-4FX00-1AB0) | 3.1.5, 3.1.7, 3.1.6 |
| amazon:2 | openssh-clients | 0 |
| amazon:2 | openssh-keycat | 0 |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP (6AG1518-4AX00-4AC0) | 3.1.7, 3.1.6, 3.1.5 |
| amazon:2 | openssh-cavs | 0 |
…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
References
- FEDORA-2021-1f7339271d vendor-advisory
- FEDORA-2021-f8df0f8563 vendor-advisory
- FEDORA-2021-fa0e94198f vendor-advisory
- DSA-5586 vendor-advisory
- [debian-lts-announce] 20231226 [SECURITY] [DLA 3694-1] openssh security update mailing-list
- https://cert-portal.siemens.com/productcert/html/ssa-082556.html url
- https://cert-portal.siemens.com/productcert/html/ssa-019113.html url
- https://cert-portal.siemens.com/productcert/html/ssa-457936.html url