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.
CVSS Details
- CVSS 3.1 Base Score: 7.8
- CVSS 3.1 Vector: (CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alma_linux | alma-upgrade-zshalma-upgrade-zsh-html | May 13, 2022 | Feb 14, 2022 | |
| Alpine Linux | alpine-linux-upgrade-zsh | Mar 26, 2024 | Feb 13, 2022 | |
| Amazon Linux Ami 2 | amazon-linux-ami-2-upgrade-zshamazon-linux-ami-2-upgrade-zsh-debuginfoamazon-linux-ami-2-upgrade-zsh-html | Jul 4, 2022 | Feb 14, 2022 | |
| Amazon_linux_2023 | amazon-linux-2023-upgrade-zshamazon-linux-2023-upgrade-zsh-debuginfoamazon-linux-2023-upgrade-zsh-debugsourceamazon-linux-2023-upgrade-zsh-html | Feb 17, 2025 | Feb 12, 2022 | |
| Apple Osx Zsh | apple-osx-security-update-2022-004-catalinaapple-osx-upgrade-latest | May 17, 2022 | Feb 14, 2022 | |
| Centos_linux | — | centos-upgrade-zshcentos-upgrade-zsh-debuginfocentos-upgrade-zsh-debugsourcecentos-upgrade-zsh-html | May 13, 2022 | Feb 14, 2022 |
| Debian | debian-upgrade-zsh | Feb 18, 2022 | Feb 14, 2022 | |
| Freebsd | freebsd-upgrade-package-zsh | Nov 4, 2022 | Feb 12, 2022 | |
| Gentoo Linux | gentoo-linux-upgrade-app-shells-zsh | Jul 3, 2024 | Feb 14, 2022 | |
| Huawei Euleros 2_0_sp3 | huawei-euleros-2_0_sp3-upgrade-zsh | May 25, 2022 | Feb 14, 2022 | |
| Huawei Euleros 2_0_sp8 | huawei-euleros-2_0_sp8-upgrade-zsh | Apr 26, 2022 | Feb 14, 2022 | |
| Oracle_linux | — | oracle-linux-upgrade-zshoracle-linux-upgrade-zsh-html | May 18, 2022 | Feb 12, 2022 |
| Redhat_linux | redhat-upgrade-zshredhat-upgrade-zsh-debuginforedhat-upgrade-zsh-debugsourceredhat-upgrade-zsh-html | May 13, 2022 | Feb 14, 2022 | |
| Rocky_linux | rocky-upgrade-zshrocky-upgrade-zsh-debuginforocky-upgrade-zsh-debugsource | Mar 5, 2024 | Feb 14, 2022 | |
| Suse | — | suse-upgrade-zshsuse-upgrade-zsh-htmldoc | Mar 5, 2022 | Feb 14, 2022 |
| Ubuntu | ubuntu-pro-upgrade-zshubuntu-pro-upgrade-zsh-staticubuntu-upgrade-zshubuntu-upgrade-zsh-static | Mar 15, 2022 | Feb 14, 2022 | |
| Vmware Photon_os | vmware-photon_os_update_tdnf | Jan 20, 2025 | Feb 13, 2022 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub