CVE-2021-45444

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.

Risk Information

Base Score
7.8
MODERATE
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS Score
Exploitation Probability
0.114

Associated Vulnerability

VulnerabilityOS Platform
Multiple vulnerabilities are fixed in Mac OS - Monterey 12.4 (Software Update) - AutoRebootMac
Multiple vulnerabilities are fixed in MacOS Big Sur 11.6.6 - Software UpdateMac
zsh security update(DSA-5078-1) zsh_5.8-6+deb11u1_amd64.debLinux
zsh security update(DSA-5078-1) zsh_5.7.1-1+deb10u1_amd64.debLinux
zsh security update(DSA-5078-1) zsh_5.7.1-1+deb10u1_i386.debLinux
zsh security update(DSA-5078-1) Debian_zsh_5.7.1-1+deb10u1_amd64.debLinux
shell with lots of features (USN-5325-1) zsh_5.8-3ubuntu1.1_i386.debLinux
shell with lots of features (USN-5325-1) zsh_5.8-3ubuntu1.1_amd64.debLinux
shell with lots of features (USN-5325-1) zsh_5.8-6ubuntu0.1_i386.debLinux
shell with lots of features (USN-5325-1) zsh_5.8-6ubuntu0.1_amd64.debLinux
shell with lots of features (USN-5325-1) zsh_5.4.2-3ubuntu3.2_i386.debLinux
shell with lots of features (USN-5325-1) zsh_5.4.2-3ubuntu3.2_amd64.debLinux
shell with lots of features (USN-5325-1) zsh-static_5.8-3ubuntu1.1_i386.debLinux
shell with lots of features (USN-5325-1) zsh-static_5.8-3ubuntu1.1_amd64.debLinux
shell with lots of features (USN-5325-1) zsh-static_5.8-6ubuntu0.1_i386.debLinux
shell with lots of features (USN-5325-1) zsh-static_5.8-6ubuntu0.1_amd64.debLinux
shell with lots of features (USN-5325-1) zsh-static_5.4.2-3ubuntu3.2_i386.debLinux
shell with lots of features (USN-5325-1) zsh-static_5.4.2-3ubuntu3.2_amd64.debLinux
SUSE-SU-2022:0733-1(SUSE Linux Enterprise Server 12-SP5 ) zsh-5.0.5-6.19.1.x86_64.rpmLinux
SUSE-SU-2022:0733-1(SUSE Linux Enterprise Server 12-SP5 ) zsh-debuginfo-5.0.5-6.19.1.x86_64.rpmLinux
SUSE-SU-2022:0733-1(SUSE Linux Enterprise Server 12-SP5 ) zsh-debugsource-5.0.5-6.19.1.x86_64.rpmLinux
(RHSA-2022:2120) zsh security update zsh-debugsource-5.5.1-9.el8.x86_64.rpmLinux
(RHSA-2022:2120) zsh security update zsh-html-5.5.1-9.el8.noarch.rpmLinux
zsh security update (RLSA-2022:2120) zsh-5.5.1-9.el8.x86_64.rpmLinux
zsh security update (RLSA-2022:2120) zsh-html-5.5.1-9.el8.noarch.rpmLinux
(RHSA-2022:2120) zsh security update zsh-5.5.1-9.el8.x86_64.rpmLinux
(RHSA-2022:2120)Moderate: security update zsh-debuginfo-5.5.1-9.el8.x86_64.rpmLinux
zsh security update(DSA-5078-1) zsh_5.8-6+deb11u1_i386.debLinux
zsh Security Update (ALAS-2022-1757) zsh-5.8.1-1.amzn2.0.1.x86_64.rpmLinux
zsh Security Update (ALAS-2022-1757) zsh-html-5.8.1-1.amzn2.0.1.noarch.rpmLinux
zsh Security Update (ALAS-2023-035) zsh-5.8.1-1.amzn2023.0.3.x86_64.rpmLinux
zsh Security Update (ALAS-2023-035) zsh-html-5.8.1-1.amzn2023.0.3.noarch.rpmLinux
zsh Security Update (ALAS2023-2023-035) zsh-5.8.1-1.amzn2023.0.3.x86_64.rpmLinux
zsh Security Update (ALAS2023-2023-035) zsh-html-5.8.1-1.amzn2023.0.3.noarch.rpmLinux

Patch Details

Click to see the patches provided by ManageEngine for this CVE
Patch IDPatch Description
PATCH-608134Mac OS - Monterey 12.7.6 (Software Update) - AutoReboot (CVE-2024-27877)
PATCH-605753MacOS Big Sur 11.7.10 - Software Update (Force Reboot)(CVE-2023-41064)

References

https://nvd.nist.gov/vuln/detail/CVE-2023-1234
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1234