vulnerability

Amazon Linux 2023: CVE-2021-45444: Medium priority package update for zsh

Severity
5
CVSS
(AV:N/AC:H/Au:N/C:P/I:P/A:P)
Published
Feb 12, 2022
Added
Feb 17, 2025
Modified
Jul 4, 2025

Description

In zsh before 5.8.1, an attacker can achieve code execution if they control a command output inside the prompt, as demonstrated by a %F argument. This occurs because of recursive PROMPT_SUBST expansion.
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.

Solutions

amazon-linux-2023-upgrade-zshamazon-linux-2023-upgrade-zsh-debuginfoamazon-linux-2023-upgrade-zsh-debugsourceamazon-linux-2023-upgrade-zsh-html
Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.