Improper Check for Dropped Privileges Affecting openssh-cavs package, versions <0:7.4p1-22.amzn2.0.1


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

Exploit Maturity
Not Defined
EPSS
0.05% (23rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2-OPENSSHCAVS-2397221
  • published10 Feb 2022
  • disclosed26 Sept 2021

Introduced: 26 Sep 2021

CVE-2021-41617  (opens in a new tab)
CWE-273  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 openssh-cavs to version 0:7.4p1-22.amzn2.0.1 or higher.
This issue was patched in ALAS2-2022-1748.

NVD Description

Note: Versions mentioned in the description apply only to the upstream openssh-cavs package and not the openssh-cavs package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

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.

CVSS Scores

version 3.1