CVE-2021-45444

Related Vulnerabilities: 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 expansion.

Description

The MITRE CVE dictionary describes this issue as:

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.

Additional Information

  • Bugzilla 2054089: CVE-2021-45444 zsh: Prompt expansion vulnerability
  • FAQ: Frequently asked questions about CVE-2021-45444