Summary
Package updates are available for Amazon Linux 2023 that fix the following 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.
Fixed packages 4
| Release | Package | Fixed in |
|---|---|---|
| Amazon Linux · 2023 | zsh | 0:5.8.1-1.amzn2023.0.3 |
| Amazon Linux · 2023 | zsh-debuginfo | 0:5.8.1-1.amzn2023.0.3 |
| Amazon Linux · 2023 | zsh-debugsource | 0:5.8.1-1.amzn2023.0.3 |
| Amazon Linux · 2023 | zsh-html | 0:5.8.1-1.amzn2023.0.3 |
Vulnerabilities 1
-
Unscored —
In zsh before 5.8.1, an attacker can achieve code execution if they control a command output inside the prompt, as demo…
References
-
web
https://alas.aws.amazon.com/cve/html/CVE-2021-45444.html