CVE-2021-45444
HIGH | Platform: macOS | Changelog
CVE Details
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.
CVSS 3.1 Score
| Metric | Value |
|---|---|
| Base Score | 7.8 (HIGH) |
| Vector | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
References
- Apple Security Advisory
- NVD Entry
- 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)