Rapid7 Vulnerability & Exploit Database

Ubuntu: USN-5325-1 (CVE-2021-45444): Zsh vulnerabilities

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

Ubuntu: USN-5325-1 (CVE-2021-45444): Zsh vulnerabilities

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

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)

  • ubuntu-upgrade-zsh
  • ubuntu-upgrade-zsh-static

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

;