CVE-2021-45444
Apple Zsh Command Injection Vulnerability
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.
INFO
Published Date :
Feb. 14, 2022, 12:15 p.m.
Last Modified :
Nov. 21, 2024, 6:32 a.m.
Source :
[email protected]
Remotely Exploitable :
No
Impact Score :
5.9
Exploitability Score :
1.8
Affected Products
The following products are affected by CVE-2021-45444
vulnerability.
Even if cvefeed.io
is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2021-45444
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2021-45444
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2021-45444
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference http://seclists.org/fulldisclosure/2022/May/33 Added Reference http://seclists.org/fulldisclosure/2022/May/35 Added Reference http://seclists.org/fulldisclosure/2022/May/38 Added Reference https://lists.debian.org/debian-lts-announce/2022/02/msg00020.html Added Reference https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2P3LPMGENEHKDWFO4MWMZSZL6G7Y4CV7/ Added Reference https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BWF3EXNBX5SVFDBL4ZFOD4GJBWFUKWN4/ Added Reference https://support.apple.com/kb/HT213255 Added Reference https://support.apple.com/kb/HT213256 Added Reference https://support.apple.com/kb/HT213257 Added Reference https://vuln.ryotak.me/advisories/63 Added Reference https://www.debian.org/security/2022/dsa-5078 Added Reference https://zsh.sourceforge.io/releases.html -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by [email protected]
Nov. 07, 2023
Action Type Old Value New Value Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2P3LPMGENEHKDWFO4MWMZSZL6G7Y4CV7/ [No types assigned] Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BWF3EXNBX5SVFDBL4ZFOD4GJBWFUKWN4/ [No types assigned] Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/2P3LPMGENEHKDWFO4MWMZSZL6G7Y4CV7/ Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/BWF3EXNBX5SVFDBL4ZFOD4GJBWFUKWN4/ -
Modified Analysis by [email protected]
Sep. 30, 2022
Action Type Old Value New Value Changed Reference Type http://seclists.org/fulldisclosure/2022/May/33 No Types Assigned http://seclists.org/fulldisclosure/2022/May/33 Mailing List, Third Party Advisory Changed Reference Type http://seclists.org/fulldisclosure/2022/May/35 No Types Assigned http://seclists.org/fulldisclosure/2022/May/35 Mailing List, Third Party Advisory Changed Reference Type http://seclists.org/fulldisclosure/2022/May/38 No Types Assigned http://seclists.org/fulldisclosure/2022/May/38 Mailing List, Third Party Advisory Changed Reference Type https://support.apple.com/kb/HT213255 No Types Assigned https://support.apple.com/kb/HT213255 Third Party Advisory Changed Reference Type https://support.apple.com/kb/HT213256 No Types Assigned https://support.apple.com/kb/HT213256 Third Party Advisory Changed Reference Type https://support.apple.com/kb/HT213257 No Types Assigned https://support.apple.com/kb/HT213257 Third Party Advisory Added CPE Configuration OR *cpe:2.3:o:apple:mac_os_x:*:*:*:*:*:*:*:* versions from (including) 10.15 up to (excluding) 10.15.7 *cpe:2.3:o:apple:mac_os_x:10.15.7:security_update_2020:*:*:*:*:*:* *cpe:2.3:o:apple:mac_os_x:10.15.7:security_update_2020-001:*:*:*:*:*:* *cpe:2.3:o:apple:mac_os_x:10.15.7:security_update_2020-005:*:*:*:*:*:* *cpe:2.3:o:apple:mac_os_x:10.15.7:security_update_2020-007:*:*:*:*:*:* *cpe:2.3:o:apple:mac_os_x:10.15.7:security_update_2021-001:*:*:*:*:*:* *cpe:2.3:o:apple:mac_os_x:10.15.7:security_update_2021-002:*:*:*:*:*:* *cpe:2.3:o:apple:mac_os_x:10.15.7:security_update_2021-003:*:*:*:*:*:* *cpe:2.3:o:apple:mac_os_x:10.15.7:security_update_2021-006:*:*:*:*:*:* *cpe:2.3:o:apple:mac_os_x:10.15.7:security_update_2021-007:*:*:*:*:*:* *cpe:2.3:o:apple:mac_os_x:10.15.7:security_update_2021-008:*:*:*:*:*:* *cpe:2.3:o:apple:mac_os_x:10.15.7:security_update_2022-001:*:*:*:*:*:* *cpe:2.3:o:apple:mac_os_x:10.15.7:security_update_2022-002:*:*:*:*:*:* *cpe:2.3:o:apple:mac_os_x:10.15.7:security_update_2022-003:*:*:*:*:*:* *cpe:2.3:o:apple:macos:*:*:*:*:*:*:*:* versions from (including) 11.0 up to (excluding) 11.6.6 *cpe:2.3:o:apple:macos:*:*:*:*:*:*:*:* versions from (including) 12.0.0 up to (excluding) 12.4 -
CVE Modified by [email protected]
May. 17, 2022
Action Type Old Value New Value Added Reference http://seclists.org/fulldisclosure/2022/May/33 [No Types Assigned] Added Reference http://seclists.org/fulldisclosure/2022/May/35 [No Types Assigned] Added Reference http://seclists.org/fulldisclosure/2022/May/38 [No Types Assigned] -
CVE Modified by [email protected]
May. 16, 2022
Action Type Old Value New Value Added Reference https://support.apple.com/kb/HT213255 [No Types Assigned] Added Reference https://support.apple.com/kb/HT213256 [No Types Assigned] Added Reference https://support.apple.com/kb/HT213257 [No Types Assigned] -
Modified Analysis by [email protected]
Mar. 29, 2022
Action Type Old Value New Value Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/BWF3EXNBX5SVFDBL4ZFOD4GJBWFUKWN4/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/BWF3EXNBX5SVFDBL4ZFOD4GJBWFUKWN4/ Mailing List, Third Party Advisory Changed CPE Configuration OR *cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* OR *cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* *cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Feb. 24, 2022
Action Type Old Value New Value Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/BWF3EXNBX5SVFDBL4ZFOD4GJBWFUKWN4/ [No Types Assigned] -
Reanalysis by [email protected]
Feb. 23, 2022
Action Type Old Value New Value Removed CVSS V2 NIST (AV:N/AC:M/Au:N/C:P/I:P/A:P) Added CVSS V2 NIST (AV:N/AC:H/Au:N/C:P/I:P/A:P) Removed CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Added CVSS V3.1 NIST AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H -
Initial Analysis by [email protected]
Feb. 22, 2022
Action Type Old Value New Value Added CVSS V2 Metadata Victim must voluntarily interact with attack mechanism Added CVSS V2 NIST (AV:N/AC:M/Au:N/C:P/I:P/A:P) Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Changed Reference Type https://lists.debian.org/debian-lts-announce/2022/02/msg00020.html No Types Assigned https://lists.debian.org/debian-lts-announce/2022/02/msg00020.html Mailing List, Third Party Advisory Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/2P3LPMGENEHKDWFO4MWMZSZL6G7Y4CV7/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/2P3LPMGENEHKDWFO4MWMZSZL6G7Y4CV7/ Mailing List, Third Party Advisory Changed Reference Type https://vuln.ryotak.me/advisories/63 No Types Assigned https://vuln.ryotak.me/advisories/63 Third Party Advisory Changed Reference Type https://www.debian.org/security/2022/dsa-5078 No Types Assigned https://www.debian.org/security/2022/dsa-5078 Third Party Advisory Changed Reference Type https://zsh.sourceforge.io/releases.html No Types Assigned https://zsh.sourceforge.io/releases.html Release Notes, Third Party Advisory Added CWE NIST NVD-CWE-noinfo Added CPE Configuration OR *cpe:2.3:a:zsh:zsh:*:*:*:*:*:*:*:* versions up to (excluding) 5.8.1 Added CPE Configuration OR *cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Feb. 18, 2022
Action Type Old Value New Value Added Reference https://lists.debian.org/debian-lts-announce/2022/02/msg00020.html [No Types Assigned] -
CVE Modified by [email protected]
Feb. 16, 2022
Action Type Old Value New Value Added Reference https://www.debian.org/security/2022/dsa-5078 [No Types Assigned] -
CVE Modified by [email protected]
Feb. 16, 2022
Action Type Old Value New Value Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/2P3LPMGENEHKDWFO4MWMZSZL6G7Y4CV7/ [No Types Assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2021-45444
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2021-45444
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.16 }} 0.02%
score
0.53130
percentile