Debian update for zsh

Published: 2022-02-17
Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2021-45444
Exploitation vector Network
Public exploit N/A
Vulnerable software
zsh (Debian package)
Operating systems & Components / Operating system package or component

Vendor Debian

Security Bulletin

This security bulletin contains one high risk vulnerability.

1) OS Command Injection

EUVDB-ID: #VU60674

Risk: High


CVE-ID: CVE-2021-45444

CWE-ID: CWE-78 - Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Exploit availability: No


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.


Update zsh package to one of the following versions: 5.7.1-1+deb10u1, 5.8-6+deb11u1.

Vulnerable software versions

zsh (Debian package): 5.0.0-1 - 5.8-5

CPE2.3 External links

Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?