HIGH · 7.8

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 expansio...

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.

CVSS Score

7.8

HIGH

CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH

Affected Products

VendorProductVersions
ZshZsh< 5.8.1
FedoraprojectFedora34
DebianDebian Linux9.0
AppleMac Os X>= 10.15, < 10.15.7
AppleMacos>= 11.0, < 11.6.6

References

FAQ

What is CVE-2021-45444?

CVE-2021-45444 is a vulnerability with a CVSS score of 7.8 (HIGH). 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 expansio...

How severe is CVE-2021-45444?

CVE-2021-45444 has been rated HIGH with a CVSS base score of 7.8/10. Review the CVSS metrics above for detailed severity breakdown.

Is there a patch for CVE-2021-45444?

Check the references section above for vendor advisories and patch information. Affected products include: Zsh Zsh, Fedoraproject Fedora, Debian Debian Linux, Apple Mac Os X, Apple Macos.