VDB
CVE-2021-45444
CVE-2021-45444
PUBLISHED
Reported by mitre · Published February 13, 2022
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| macos | apple | 12.4, 11.6.6 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| amazon:2023 | zsh-html | 0 |
| amazon:2 | zsh | 0 |
| amazon:2023 | zsh | 0 |
| amazon:2 | zsh-html | 0 |
| alpine | zsh | 0 |
| n/a | n/a | * |
Timeline
- Feb 13, 2022 EPSS Score (30 in total, the first dated here)
- Feb 13, 2022 CVE Published
- Feb 14, 2022 PoC Published
- Mar 10, 2026 Distribution Patch (3 in total, the first dated here)
- Mar 10, 2026 Security Advisory (6 in total, the first dated here)
- Jul 16, 2026 Coalition ESS Score
- Sep 20, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-45444
vulnetix vdb fixes CVE-2021-45444
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-45444/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- x_refsource_MISC
- FEDORA-2022-adf0c6d196 vendor-advisoryx_refsource_FEDORA
- DSA-5078 vendor-advisoryx_refsource_DEBIAN
- [debian-lts-announce] 20220218 [SECURITY] [DLA 2926-1] zsh security update mailing-listx_refsource_MLIST
- FEDORA-2022-0a06987c3c vendor-advisoryx_refsource_FEDORA
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- 20220516 APPLE-SA-2022-05-16-4 Security Update 2022-004 Catalina mailing-listx_refsource_FULLDISC
- 20220516 APPLE-SA-2022-05-16-3 macOS Big Sur 11.6.6 mailing-listx_refsource_FULLDISC
- 20220516 APPLE-SA-2022-05-16-2 macOS Monterey 12.4 mailing-listx_refsource_FULLDISC