CVE-2021-45444

High

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.

SeverityHigh
CVSS7.8
Exploit probability—
ProductZsh
PublishedFeb 14, 2022
First seenFeb 14, 2022

How to fix

Affected products

ProductAffected versionsFixed in
zsh zshv < 5.8.15.8.1
fedoraproject fedora34, 35—
debian debian_linux9.0, 10.0, 11.0—
apple mac_os_x10.15 ≤ v < 10.15.7, 10.15.710.15.7
apple macos11.0 ≤ v < 11.6.6, 12.0.0 ≤ v < 12.411.6.6, 12.4

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.