CVE-2021-41617

Related Vulnerabilities: CVE-2021-41617  

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.

Description

The MITRE CVE dictionary describes this issue as:

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.

Additional Information

  • Bugzilla 2008291: CVE-2021-41617 openssh: privilege escalation when AuthorizedKeysCommand/AuthorizedPrincipalsCommand are configured
  • CWE-665: Improper Initialization
  • FAQ: Frequently asked questions about CVE-2021-41617