Rapid7 Vulnerability & Exploit Database

FreeBSD: VID-D923FB0C-8C2F-11EC-AA85-0800270512F4 (CVE-2021-45444): zsh -- Arbitrary command execution vulnerability

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

FreeBSD: VID-D923FB0C-8C2F-11EC-AA85-0800270512F4 (CVE-2021-45444): zsh -- Arbitrary command execution vulnerability

Severity
5
CVSS
(AV:N/AC:H/Au:N/C:P/I:P/A:P)
Published
02/12/2022
Created
11/08/2022
Added
11/04/2022
Modified
11/04/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)

  • freebsd-upgrade-package-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

;