CVE-2021-41617
openssh: privilege escalation when AuthorizedKeysCommand or AuthorizedPrincipalsCommand are configured
Overview
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.
Source: OX vulnerability database
Severity
7 · HIGH
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Local
- Attack complexity
- High
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Julia | OpenSSH_jll | <9.1.0+0 | 9.1.0+0 |
Open a package to see all its vulnerabilities.
Operating systems · 37 fixes
Oracle Linux 2 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 7 | pam-ssh-agent-auth | 0.10.3-2.22.0.1.el7_9 |
| 7 | pam-ssh-agent-auth | 10:0.10.3-2.22.0.1.el7_9_fips |
| 7 | openssh +7 | 10:7.4p1-22.0.1.el7_9_fips |
| 7 | openssh +7 | 7.4p1-22.0.1.el7_9 |
| 8 | pam-ssh-agent-auth | 0.10.3-7.13.el8 |
| 8 | openssh +6 | 8.0p1-13.el8 |
Photon OS 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | openssh +3 | 8.8p1-1.ph4 |
Red Hat 2 releases · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | pam-ssh-agent-auth | 0:0.10.3-2.22.el7_9 | RHSA-2021:4782 |
| 7 | openssh +7 | 0:7.4p1-22.el7_9 | RHSA-2021:4782 |
| 8 | pam-ssh-agent-auth | 0:0.10.3-7.13.el8 | RHSA-2022:2013 |
| 8 | openssh +6 | 0:8.0p1-13.el8 | RHSA-2022:2013 |
SUSE Linux Enterprise 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 12.5 | openssh +3 | 7.2p2-78.13.1 | SUSE-SU-2021:3875-1 |
SUSE Linux Enterprise Micro 2 releases · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 5.0 | openssh | 8.1p1-5.21.1 | SUSE-SU-2022:0805-1 |
| 5.1 | openssh +4 | 8.4p1-3.6.1 | SUSE-SU-2021:3950-1 |
alma 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 8 | pam-ssh-agent-auth | 0.10.3-7.13.el8 |
| 8 | openssh +6 | 8.0p1-13.el8 |
alpine 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | openssh | 8.8_p1-r0 |
| 3.23 | openssh | 8.8_p1-r0 |
| 3.24 | openssh | 8.8_p1-r0 |
| edge | openssh | 8.8_p1-r0 |
debian 6 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 10 | openssh | 1:7.9p1-10+deb10u4 |
| 11 | openssh | 1:8.4p1-5+deb11u3 |
| 12 | openssh | 1:8.7p1-1 |
| 13 | openssh | 1:8.7p1-1 |
| 14 | openssh | 1:8.7p1-1 |
| 9 | openssh | affected |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| openssh | 1:8.7p1-1 |
openSUSE 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | openssh +7 | 9.6p1-3.1 | openSUSE-SU-2024:13842-1 |
rocky 1 release · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 8 | pam-ssh-agent-auth | 0.10.3-7.13.el8 |
| 8 | openssh +6 | 8.0p1-13.el8 |
root.io debian 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 11 | rootio-openssh | 1:8.4p1-5+deb11u3 |
| 12 | rootio-openssh | 1:8.7p1-1 |
| 13 | rootio-openssh | 1:8.7p1-1 |
seal Red Hat 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 7 | openssh +1 | 7.4p1-23.0.3.el7_9+sp999 |
ubuntu 3 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 18.04-ESM | openssh | affected |
| 20.04 | openssh | 1:8.2p1-4ubuntu0.11 |
| 20.04-ESM | openssh | 1:8.2p1-4ubuntu0.11 |
References
- access.redhat.com https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-41617.json
- access.redhat.com https://access.redhat.com/security/cve/CVE-2021-41617
- bugzilla.suse.com https://bugzilla.suse.com/show_bug.cgi?id=1190975
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-019113.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-082556.html
- cert-portal.siemens.com https://cert-portal.siemens.com/productcert/html/ssa-457936.html
- errata.almalinux.org https://errata.almalinux.org/8/ALSA-2022-2013.html
- linux.oracle.com https://linux.oracle.com/cve/CVE-2021-41617.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2022-2013.html
- lists.debian.org https://lists.debian.org/debian-lts-announce/2023/12/msg00017.html
Show all 26 references
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6XJIONMHMKZDTMH6BQR5TNLF2WDCGWED/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KVI7RWM2JLNMWTOFK6BDUSGNOIPZYPUT/
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/W44V2PFQH5YLRN6ZJTVRKAD7CU6CYYET/
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2021-41617
- security.netapp.com https://security.netapp.com/advisory/ntap-20211014-0004/
- ubuntu.com https://ubuntu.com/security/notices/USN-5666-1
- ubuntu.com https://ubuntu.com/security/notices/USN-6565-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2021-41617
- www.debian.org https://www.debian.org/security/2023/dsa-5586
- www.openssh.com https://www.openssh.com/security.html
- www.openssh.com https://www.openssh.com/txt/release-8.8
- www.openwall.com https://www.openwall.com/lists/oss-security/2021/09/26/1
- www.oracle.com https://www.oracle.com/security-alerts/cpuapr2022.html
- www.oracle.com https://www.oracle.com/security-alerts/cpujul2022.html
- www.starwindsoftware.com https://www.starwindsoftware.com/security/sw-20220805-0001/
- www.tenable.com https://www.tenable.com/plugins/nessus/154174
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.