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.
References
| Link | Resource |
|---|---|
| https://zsh.sourceforge.io/releases.html | Release Notes Third Party Advisory |
| https://vuln.ryotak.me/advisories/63 | Third Party Advisory |
| https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2P3LPMGENEHKDWFO4MWMZSZL6G7Y4CV7/ | Mailing List Third Party Advisory |
| https://www.debian.org/security/2022/dsa-5078 | Third Party Advisory |
| https://lists.debian.org/debian-lts-announce/2022/02/msg00020.html | Mailing List Third Party Advisory |
| https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BWF3EXNBX5SVFDBL4ZFOD4GJBWFUKWN4/ | Mailing List Third Party Advisory |
| https://support.apple.com/kb/HT213255 | |
| https://support.apple.com/kb/HT213256 | |
| https://support.apple.com/kb/HT213257 | |
| http://seclists.org/fulldisclosure/2022/May/33 | |
| http://seclists.org/fulldisclosure/2022/May/35 | |
| http://seclists.org/fulldisclosure/2022/May/38 |
Configurations
Configuration 1 (hide)
|
Configuration 2 (hide)
|
Configuration 3 (hide)
|
Information
Published : 2022-02-14 12:15
Updated : 2022-05-17 07:15
NVD link : CVE-2021-45444
Mitre link : CVE-2021-45444
JSON object : View
Products Affected
fedoraproject
- fedora
debian
- debian_linux
zsh
- zsh
CWE
