HIGH 7.8 Microsoft

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.

Microsoft Security Update 2022-Feb: 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

References

Published: 2022-02-08 · Source: Microsoft · Feed updated: 2026-09-07
This high severity vulnerability with a CVSS score of 7.8 was published on 2022-02-08 via Microsoft. Affected: cm1 zsh 5.8.1-1 on CBL Mariner 1.0, cbl2 zsh 5.9-1 on CBL Mariner 2.0.
vulnfeed aggregates 10539 vulnerabilities from NVD, CISA KEV, Ubuntu, Debian, Red Hat, Kubernetes, Exploit-DB, OSS-Security, GitHub and OpenStack — updated every 4 hours.