CVE-2021-45444
HIGH7.8EPSS 0.15%zsh - security update
Published: 2/14/2022Modified: 4/28/2026
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.
Affected packages (4)
- Alpine/zshfrom 0, < 5.8.1-r0
- Debian/zshfrom 0, < 5.8-6+deb11u1
- Debian/zshfrom 0, < 5.3.1-4+deb9u5
- Debian/zshfrom 0, < 5.7.1-1+deb10u1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |