#VU60674 OS Command Injection in zsh - CVE-2021-45444

 

#VU60674 OS Command Injection in zsh - CVE-2021-45444

Published: February 17, 2022


Vulnerability identifier: #VU60674
Vulnerability risk: High
CVSSv4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2021-45444
CWE-ID: CWE-78
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
zsh
Software vendor:
SourceForge

Description

The vulnerability allows a remote attacker to execute arbitrary shell commands on the target system.

The vulnerability exists due to recursive PROMPT_SUBST expansion when processing malicious output. A remote attacker with ability to control the output can inject and execute arbitrary commands on the system with privileges on the current user.



Remediation

Install updates from vendor's website.

External links