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.

PackageEcosystemFixed in
macosapple12.4, 11.6.6

Affected products

VendorProductVersions
n/an/an/a
amazon:2023zsh-html0
amazon:2zsh0
amazon:2023zsh0
amazon:2zsh-html0
alpinezsh0
n/an/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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›