Back to Database
Status published
High
CVE-2021-45444
In zsh before 5.8.1, an attacker can achieve code execution...
Vulnerability 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.
Impact Analysis
Refer to official advisory for detailed impact metrics.
Remediation
Ensure systems are updated to the latest vendor-supplied patch levels.
THREAT MONITOR
Am I Vulnerable?
Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2021-45444
Credits & Attribution
No credits recorded in the NVD database.
References
- https://zsh.sourceforge.io/releases.html
- https://vuln.ryotak.me/advisories/63
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2P3LPMGENEHKDWFO4MWMZSZL6G7Y4CV7/
- https://www.debian.org/security/2022/dsa-5078
- https://lists.debian.org/debian-lts-announce/2022/02/msg00020.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BWF3EXNBX5SVFDBL4ZFOD4GJBWFUKWN4/
- https://support.apple.com/kb/HT213257
- https://support.apple.com/kb/HT213256
- https://support.apple.com/kb/HT213255
- http://seclists.org/fulldisclosure/2022/May/33
- http://seclists.org/fulldisclosure/2022/May/35
- http://seclists.org/fulldisclosure/2022/May/38
More from zsh
View All →CVE-2019-20044
In Zsh before 5.8, attackers able to execute commands can...
High
7.8
CVE-2018-7549
In params.c in zsh through 5.4.2, there is a crash...
High
7.5
CVE-2018-7548
In subst.c in zsh through 5.4.2, there is a NULL...
Critical
9.8
CVE-2018-1100
zsh through version 5.4.2 is vulnerable to a stack-based buffer...
High
7.8
CVE-2018-1083
Zsh before version 5.4.2-test-1 is vulnerable to a buffer overflow...
High
7.8
Affected Vendor
Affected Software
zsh, fedora, debian linux, mac os x, macos
Vulnerable Versions:
0, 34, 35, 9.0, 10.0, 11.0, 10.15, 10.15.7, 12.0.0
Timeline
Official Publish:
February 13th, 2022
Last Modified:
August 4th, 2024
Added to House:
July 21st, 2026
CVSS Vectors
V3:
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weaknesses (CWE)
No CWE data available
MITRE ATT&CK TTPs
No associated TTPs found for this vulnerability.