Amazon Linux 2 Security Advisory: ALAS-2025-2769
Advisory Release Date: 2025-02-26 22:35 Pacific
Advisory Updated Date: 2025-03-07 10:00 Pacific
A vulnerability was found in OpenSSH when the VerifyHostKeyDNS option is enabled. A machine-in-the-middle attack can be performed by a malicious machine impersonating a legit server. This issue occurs due to how OpenSSH mishandles error codes in specific conditions when verifying the host key. For an attack to be considered successful, the attacker needs to manage to exhaust the client's memory resource first, turning the attack complexity high. (CVE-2025-26465)
Affected Packages:
openssh
Note:
This advisory is applicable to Amazon Linux 2 (AL2) Core repository. Visit this FAQ section for the difference between AL2 Core and AL2 Extras advisories.
Issue Correction:
Run yum update openssh to update your system.
aarch64:
openssh-7.4p1-22.amzn2.0.9.aarch64
openssh-clients-7.4p1-22.amzn2.0.9.aarch64
openssh-server-7.4p1-22.amzn2.0.9.aarch64
openssh-server-sysvinit-7.4p1-22.amzn2.0.9.aarch64
openssh-ldap-7.4p1-22.amzn2.0.9.aarch64
openssh-keycat-7.4p1-22.amzn2.0.9.aarch64
openssh-askpass-7.4p1-22.amzn2.0.9.aarch64
openssh-cavs-7.4p1-22.amzn2.0.9.aarch64
pam_ssh_agent_auth-0.10.3-2.22.amzn2.0.9.aarch64
openssh-debuginfo-7.4p1-22.amzn2.0.9.aarch64
i686:
openssh-7.4p1-22.amzn2.0.9.i686
openssh-clients-7.4p1-22.amzn2.0.9.i686
openssh-server-7.4p1-22.amzn2.0.9.i686
openssh-server-sysvinit-7.4p1-22.amzn2.0.9.i686
openssh-ldap-7.4p1-22.amzn2.0.9.i686
openssh-keycat-7.4p1-22.amzn2.0.9.i686
openssh-askpass-7.4p1-22.amzn2.0.9.i686
openssh-cavs-7.4p1-22.amzn2.0.9.i686
pam_ssh_agent_auth-0.10.3-2.22.amzn2.0.9.i686
openssh-debuginfo-7.4p1-22.amzn2.0.9.i686
src:
openssh-7.4p1-22.amzn2.0.9.src
x86_64:
openssh-7.4p1-22.amzn2.0.9.x86_64
openssh-clients-7.4p1-22.amzn2.0.9.x86_64
openssh-server-7.4p1-22.amzn2.0.9.x86_64
openssh-server-sysvinit-7.4p1-22.amzn2.0.9.x86_64
openssh-ldap-7.4p1-22.amzn2.0.9.x86_64
openssh-keycat-7.4p1-22.amzn2.0.9.x86_64
openssh-askpass-7.4p1-22.amzn2.0.9.x86_64
openssh-cavs-7.4p1-22.amzn2.0.9.x86_64
pam_ssh_agent_auth-0.10.3-2.22.amzn2.0.9.x86_64
openssh-debuginfo-7.4p1-22.amzn2.0.9.x86_64