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

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2022-02-13T05:32:21

Updated: 2024-08-04T04:39:20.752Z

Reserved: 2021-12-21T00:00:00

Link: CVE-2021-45444

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2022-02-14T12:15:15.750

Modified: 2023-11-07T03:39:50.397

Link: CVE-2021-45444

cve-icon Redhat

Severity : Moderate

Publid Date: 2022-02-12T00:00:00Z

Links: CVE-2021-45444 - Bugzilla