Vulnerability Monitor

The vendors, products, and vulnerabilities you care about

CVE-2021-45444


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.


Published

2022-02-14T12:15:15.750

Last Modified

2024-11-21T06:32:13.110

Status

Modified

Source

[email protected]

Severity

CVSSv3.1: 7.8 (HIGH)

CVSSv2 Vector

AV:N/AC:H/Au:N/C:P/I:P/A:P

  • Access Vector: NETWORK
  • Access Complexity: HIGH
  • Authentication: NONE
  • Confidentiality Impact: PARTIAL
  • Integrity Impact: PARTIAL
  • Availability Impact: PARTIAL
Exploitability Score

4.9

Impact Score

6.4

Weaknesses
  • Type: Primary
    NVD-CWE-noinfo

Affected Vendors & Products
Type Vendor Product Version/Range Vulnerable?
Application zsh zsh < 5.8.1 Yes
Operating System fedoraproject fedora 34 Yes
Operating System fedoraproject fedora 35 Yes
Operating System debian debian_linux 9.0 Yes
Operating System debian debian_linux 10.0 Yes
Operating System debian debian_linux 11.0 Yes
Operating System apple mac_os_x < 10.15.7 Yes
Operating System apple mac_os_x 10.15.7 Yes
Operating System apple mac_os_x 10.15.7 Yes
Operating System apple mac_os_x 10.15.7 Yes
Operating System apple mac_os_x 10.15.7 Yes
Operating System apple mac_os_x 10.15.7 Yes
Operating System apple mac_os_x 10.15.7 Yes
Operating System apple mac_os_x 10.15.7 Yes
Operating System apple mac_os_x 10.15.7 Yes
Operating System apple mac_os_x 10.15.7 Yes
Operating System apple mac_os_x 10.15.7 Yes
Operating System apple mac_os_x 10.15.7 Yes
Operating System apple mac_os_x 10.15.7 Yes
Operating System apple mac_os_x 10.15.7 Yes
Operating System apple macos < 11.6.6 Yes
Operating System apple macos < 12.4 Yes

References