ALAS2023-2023-273


Amazon Linux 2023 Security Advisory: ALAS-2023-273
Advisory Release Date: 2023-08-03 20:26 Pacific
Advisory Updated Date: 2023-08-09 23:15 Pacific
Severity: Important

Issue Overview:

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. (CVE-2023-38408)


Affected Packages:

openssh


Issue Correction:
Run dnf update openssh --releasever 2023.1.20230809 to update your system.

New Packages:
aarch64:
    openssh-clients-debuginfo-8.7p1-8.amzn2023.0.7.aarch64
    openssh-debuginfo-8.7p1-8.amzn2023.0.7.aarch64
    openssh-server-8.7p1-8.amzn2023.0.7.aarch64
    pam_ssh_agent_auth-0.10.4-4.8.amzn2023.0.7.aarch64
    pam_ssh_agent_auth-debuginfo-0.10.4-4.8.amzn2023.0.7.aarch64
    openssh-server-debuginfo-8.7p1-8.amzn2023.0.7.aarch64
    openssh-debugsource-8.7p1-8.amzn2023.0.7.aarch64
    openssh-keycat-debuginfo-8.7p1-8.amzn2023.0.7.aarch64
    openssh-clients-8.7p1-8.amzn2023.0.7.aarch64
    openssh-keycat-8.7p1-8.amzn2023.0.7.aarch64
    openssh-8.7p1-8.amzn2023.0.7.aarch64

src:
    openssh-8.7p1-8.amzn2023.0.7.src

x86_64:
    openssh-clients-debuginfo-8.7p1-8.amzn2023.0.7.x86_64
    openssh-keycat-debuginfo-8.7p1-8.amzn2023.0.7.x86_64
    openssh-server-8.7p1-8.amzn2023.0.7.x86_64
    openssh-server-debuginfo-8.7p1-8.amzn2023.0.7.x86_64
    openssh-keycat-8.7p1-8.amzn2023.0.7.x86_64
    openssh-8.7p1-8.amzn2023.0.7.x86_64
    openssh-debuginfo-8.7p1-8.amzn2023.0.7.x86_64
    openssh-debugsource-8.7p1-8.amzn2023.0.7.x86_64
    pam_ssh_agent_auth-debuginfo-0.10.4-4.8.amzn2023.0.7.x86_64
    openssh-clients-8.7p1-8.amzn2023.0.7.x86_64
    pam_ssh_agent_auth-0.10.4-4.8.amzn2023.0.7.x86_64