Summary
Package updates are available for Amazon Linux 2 that fix the following vulnerabilities: CVE-2023-38408: The PKCS#11 feature in ssh-agent in OpenSSH before 9.3p2 has an insufficiently trustworthy search path, leading to remote code execution if the target user's ssh-agent is forwarded to an attacker-controlled system (the code in /usr/lib is not necessarily safe for loading into ssh-agent). Exploitation can also be prevented by starting ssh-agent with an empty PKCS#11/FIDO allowlist (ssh-agent -P '') or by configuring an allowlist that contains only specific provider libraries. NOTE: this issue exists because of an incomplete fix for CVE-2016-10009.
Fixed packages 10
| Release | Package | Fixed in |
|---|---|---|
| Amazon Linux · 2 | openssh | 0:7.4p1-22.amzn2.0.3 |
| Amazon Linux · 2 | openssh-askpass | 0:7.4p1-22.amzn2.0.3 |
| Amazon Linux · 2 | openssh-cavs | 0:7.4p1-22.amzn2.0.3 |
| Amazon Linux · 2 | openssh-clients | 0:7.4p1-22.amzn2.0.3 |
| Amazon Linux · 2 | openssh-debuginfo | 0:7.4p1-22.amzn2.0.3 |
| Amazon Linux · 2 | openssh-keycat | 0:7.4p1-22.amzn2.0.3 |
| Amazon Linux · 2 | openssh-ldap | 0:7.4p1-22.amzn2.0.3 |
| Amazon Linux · 2 | openssh-server | 0:7.4p1-22.amzn2.0.3 |
| Amazon Linux · 2 | openssh-server-sysvinit | 0:7.4p1-22.amzn2.0.3 |
| Amazon Linux · 2 | pam_ssh_agent_auth | 0:0.10.3-2.22.amzn2.0.3 |
Vulnerabilities 1
-
Critical 9.8
The PKCS#11 feature in ssh-agent in OpenSSH before 9.3p2 has an insufficiently trustworthy search path, leading to remo…
References
-
web
https://alas.aws.amazon.com/cve/html/CVE-2023-38408.html