ALAS2023-2023-035


Amazon Linux 2023 Security Advisory: ALAS-2023-035
Advisory Release Date: 2023-02-17 20:44 Pacific
Advisory Updated Date: 2023-02-22 23:54 Pacific
Severity: Medium

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 zsh --releasever=2023.0.20230222 to update your system.

New Packages:
aarch64:
    zsh-debugsource-5.8.1-1.amzn2023.0.3.aarch64
    zsh-debuginfo-5.8.1-1.amzn2023.0.3.aarch64
    zsh-5.8.1-1.amzn2023.0.3.aarch64

noarch:
    zsh-html-5.8.1-1.amzn2023.0.3.noarch

src:
    zsh-5.8.1-1.amzn2023.0.3.src

x86_64:
    zsh-debugsource-5.8.1-1.amzn2023.0.3.x86_64
    zsh-debuginfo-5.8.1-1.amzn2023.0.3.x86_64
    zsh-5.8.1-1.amzn2023.0.3.x86_64