CVE-2021-45444
zsh - security update
7.8
HIGH
CVSS 3.1
EPSS 0.15%
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.
How to fix CVE-2021-45444
To remediate CVE-2021-45444, upgrade the affected package to a fixed version below.
- Alpine/zsh—upgrade to 5.8.1-r0 or later
- —upgrade to 5.8-6+deb11u1 or later
- —upgrade to 5.3.1-4+deb9u5 or later
- —upgrade to 5.7.1-1+deb10u1 or later
Is CVE-2021-45444 being exploited?
Low — EPSS is 0.1%, meaning exploitation activity has not been observed at scale.
Affected packages (4)
- from 0, < 5.8.1-r0
- from 0, < 5.8-6+deb11u1
- from 0, < 5.3.1-4+deb9u5
- from 0, < 5.7.1-1+deb10u1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |