Releases6
Frequency1 year 3 months
Last Release
Downloads117
Zsh interpreter and parser in Rust

CVE History

CVEAffectedPublishedCVSS v3CVSS v2
< 5.8.17.8 HIGH5.1 MEDIUM

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.

< 5.87.8 HIGH7.2 HIGH

In Zsh before 5.8, attackers able to execute commands can regain privileges dropped by the --no-PRIVILEGED option. Zsh fails to overwrite the saved uid, so the original privileges can be restored by executing MODULE_PATH=/dir/with/module zmodload with a module that calls setuid().