Ojuju Advisory
DEBIAN-CVE-2021-45444 Also known as: CVE-2021-45444
Summary The record has no summary.
Details 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.
Severity High Basis: CVSS v3 score 7.8, vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Dates Published 2022-02-14 12:15 UTC Modified 2026-10-23 18:04 UTC
Affected packages and fixes zsh
Debian packages (deb) · Debian 12
Affected introduced 0, fixed 5.8.1-1 (ecosystem)
Fixed versions 5.8.1-1
Fix This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
zsh
Debian packages (deb) · Debian 13
Affected introduced 0, fixed 5.8.1-1 (ecosystem)
Fixed versions 5.8.1-1
Fix This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
zsh
Debian packages (deb) · Debian 14
Affected introduced 0, fixed 5.8.1-1 (ecosystem)
Fixed versions 5.8.1-1
Fix This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check →