ALAS2022-2022-034

Related Vulnerabilities: CVE-2021-45444  

A vulnerability was found in zsh in the parsecolorchar() function of prompt.c file. This flaw allows an attacker to perform code execution if they control a command output inside the prompt, as stated by a %F%K argument. This occurs because of recursive PROMPT_SUBST expansion. (CVE-2021-45444)

ALAS2022-2022-034


Amazon Linux 2022 Security Advisory: ALAS-2022-034
Advisory Release Date: 2022-03-02 17:09 Pacific
Advisory Updated Date: 2022-03-02 21:06 Pacific
Severity: Medium
References: CVE-2021-45444 

Issue Overview:

A vulnerability was found in zsh in the parsecolorchar() function of prompt.c file. This flaw allows an attacker to perform code execution if they control a command output inside the prompt, as stated by a %F%K argument. This occurs because of recursive PROMPT_SUBST expansion. (CVE-2021-45444)


Affected Packages:

zsh


Issue Correction:
Run dnf update --releasever=2022.0.20220302 zsh to update your system.

New Packages:
aarch64:
    zsh-debugsource-5.8.1-1.amzn2022.0.1.aarch64
    zsh-debuginfo-5.8.1-1.amzn2022.0.1.aarch64
    zsh-5.8.1-1.amzn2022.0.1.aarch64

i686:
    zsh-debugsource-5.8.1-1.amzn2022.0.1.i686
    zsh-debuginfo-5.8.1-1.amzn2022.0.1.i686
    zsh-5.8.1-1.amzn2022.0.1.i686

noarch:
    zsh-html-5.8.1-1.amzn2022.0.1.noarch

src:
    zsh-5.8.1-1.amzn2022.0.1.src

x86_64:
    zsh-debugsource-5.8.1-1.amzn2022.0.1.x86_64
    zsh-debuginfo-5.8.1-1.amzn2022.0.1.x86_64
    zsh-5.8.1-1.amzn2022.0.1.x86_64