Rapid7 Vulnerability & Exploit Database

Amazon Linux AMI 2: CVE-2021-45444: Security patch for zsh (ALAS-2022-1757)

Free InsightVM Trial No Credit Card Necessary
Watch Demo See how it all works
Back to Search

Amazon Linux AMI 2: CVE-2021-45444: Security patch for zsh (ALAS-2022-1757)

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

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)

  • amazon-linux-ami-2-upgrade-zsh
  • amazon-linux-ami-2-upgrade-zsh-debuginfo
  • amazon-linux-ami-2-upgrade-zsh-html

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

;