Vulnerability in Apple macOS
CVE-2021-45444
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.
Published · last modified .
CVSS v3 metric
CVSS v3 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.
EPSS exploit prediction
EPSS: 0.020 (79.8th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 80th percentile — 79.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.020 · newest: 0.020 · change: 0.000
Affected products
- Apple macOS
- Apple Mac OS X — versions 10.15.7
- Zsh
- Debian Linux — versions 9.0, 10.0, 11.0
- Fedoraproject Fedora — versions 34, 35
Public proof-of-concept exploits
References
- zsh.sourceforge.io/releases.html (Third Party Advisory, Release Notes)
- vuln.ryotak.me/advisories/63 (Third Party Advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- www.debian.org/security/2022/dsa-5078 (vendor-advisory, Third Party Advisory)
- lists.debian.org/debian-lts-announce/2022/02/msg00020.html (mailing-list, Mailing List, Third Party Advisory)
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/… (vendor-advisory)
- support.apple.com/kb/HT213257 (Third Party Advisory)
- support.apple.com/kb/HT213256 (Third Party Advisory)
- support.apple.com/kb/HT213255 (Third Party Advisory)
- seclists.org/fulldisclosure/2022/May/33 (mailing-list, Mailing List, Third Party Advisory)
Frequently asked questions
- What is CVE-2021-45444?
- CVE-2021-45444 is a high-severity vulnerability in Apple macOS. CVSS score: 7.8/10. Published 2022-02-14.
- How severe is CVE-2021-45444?
- High severity. CVSS v3 base score is 7.8 out of 10.
- Is CVE-2021-45444 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.