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.
EPSS: 0.020 (78.5th percentile) — read the EPSS interpretation.
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.
Affected products
- Apple Macos
- Apple Mac_os_x — versions 10.15.7
- Zsh
- Debian Debian_linux — versions 9.0, 10.0, 11.0
- Fedoraproject Fedora — versions 34, 35
- N/a — versions n/a
Public proof-of-concept exploits
References
- cve@mitre.org (Third Party Advisory, x_refsource_MISC, Release Notes)
- cve@mitre.org (Third Party Advisory, x_refsource_MISC)
- cve@mitre.org (x_refsource_FEDORA, vendor-advisory)
- cve@mitre.org (vendor-advisory, Third Party Advisory, x_refsource_DEBIAN)
- cve@mitre.org (mailing-list, x_refsource_MLIST, Mailing List, Third Party Advisory)
- cve@mitre.org (x_refsource_FEDORA, vendor-advisory)
- cve@mitre.org (x_refsource_CONFIRM, Third Party Advisory)
- cve@mitre.org (x_refsource_CONFIRM, Third Party Advisory)
- cve@mitre.org (x_refsource_CONFIRM, Third Party Advisory)
- cve@mitre.org (mailing-list, x_refsource_FULLDISC, 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.