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 |
---|---|
http://seclists.org/fulldisclosure/2022/May/33 | Mailing List Third Party Advisory |
http://seclists.org/fulldisclosure/2022/May/35 | Mailing List Third Party Advisory |
http://seclists.org/fulldisclosure/2022/May/38 | Mailing List 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%40lists.fedoraproject.org/message/2P3LPMGENEHKDWFO4MWMZSZL6G7Y4CV7/ | |
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BWF3EXNBX5SVFDBL4ZFOD4GJBWFUKWN4/ | |
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 Third Party Advisory |
History
No history.
MITRE Information
Status: PUBLISHED
Assigner: mitre
Published: 2022-02-13T05:32:21
Updated: 2022-05-17T06:08:11
Reserved: 2021-12-21T00:00:00
Link: CVE-2021-45444
JSON object: View
NVD Information
Status : Modified
Published: 2022-02-14T12:15:15.750
Modified: 2023-11-07T03:39:50.397
Link: CVE-2021-45444
JSON object: View
Redhat Information
No data.
CWE