Amazon Linux AMI update for openssh



Published: 2022-02-19
Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2021-41617
CWE-ID CWE-269
Exploitation vector Local
Public exploit N/A
Vulnerable software
Subscribe
OpenSSH
Server applications / Remote management servers, RDP, SSH

Vendor OpenSSH

Security Bulletin

This security bulletin contains one low risk vulnerability.

1) Improper Privilege Management

EUVDB-ID: #VU58333

Risk: Low

CVSSv3.1: 6.1 [CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2021-41617

CWE-ID: CWE-269 - Improper Privilege Management

Exploit availability: No

Description

The vulnerability allows a local user to escalate privileges.

The vulnerability exists due to improper privilege management in sshd, when certain non-default configurations are used, 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. A local user can escalate privileges on the system.

Mitigation

Update the affected packages:

i686:
    openssh-ldap-7.4p1-22.77.amzn1.i686
    openssh-debuginfo-7.4p1-22.77.amzn1.i686
    openssh-7.4p1-22.77.amzn1.i686
    openssh-keycat-7.4p1-22.77.amzn1.i686
    openssh-clients-7.4p1-22.77.amzn1.i686
    pam_ssh_agent_auth-0.10.3-2.22.77.amzn1.i686
    openssh-cavs-7.4p1-22.77.amzn1.i686
    openssh-server-7.4p1-22.77.amzn1.i686

src:
    openssh-7.4p1-22.77.amzn1.src

x86_64:
    openssh-keycat-7.4p1-22.77.amzn1.x86_64
    openssh-debuginfo-7.4p1-22.77.amzn1.x86_64
    pam_ssh_agent_auth-0.10.3-2.22.77.amzn1.x86_64
    openssh-cavs-7.4p1-22.77.amzn1.x86_64
    openssh-clients-7.4p1-22.77.amzn1.x86_64
    openssh-server-7.4p1-22.77.amzn1.x86_64
    openssh-ldap-7.4p1-22.77.amzn1.x86_64
    openssh-7.4p1-22.77.amzn1.x86_64

Vulnerable software versions

OpenSSH: 6.2 - 8.7p1

External links

http://alas.aws.amazon.com/ALAS-2022-1565.html


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

How the attacker can exploit this vulnerability?

The attacker would have to send a specially crafted request to the affected application in order to exploit this vulnerability.

The attacker would have to login to the system and perform certain actions in order to exploit this vulnerability.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###