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.
Published: 2022-02-13
Score: 7.8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

No analysis available yet.

Remediation

No remediation available yet.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-2926-1 zsh security update
Debian DSA Debian DSA DSA-5078-1 zsh security update
EUVD EUVD EUVD-2021-32215 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.
Ubuntu USN Ubuntu USN USN-5325-1 Zsh vulnerabilities
History

Sat, 12 Jul 2025 13:45:00 +0000

Type Values Removed Values Added
Metrics epss

{'score': 0.00085}

epss

{'score': 0.00094}


Subscriptions

Apple Mac Os X Macos
Debian Debian Linux
Fedoraproject Fedora
Redhat Enterprise Linux
Zsh Zsh
cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-08-04T04:39:20.752Z

Reserved: 2021-12-21T00:00:00.000Z

Link: CVE-2021-45444

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2022-02-14T12:15:15.750

Modified: 2024-11-21T06:32:13.110

Link: CVE-2021-45444

cve-icon Redhat

Severity : Moderate

Publid Date: 2022-02-12T00:00:00Z

Links: CVE-2021-45444 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses