{"id":"CVE-2021-41617","details":"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.","modified":"2026-04-16T04:38:44.193041453Z","published":"2021-09-26T19:15:07.263Z","related":["ALSA-2022:2013","SUSE-SU-2021:14847-1","SUSE-SU-2021:14870-1","SUSE-SU-2021:3875-1","SUSE-SU-2021:3887-1","SUSE-SU-2021:3947-1","SUSE-SU-2021:3950-1","SUSE-SU-2021:3951-1","SUSE-SU-2022:0805-1","openSUSE-SU-2021:3950-1","openSUSE-SU-2024:13842-1"],"references":[{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KVI7RWM2JLNMWTOFK6BDUSGNOIPZYPUT/"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/W44V2PFQH5YLRN6ZJTVRKAD7CU6CYYET/"},{"type":"WEB","url":"https://www.tenable.com/plugins/nessus/154174"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2023/12/msg00017.html"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6XJIONMHMKZDTMH6BQR5TNLF2WDCGWED/"},{"type":"ADVISORY","url":"https://www.debian.org/security/2023/dsa-5586"},{"type":"ADVISORY","url":"https://www.openssh.com/security.html"},{"type":"ADVISORY","url":"https://www.openssh.com/txt/release-8.8"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20211014-0004/"},{"type":"ADVISORY","url":"https://www.openwall.com/lists/oss-security/2021/09/26/1"},{"type":"ADVISORY","url":"https://www.oracle.com/security-alerts/cpujul2022.html"},{"type":"ADVISORY","url":"https://www.starwindsoftware.com/security/sw-20220805-0001/"},{"type":"FIX","url":"https://bugzilla.suse.com/show_bug.cgi?id=1190975"},{"type":"FIX","url":"https://www.oracle.com/security-alerts/cpuapr2022.html"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/openssh/openssh-portable","events":[{"introduced":"0"},{"fixed":"bf944e3794eff5413f2df1ef37cddf96918c6bde"},{"introduced":"0"},{"last_affected":"bf944e3794eff5413f2df1ef37cddf96918c6bde"}],"database_specific":{"versions":[{"introduced":"6.2"},{"fixed":"8.8"},{"introduced":"0"},{"last_affected":"8.8"}]}}],"versions":["ABOUT_TO_ADD_INET_ATON","AFTER_FREEBSD_PAM_MERGE","AFTER_KRB5_GSSAPI_MERGE","BEFORE_FREEBSD_PAM_MERGE","BEFORE_KRB5_GSSAPI_MERGE","POST_KRB4_REMOVAL","PRE-REORDER","PRE_CYGWIN_MERGE","PRE_DAN_PATCH_MERGE","PRE_FIXPATHS_INTEGRATION","PRE_HPUX_INTEGRATION","PRE_IPV6","PRE_KRB4_REMOVAL","PRE_NEW_LOGIN_CODE","PRE_SW_KRBV","V_1_2PRE17","V_1_2_1_PRE18","V_1_2_1_PRE19","V_1_2_1_PRE20","V_1_2_1_PRE21","V_1_2_1_PRE22","V_1_2_1_PRE23","V_1_2_1_PRE24","V_1_2_1_PRE25","V_1_2_1_PRE26","V_1_2_1_PRE27","V_1_2_2","V_1_2_2_P1","V_1_2_2_PRE28","V_1_2_2_PRE29","V_1_2_3","V_1_2_3_PRE1","V_1_2_3_PRE2","V_1_2_3_PRE3","V_1_2_3_PRE4","V_1_2_3_PRE5","V_1_2_3_TEST1","V_1_2_3_TEST2","V_1_2_3_TEST3","V_1_2_PRE10","V_1_2_PRE11","V_1_2_PRE12","V_1_2_PRE13","V_1_2_PRE14","V_1_2_PRE15","V_1_2_PRE16","V_1_2_PRE4","V_1_2_PRE5","V_1_2_PRE6","V_1_2_PRE7","V_1_2_PRE8","V_1_2_PRE9","V_2_0_0_BETA1","V_2_0_0_BETA2","V_2_0_0_TEST1","V_2_1_0","V_2_1_0_P1","V_2_1_0_P2","V_2_1_0_P3","V_2_1_1_P1","V_2_1_1_P2","V_2_1_1_P3","V_2_1_1_P4","V_2_2_0_P1","V_2_3_0_P1","V_2_5_0_P1","V_2_5_1_P1","V_2_5_1_P2","V_2_5_2_P1","V_3_0_1_P1","V_3_0_P1","V_3_1_P1","V_3_2_2_P1","V_3_4_P1","V_3_6_1_P1","V_3_8_P1","V_3_9_P1","V_4_2_P1","V_5_0_P1","V_5_1_P1","V_5_2_P1","V_5_5_P1","V_5_7_P1","V_6_0_P1","V_6_1_P1","V_6_2_P1","V_6_5_P1","V_6_6_P1","V_6_8_P1","V_6_9_P1","V_7_0_P1","V_7_1_P1","V_7_2_P1","V_7_3_P1","V_7_4_P1","V_7_5_P1","V_7_6_P1","V_7_7_P1","V_7_8_P1","V_7_9_P1","V_8_0_P1","V_8_1_P1","V_8_2_P1","V_8_4_P1","V_8_5_P1","V_8_6_P1","V_8_7_P1","V_8_8_P1"],"database_specific":{"vanir_signatures":[{"id":"CVE-2021-41617-8f914f76","signature_type":"Line","digest":{"threshold":0.9,"line_hashes":["334501301481331596066311267003802211401","90353979867880105258230158764919577906","265768883106562164524415220261106046336","275096608363934813818043189727354160980"]},"source":"https://github.com/openssh/openssh-portable/commit/bf944e3794eff5413f2df1ef37cddf96918c6bde","signature_version":"v1","target":{"file":"misc.c"},"deprecated":false}],"unresolved_ranges":[{"events":[{"introduced":"0"},{"last_affected":"33"}]},{"events":[{"introduced":"0"},{"last_affected":"34"}]},{"events":[{"introduced":"0"},{"last_affected":"35"}]},{"events":[{"introduced":"0"},{"last_affected":"12.2.1.2.0"}]},{"events":[{"introduced":"0"},{"last_affected":"12.2.1.3.0"}]},{"events":[{"introduced":"0"},{"last_affected":"12.2.1.4.0"}]},{"events":[{"introduced":"0"},{"last_affected":"v8r13-14398"}]}],"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-41617.json","vanir_signatures_modified":"2026-04-11T18:45:32Z"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}