Alerts This Week
Warning Icon 1 692
Alerts This Week
Warning Icon 1 692

Mageia: 2022-0073 Moderate: zsh Code Execution via PROMPT_SUBST

mageia
Calendar Grey February 17, 2022
Dist Mageia Esm H88
Mageia has released a security advisory about a serious zsh vulnerability that may allow unauthorized code execution due to misconfigured prompts. Read more for 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

Summary

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. (CVE-2021-45444)

References

- https://bugs.mageia.org/show_bug.cgi?id=30057

- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/thread/2P3LPMGENEHKDWFO4MWMZSZL6G7Y4CV7/

-

- https://www.cve.org/CVERecord?id=CVE-2021-45444

Resolution

SRPMS

- 8/core/zsh-5.8.1-1.mga8

Severity
important
Lowest
Low
Medium
High
Critical

Publication date: 18 Feb 2022
URL: https://advisories.mageia.org/MGASA-2022-0073.html
Type: security
CVE: CVE-2021-45444

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.

Related News

Your message here