Rapid7 Vulnerability & Exploit Database

Gentoo Linux: CVE-2021-45444: Zsh: Prompt Expansion Vulnerability

Free InsightVM Trial No Credit Card Necessary
2024 Attack Intel Report Latest research by Rapid7 Labs
Back to Search

Gentoo Linux: CVE-2021-45444: Zsh: Prompt Expansion Vulnerability

Severity
5
CVSS
(AV:N/AC:H/Au:N/C:P/I:P/A:P)
Published
02/14/2022
Created
07/02/2024
Added
07/03/2024
Modified
07/03/2024

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.

Solution(s)

  • gentoo-linux-upgrade-app-shells-zsh

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;