yocto ▾
›
scarthgap ▾
›
vulnerability
›
CVE-2021-45444
Component Overview
Vulnerability Overview
Name
CVE-2021-45444
Source
NVD (
link
)
Debian (
link
)
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.
CWEs
Published Date
Feb 14, 2022
Updated Date
Jun 17, 2026
Workaround
-
Advisories
http://seclists.org/fulldisclosure/2022/May/33
Mailing List
http://seclists.org/fulldisclosure/2022/May/35
Mailing List
http://seclists.org/fulldisclosure/2022/May/38
Mailing List
https://lists.debian.org/debian-lts-announce/2022/02/msg00020.html
Mailing List
https://support.apple.com/kb/HT213255
Third Party Advisory
https://support.apple.com/kb/HT213256
Third Party Advisory
https://support.apple.com/kb/HT213257
Third Party Advisory
https://vuln.ryotak.me/advisories/63
Third Party Advisory
https://www.debian.org/security/2022/dsa-5078
Third Party Advisory
https://zsh.sourceforge.io/releases.html
Release Notes
http://seclists.org/fulldisclosure/2022/May/33
Mailing List
http://seclists.org/fulldisclosure/2022/May/35
Mailing List
http://seclists.org/fulldisclosure/2022/May/38
Mailing List
https://lists.debian.org/debian-lts-announce/2022/02/msg00020.html
Mailing List
https://support.apple.com/kb/HT213255
Third Party Advisory
https://support.apple.com/kb/HT213256
Third Party Advisory
https://support.apple.com/kb/HT213257
Third Party Advisory
https://vuln.ryotak.me/advisories/63
Third Party Advisory
https://www.debian.org/security/2022/dsa-5078
Third Party Advisory
https://zsh.sourceforge.io/releases.html
Release Notes
Analysis
#
Affected Component
Analysis
zsh
Patched
Vulnerability Ratings
#
7.8
CVSSv31
5.1
CVSSv2
Others affected components
#
Name
Project
Project Version
Version
Status
zsh
buildroot
2025.02.x
5.9
Not Affected
zsh
buildroot
master
5.9
Not Affected
zsh
openwrt
master
5.9.1-r1
Not Affected
zsh
openwrt
openwrt-25.12
5.9-r4
Not Affected
zsh
yocto
kirkstone
5.8
Patched
zsh
yocto
master
5.9.1
Not Affected
Resolved with patches
#
zsh (yocto:kirkstone)
#
Title
Author
Resolve
1
security/41: Don't perform PROMPT_SUBST evaluation on
Oliver Kiddle <opk@zsh.org>
CVE-2021-45444
2
security/89: Add patch which can optionally be used to
Marc Cornellà <hello@mcornella.com>
CVE-2021-45444
3
CVE-2021-45444: Update NEWS/README
dana <dana@dana.is>
CVE-2021-45444
zsh (yocto:scarthgap)
#
Title
Author
Resolve
1
security/41: Don't perform PROMPT_SUBST evaluation on
Oliver Kiddle <opk@zsh.org>
CVE-2021-45444
2
security/89: Add patch which can optionally be used to
Marc Cornellà <hello@mcornella.com>
CVE-2021-45444
3
CVE-2021-45444: Update NEWS/README
dana <dana@dana.is>
CVE-2021-45444