vulnerability
Gentoo Linux: CVE-2021-45444: Zsh: Prompt Expansion Vulnerability
Severity | CVSS | Published | Added | Modified |
---|---|---|---|---|
5 | (AV:N/AC:H/Au:N/C:P/I:P/A:P) | 02/14/2022 | 07/03/2024 | 11/26/2024 |
Severity
5
CVSS
(AV:N/AC:H/Au:N/C:P/I:P/A:P)
Published
02/14/2022
Added
07/03/2024
Modified
11/26/2024
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.
Solution
gentoo-linux-upgrade-app-shells-zsh

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