CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2021 · Zsh

CVE-2021-45444
Zsh vulnerability

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

Zsh, Fedora, Debian Linux, Mac Os X, Macos. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Zsh runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Set the orderSystems that can be reached from the internet come first, then the rest.

References

More vulnerabilities in Zsh products

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.