NetSight
high7.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.

Impact

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.

Affected products

VendorProductAffected versions
ZshZsh
before 5.8.1
FedoraprojectFedora
Versions 34, 35
DebianDebian Linux
Versions 9.0, 10.0, 11.0
AppleMac Os X
from 10.15 before 10.15.7
Version 10.15.7
AppleMacos
from 11.0 before 11.6.6
from 12.0.0 before 12.4

References