ALAS-2024-2507

Related Vulnerabilities: CVE-2023-51385  

In ssh in OpenSSH before 9.6, OS command injection might occur if a user name or host name has shell metacharacters, and this name is referenced by an expansion token in certain situations. For example, an untrusted Git repository can have a submodule with shell metacharacters in a user name or host name. (CVE-2023-51385)

ALAS-2024-2507


Amazon Linux 2 Security Advisory: ALAS-2024-2507
Advisory Release Date: 2024-03-27 21:32 Pacific
Advisory Updated Date: 2024-03-27 21:32 Pacific
Severity: Medium

Issue Overview:

In ssh in OpenSSH before 9.6, OS command injection might occur if a user name or host name has shell metacharacters, and this name is referenced by an expansion token in certain situations. For example, an untrusted Git repository can have a submodule with shell metacharacters in a user name or host name. (CVE-2023-51385)


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.

New Packages:
aarch64:
    openssh-7.4p1-22.amzn2.0.7.aarch64
    openssh-clients-7.4p1-22.amzn2.0.7.aarch64
    openssh-server-7.4p1-22.amzn2.0.7.aarch64
    openssh-server-sysvinit-7.4p1-22.amzn2.0.7.aarch64
    openssh-ldap-7.4p1-22.amzn2.0.7.aarch64
    openssh-keycat-7.4p1-22.amzn2.0.7.aarch64
    openssh-askpass-7.4p1-22.amzn2.0.7.aarch64
    openssh-cavs-7.4p1-22.amzn2.0.7.aarch64
    pam_ssh_agent_auth-0.10.3-2.22.amzn2.0.7.aarch64
    openssh-debuginfo-7.4p1-22.amzn2.0.7.aarch64

i686:
    openssh-7.4p1-22.amzn2.0.7.i686
    openssh-clients-7.4p1-22.amzn2.0.7.i686
    openssh-server-7.4p1-22.amzn2.0.7.i686
    openssh-server-sysvinit-7.4p1-22.amzn2.0.7.i686
    openssh-ldap-7.4p1-22.amzn2.0.7.i686
    openssh-keycat-7.4p1-22.amzn2.0.7.i686
    openssh-askpass-7.4p1-22.amzn2.0.7.i686
    openssh-cavs-7.4p1-22.amzn2.0.7.i686
    pam_ssh_agent_auth-0.10.3-2.22.amzn2.0.7.i686
    openssh-debuginfo-7.4p1-22.amzn2.0.7.i686

src:
    openssh-7.4p1-22.amzn2.0.7.src

x86_64:
    openssh-7.4p1-22.amzn2.0.7.x86_64
    openssh-clients-7.4p1-22.amzn2.0.7.x86_64
    openssh-server-7.4p1-22.amzn2.0.7.x86_64
    openssh-server-sysvinit-7.4p1-22.amzn2.0.7.x86_64
    openssh-ldap-7.4p1-22.amzn2.0.7.x86_64
    openssh-keycat-7.4p1-22.amzn2.0.7.x86_64
    openssh-askpass-7.4p1-22.amzn2.0.7.x86_64
    openssh-cavs-7.4p1-22.amzn2.0.7.x86_64
    pam_ssh_agent_auth-0.10.3-2.22.amzn2.0.7.x86_64
    openssh-debuginfo-7.4p1-22.amzn2.0.7.x86_64